[plug] Routing and two ethernat adapters.

Anthony J. Breeds-Taurima tony at cantech.net.au
Thu Sep 24 09:23:26 WST 1998


Hello all,
	Quite frankly I am embarrassed at the simplicity of this question and
the fact I can't make it work BUT I'm stumped.

All machines I'm talking about are plugged into a baystack 350T with vlans
enabled.  I am tring to create 2 lans to 1, lessen which hosts receive which
braodcast packets and 2, setup a decent firewall for squid and ip accounting.

I have a machine P166 running 2.0.35 (RedHat 5.1).  This machine has 2
ethernet adapters, lets call it linuxfw

eth0 is on 203.26.6.0/24 with an ip of 203.26.6.11
eth1 is on 10.10.52.0/22 with an ip of 10.10.52.2

I can sit on linuxfw and ping both networks.  BUT I can use it as a gateway.

It has ip forwarding enabled (/proc/sys/net/ipv4/ip_forward = 1)
and I have tried it with and with out
``ipfwadm -F -a accept -S 10.10.52.0/22 -D 0/0''

If I run a tracroute from a machine ,win95 called win95, on 10.10.52.0 to 
203.26.6.11 it gets there fine BUT if I try to traceroute to 203.26.6.1 it 
fails

Now if I take eth1 down on linuxfw and add an alias on another linux box
,biglinux, I can then ping from 10.10.52.?? to 203.26.6.?? 

So I assume I must have forgotten to enable something in linuxfw's kernel

Can anyone help me ???

Yours Tony.




More information about the plug mailing list