That sounds right.  I only use aliasing if I only have one ethernet device
that's my outside line.

Michael


On Tue, 19 Jun 2001, Nigel & Michelle Cunningham wrote:

> I didn't even do the aliasing part (perhaps it's done automatically?).  I
> just took my RH7.1 installation and added Win4Lin.  I run a DHCP server on
> my two ethernet cards, and Windows automatically obtained an IP address
> using that.  Of course I did have to do the iptables -t NAT -a
> POSTROUTING -o ppp0 -j MASQUERADE (2.4 equiv to ipchains -MASQ) as well.
>
> Regards,
>
> Nigel
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael L
> Torrie
> Sent: Tuesday, 19 June 2001 08:46
> To: [EMAIL PROTECTED]
> Subject: Re: [Win4Lin-users] [HOWTO] Success with VNET and single IP
> address
>
>
> What's the purpose of the ethertap device?  I've done this type of setup
> many times, even with win4lin 3.0 and vmware and I've never done the
> ethertap.
>
> All I did on my machine at work was to set up an alias on eth0:0 to
> 192.168.0.1. (eth0 was a real ip address)  Then I configured the
> vmware/win4lin(either works) to be on that subnet and set 192.168.0.1 as
> the default gateway for windows.  I had to tell it where to go for dns as
> well.  Then I simply turned on forwarding (echo "1" >
> /proc/sys/net/ipv4/ip_forwarding), and added the following ipchains rule:
> ipchains -A forward -s 192.168.0.0/255.255.255.0 -d 0.0.0.0 -j MASQ
>
> and all works well.
>
> On my home machine, ppp0 is the internet, so I don't need any aliases.
> Just set my hosts's ip for eth0 to be everyone's gateway.
>
> cheers,
>
> Michael
>
> _______________________________________________
> Win4Lin-users mailing list
> [EMAIL PROTECTED]
> https://lists.netraverse.com/mailman/listinfo/win4lin-users
>

_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to