On Tuesday 19 June 2001 00:46, you wrote:
> 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


Hi,

I have a problem with connecting windows with the alias ip address. 
To add the alias I used the following command: "ifconfig eth0:0 192.168.0.1" .
Windows is configured as ip:192.168.0.2 and netmask:255.255.255.0
Running ifconfig shows me that for eth0:0 the netmask is also 255.255.255.0.

My problem is that I even can't ping 192.168.0.1 from windows (and vice 
versa). So that way networking in windows is not possible. When I use a real 
ip address for windows (though someone in our subnet won't be happy when I do 
this since there's no free ip address) I have no problems. Using a real ip 
address I can even use 192.168.0.1 as gateway.

Does I have forgotten something or did I configure something wrong? Could you 
send your output from ifconfig, please?

Thanks in advance,

Bernd

PS:  Using the way Jonathan described my linux box always hardly crashes when 
I run windows and the tap0 device is enabled.
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to