netdev
[Top] [All Lists]

Re: Kernel Network Design Problem..

To: Michael Schoen <schoen@xxxxxxxxxx>
Subject: Re: Kernel Network Design Problem..
From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Date: Sat, 24 Mar 2001 20:09:57 +1100
Cc: netdev@xxxxxxxxxxx
In-reply-to: Your message of "Wed, 21 Mar 2001 16:02:15 BST." <20010321160215.A14520@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
In message <20010321160215.A14520@xxxxxxxxxx> you write:
> I used the following IPs:
> CLIENT: eth0: 192.168.1.2
> SERVER: eth0: 192.168.1.1
>         eth1: 10.10.10.1
> 
> CLIENT AND SERVER are physically connected by a Cross-Cable, there´s
> no cable connected to eth1 at all.
> 
> routing-entry on       | routing on             | ifconfig eth1 | SERVER 
> responding a
> CLIENT                 | SERVER                 | on SERVER     | ping* 
> 10.10.10.1
>                        |                        |               | from the 
> CLIENT
> ----------------------------------------------------------------------------------
> 192.168.1.0/24 (eth0)  | 192.168.1.0/24 (eth0)  | down          | yes        

I think you need to flush the route cache when you down eth1:
        echo 1 > /proc/sys/net/ipv4/route/flush

If this is true, I'm surprised that ifconfig doesn't do it itself.

Rusty.
--
Premature optmztion is rt of all evl. --DK

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Kernel Network Design Problem.., Rusty Russell <=