Re: off topic - hope somebody can help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



after you yank the cable, what happens if you run mii-tool ethX .  Does it
say that the link is dead? If so, what I do is run mii-tool in monitor
mode and just look for a "link down" statement in syslog. When it arrives,
I down the interface with no cable.  Not the most elegant, but it has
worked for me for some time now.


-- 
       Jason
www.jasonandjessi.com
It gimme the jibblies

On Thu, 10 Jun 2004, Alexis wrote:

> Does anybody knows why ethernet interfaces stay's up even when i unplug the
> ethernet cable?
>
> I have 2 isp connected to a box, with a default route pointing both of them one
> using a higer weight to use it as backup conection (using iproute2). Ok, if i
> unplug the ethernet cable of eth of isp1 , the ethernet card stays up and nobody
> can make any connection. But, if i "really" force the interface shutdown of
> provider1 (doing ifdown eth1) the traffic goes instantly trough provider2.
>
> Any idea how can i tear down an interface when i unplug the ethernet cable?
>
> Thanks in advance.
>
>
>


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux