Hi Ben Do you have the routing table for 192.168.1.41? The second thing both mach1 and mach2 have the same ip address 192.168.1.40. My guess is mach2 is supposed to have 192.168.1.41.
You will need IP forwarding on all the boxes except mach4 as well. david On Sun, 20 Jan 2002, Ben Logan wrote: > I'm sure this is a very simple routing issue to someone. The > frustrating thing is that I had it figured out the other day, but then > my hard disk crashed today. Now I can't get it right again. > > I have a home network of 4 computers. mach1-mach4. It is a 10Base-T > ethernet LAN, and I don't have a hub so here's how I have it set up: > > ********** mach1 ********* > Interfaces: > eth0 == 192.168.1.40 > Routing table: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.3.0 192.168.1.41 255.255.255.0 UG 0 0 0 eth0 > 192.168.2.0 192.168.1.41 255.255.255.0 UG 0 0 0 eth0 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo > > Note: > The reason for the two gateways instead of having a default gateway of > 192.168.1.41 is that this machine also has a dialup ppp connection to > the 'net. Therefore, when ppp0 is up, the default gateway is my ISP. > > *********** mach2 ********* > Interfaces: eth0 == 192.168.1.40; eth1 == 192.168.2.1 > Routing table: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.3.0 192.168.2.2 255.255.255.0 UG 0 0 0 eth1 > 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo > 0.0.0.0 192.168.1.40 0.0.0.0 UG 0 0 0 eth0 > > *********** mach3 ********** > Interfaces: eth0 == 192.168.2.2; eth1 == 192.168.3.1 > Routing table: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 > 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo > 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0 > > ************ mach4 ********* > Interfaces: eth0 == 192.168.3.2 > Routing table: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.3.0 * 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo > 0.0.0.0 192.168.3.1 0.0.0.0 UG 0 0 0 eth0 > > > mach1, mach2, and mach3 all have IP Forwarding enabled (in > /etc/sysctl.conf). > > From mach1 and mach2, I can ping all addresses except 192.168.3.2. > From mach3, I can ping every address including 192.168.3.2. > From mach4, I can only ping 192.168.3.1 and 192.168.3.2 (of course, > since that is mach4). > > If I try to ping 192.168.3.2 from mach1 or mach2, I don't get any error > messages--it just gets 100% packet loss. > > If I try to ping anything outside of the 192.168.3.0 network from mach4, > I get a "Network unreachable" error. > > I would greatly appreciate any help. The thing that has changed since I > had it working (yesterday) is mach3. I know I'm forgetting something in > mach3's routing table but I don't see what. Looks like everything > should work to me. > > mach{1,2,3} are running Redhat 7.1, and mach4 is running muLinux. > > Thanks, > Ben > > -- > Ben Logan: ben at wblogan dot net > OpenPGP Key KeyID: A1ADD1F0 > > Bing's Rule: > Don't try to stem the tide -- move the beach. > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list