On Wed, 10 Jul 2002, Ximo Llacer wrote: > I have 2 if : > > eth0=192.168.200.11 > eth1=192.168.2.189 > > I have ip_forward = yes in /etc/networks. > > My route table is: > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > Lan A > 192.168.2.0 192.168.2.189 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 > Lan B > 192.168.200.0 192.168.200.11 255.255.255.0 UG 0 0 0 eth0 > 192.168.200.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 > Router > 0.0.0.0 192.168.200.17 0.0.0.0 UG 0 0 0 eth0 > > > Host A = 192.168.2.100 GW=192.168.2.189 > Host B = 192.168.200.100 GW=192.168.200.11 > > I can't to access to internet from Host A but Host B yes. > > Is correct this route table ? > > Can be that the linux 7.3 is protected anyway ? > > When I filter with iptraf it shows unreachable port.
When you say "I have 2 if" and list the addresses eth0=192.168.200.11 and eth1=192.168.2.189, this must be another host (C?) that you are intending to use as an internal router to the internet router at 192.168.200.17. Right? I see two problems with the information you supplied. 1) Delete the following lines from your route table--they are unnecessary, and might actually be your main problem: 192.168.2.0 192.168.2.189 255.255.255.0 UG 0 0 0 eth1 192.168.200.0 192.168.200.11 255.255.255.0 UG 0 0 0 eth0 2) The (apparently default) gateway of 192.168.200.11 for host B means that B must send to router C, which then must resend _on the same LAN_ to 192.168.200.17. This makes C a one-armed router, unnecessarily routing packets that could go directly to the correct router. The default gateway for host B should be 192.168.200.17. A more consistent configuration for hosts A and B, would be something like this: Host A (192.168.2.100): 192.168.200.0 gw 192.168.2.189 (network route through host C) 0.0.0.0 gw 192.168.200.17 (default route to internet router) Host B (192.168.200.100): 192.168.2.0 gw 192.168.200.11 (network route through host C) 0.0.0.0 gw 192.168.200.17 (default route to internet router) For the return path, the internet router must have a network route: 192.168.2.0 gw 192.168.200.11 (through host C) Jim Cunning _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list