[plug] Routing and two ethernat adapters.

Lindsay Allen allen at cbcfreo.wa.edu.au
Thu Sep 24 10:46:29 WST 1998


Hi Tony,

I don't have anything running a 2.0.x kernel here at the moment so I can't
check, but I thought that "/proc/sys/net/ipv4/ip_forward = 1" was just
applicable to 2.1.x, in which case you will need ipchains. 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen   <allen at cleo.murdoch.edu.au>  Perth, Western Australia
voice +61 8 316 2486    modem +61 8 364-9832      32S, 116E vk6lj
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

On Thu, 24 Sep 1998, Anthony J. Breeds-Taurima wrote:

> 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