Newbie question about static routing

From: Frank Millman (frank_at_chagford.com)
Date: 10/22/05


Date: 21 Oct 2005 23:48:46 -0700

Hi all

I am trying to understand static routing. I have tried to set up the
simplest of scenarios, and I cannot get it to work. Either I am missing
something obvious, or I have misunderstood how it is supposed to work.
This is what I tried.

Host A - an FC4 machine with 2 network cards - eth0 is 10.0.0.1, eth1
is 192.168.1.1
Host B - eth0 is 192.168.1.2, gateway is 192.168.1.1
Host C - eth0 is 10.0.0.2, gateway is 10.0.0.1

Routing table on A -

Destination Gateway Genmask Flags Use Iface
10.0.0.0 * 255.255.255.0 U eth0
192.168.1.0 * 255.255.255.0 U eth1
169.245.0.0 * 255.255.0.0 U eth1
default 192.168.1.1 0.0.0.0 UG eth1

>>From A, I can ping 10.0.0.2 and 192.168.1.2
>>From B, I can ping 10.0.0.1 and 192.168.1.1
>>From C, I can ping 10.0.0.1 and 192.168.1.1

BUT

>>From B, I cannot ping 10.0.0.2
>>From C, I cannot ping 192.168.1.2

Please can someone tell me what I am doing wrong.

Many thanks

Frank Millman



Relevant Pages

  • Re: Newbie question about static routing
    ... > I am trying to understand static routing. ... > simplest of scenarios, and I cannot get it to work. ... >> From C, I cannot ping 192.168.1.2 ...
    (comp.os.linux.setup)
  • Re: Newbie question about static routing
    ... >I am trying to understand static routing. ... >simplest of scenarios, and I cannot get it to work. ... A is the router, needs no gateway, the ... gateway needs to be defined on machines tell them how to ...
    (comp.os.linux.setup)