[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

routing question




I have a question about setting up routing.  I just bought a 100baseTX hub
and installed a second network card in my Linux box.  The network is setup
like this:

taz 192.168.1.103  10baseT card
    192.168.2.1  100base card

reaper 192.168.2.105 100base
harley 192.168.2.104 100base
pantry 192.168.1.1 10base card with modem, I use this machine to ppp.

I want taz to be my gateway between the two network segments.

I have harley and reaper pointed to 192.168.2.1 as a gateway.

from reaper I can ping 192.168.2.1.  I can also ping 192.168.1.103.  I can
not ping any other machine on the 192.168.1 segment.

from taz I can ping any machine on the network.

I did a 
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1
but this makes no difference.  If I do a 
route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.1
I can no longer get to 192.168.2.1 so this must be incorrect.

I am pretty sure the kernel is compiled with ip forwarding enabled.

I have changed /etc/sysconfig/network to have 
forward_IPV4=true

I don't know off hand if there is something I am missing here.  Any
suggestions?

--ja



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]