IP masq'ing bug on a sparc IPX w/ 1 net card

From: Chester Bochan (forque@apollo.gti.net)
Date: Sat May 13 2000 - 22:17:05 EST


I'm getting spurious host redirects from my masquerading server to the
masqing clients, redirecting it to the masquerading server's uplink.
The server is a sparc IPX running redhat 6.1 with the kernel patched to
2.2.14 (with all the appropriate modules loaded). The clients are pentium
II's running RedHat 6.2. The IPX is hooked into a hub along with the
cablemodem (uplink) and the other machines on the network. eth0 gets set
to an IP from the cablemodem (on the hub) with dhcp, i then alias eth0 to
192.168.0.1 and set up masqing.

ipchains settings are as follows:

ipchains -P forward DENY
ipchains -A forward -s 192.168.0.0/16 -j MASQ

Now the odd thing is, its working perfectly fine for the one windows box
on the network. IRC, ftp, anything works flawlessly... but the linux boxes
keep getting the redirects, making the packets still go out through the
masqing server, but the destination machine on the internet sees the
packets coming from "192.168.0.<linuxboxip>" instead of coming from the
cablemodem. (so the returning packets get lost). Any ideas?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:23 EST