Heeeeeeelp with Routing Issue

Roger Grosswiler roger at gwch.net
Tue Jan 25 08:19:02 UTC 2005


Hi,

I have a small linux-router with 3 nics builtin (eth2 has been built-in 
additionally 2 days before):

eth0      Link encap:Ethernet  HWaddr 00:04:5A:65:F8:B7
           inet addr:10.0.0.2  Bcast:10.255.255.255  Mask:255.0.0.0
           RX bytes:558482 (545.3 Kb)  TX bytes:512763 (500.7 Kb)
           Interrupt:10 Base address:0x7400

eth1      Link encap:Ethernet  HWaddr 00:08:A1:6F:26:D7
           inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
           RX bytes:732893 (715.7 Kb)  TX bytes:347104 (338.9 Kb)


eth2      Link encap:Ethernet  HWaddr 00:40:F4:76:BF:89
           inet addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0
           RX bytes:717996 (701.1 Kb)  TX bytes:941933 (919.8 Kb)


my routing table looks as follows:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.2.0     *           255.255.255.0   U     0      0        0 eth2
192.168.0.0     *           255.255.255.0   U     0      0        0 eth1
10.0.0.0        *           255.0.0.0       U     0      0        0 eth0
default         192.168.0.1 0.0.0.0         UG    0      0        0 eth1


from this machine, i get without any problems in net 192.168.0.0 and 
192.168.2.0 and 10.0.0.0. But: I cannot get from 10.0.0.0 to the others 
(except if i am on the routing machine.

I set /proc/sys/net/ipv4/ip_forward to 1, so routing should be working 
fine. But somehow it doesn't. My firewall is deactivated for the moment.

Traceroute from 10.0.0.1 to 10.0.0.2 is even not working (* * *).  Ping 
-b 10.0.0.0 from 10.0.0.1 even doesn't show up 10.0.0.2....

If i ever get this thing up and running, i think i gonna drink messy 
beer and get some more sleep than 3 hours by night :-)

Thanks in advance for your help
Roger




More information about the fedora-list mailing list