Networking help

pll at lanminds.com pll at lanminds.com
Tue Dec 17 10:09:00 EST 2002


In a message dated: Tue, 17 Dec 2002 09:33:55 EST
Bob Bell said:

>> However, let's assume 'T' did exist.  So what?  IMO, the icmp packets
>> should never have gone to 'T' anyway.  Shouldn't have gone back out
>> the interface they came in on?
>
>    I was going to reply, but I think Ben already answered this adequately:
>
>  No!
>
>  ****** IP routing is a stateless operation. ******

I was about to state that there was a better route for the echo 
reply, that being the interface the packet came in on.  Then it 
dawned on me why I persist in believing this.  I was ignoring the 
fact that the echo request was coming from a completely different 
network than either of the configured interfaces was connected to.

My mistake was thinking that the request came in on the 10.241.38.0 
interface (eth1), and therefore, given a routing table of:

  Kernel IP routing table
  Destination  Gateway       Genmask        Flags  MSS Window irtt Iface
  10.241.38.0  0.0.0.0       255.255.255.0  U      40  0        0  eth1
  192.168.10.0 0.0.0.0       255.255.255.0  U      40  0        0  eth0
  0.0.0.0      10.241.38.1   0.0.0.0        UG     40  0        0  eth1
  0.0.0.0      192.168.10.1  0.0.0.0        UG     40  0        0  eth0

that it would match the first route for 10.241.38.0 and go out eth1.  
However, the reply wasn't destined for this subnet at all, and 
therefore had to match one of the default 0.0.0.0 entries (which is 
where things probably got all messed up!)
-- 

Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!





More information about the gnhlug-discuss mailing list