[LARTC] Flushing Dead Links

Linux Advanced Routing and Traffic Control

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

 



hi, I am trying to maintain a connection to the internet through my modem and a connection through network.
I route most my traffic through the modem and only select traffice through the fast connection.. handy for 
controlling users that want full access to the net :)

i run from my ppp startup a script that adds in this as my gateway

default  proto static 
        nexthop via 260.74.283.1  dev eth0 weight 1
        nexthop via 5.4.48.10  dev ppp0 weight 11

it works fine but when the connection drops it puts the ppp0 gw as a deadlink and when it redials it 
still sees it as a dead link the only way i can make it work again is to reboot.. 
how can i flush this dead link ?

When ppp0 drops
default  proto static 
        nexthop via 250.74.283.1  dev eth0 weight 1
        nexthop via 5.4.48.10  dev if40 weight 11 dead

When it redials again
default  proto static 
        nexthop via 260.74.283.1  dev eth0 weight 1
        nexthop via 5.4.48.10  dev if40 weight 11 dead

-regards mok2





[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux