Heeeeeeelp with Routing Issue

Roger Grosswiler roger at gwch.net
Tue Jan 25 12:29:58 UTC 2005


Paul Howarth schrieb:
> On Tue, 2005-01-25 at 09:19 +0100, Roger Grosswiler wrote:
> 
>>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....
> 
> 
> Are you sure the client 10.0.0.1 is configured with:
> 
> IP = 10.0.0.1
> Netmask = 255.0.0.0
> Broadcast = 10.255.255.255
> Gateway = 10.0.0.2
> 
> Paul.

Here Data from 10.0.0.1:

eth0      Protokoll:Ethernet  Hardware Adresse 00:08:C7:4C:3B:C6
           inet Adresse:10.0.0.1  Bcast:10.255.255.255  Maske:255.0.0.0
           inet6 Adresse: fe80::208:c7ff:fe4c:3bc6/64 
Gültigkeitsbereich:Verbindung
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:38525 errors:10 dropped:0 overruns:0 frame:10
           TX packets:518814 errors:2 dropped:0 overruns:0 carrier:2
           Kollisionen:0 Sendewarteschlangenlänge:1000
           RX bytes:2898974 (2.7 Mb)  TX bytes:766762700 (731.2 Mb)
           Interrupt:15 Basisadresse:0x2800

Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use 
Iface
169.254.0.0     *        255.255.0.0     U     0      0        0 eth0
10.0.0.0        *        255.0.0.0       U     0      0        0 eth0
default         10.0.0.2 0.0.0.0         UG    0      0        0 eth0

Roger




More information about the fedora-list mailing list