Heeeeeeelp with Routing Issue
Paul Howarth
paul at city-fan.org
Tue Jan 25 08:36:21 UTC 2005
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.
--
Paul Howarth <paul at city-fan.org>
More information about the users
mailing list