veletron2
03-04-2004, 08:59 AM
Hi
My router supports QOS which I am using with my linux box. I only want WAN access to my linux box to be throttled not LAN access. On my router the QOS sits right behind the ethernet port, and so restricts both.
To get the LAN (fullspeed) and WAN (qos) that I want, I added another ethernet card in my linux box this:
eth0: 192.168.20.2
eth1: 192.168.20.3
Now, forget QOS, for the moment. Eth0 is physically disconnected, and eth1 is connected to a windows box via a cross-over cable.
I can ping 192.168.20.3 (eth1 IP) from the windows box as expected, but I can also ping 192.168.20.2 (eth0). There is no physical route to eth0, so why is eth1 responding to a ping to an IP that it knows nothing about??
Is there any way to prevent linux responding to any known IP on any any ethernet port?
I cannot use separate subnets since this would mean multiple VPN tunnels (1 for each subnet) which becomes a pain in the neck.
I am using Mandrake 9.1
Regards
Nigel
My router supports QOS which I am using with my linux box. I only want WAN access to my linux box to be throttled not LAN access. On my router the QOS sits right behind the ethernet port, and so restricts both.
To get the LAN (fullspeed) and WAN (qos) that I want, I added another ethernet card in my linux box this:
eth0: 192.168.20.2
eth1: 192.168.20.3
Now, forget QOS, for the moment. Eth0 is physically disconnected, and eth1 is connected to a windows box via a cross-over cable.
I can ping 192.168.20.3 (eth1 IP) from the windows box as expected, but I can also ping 192.168.20.2 (eth0). There is no physical route to eth0, so why is eth1 responding to a ping to an IP that it knows nothing about??
Is there any way to prevent linux responding to any known IP on any any ethernet port?
I cannot use separate subnets since this would mean multiple VPN tunnels (1 for each subnet) which becomes a pain in the neck.
I am using Mandrake 9.1
Regards
Nigel