Re: Hotplug and Multipath routes = lost route

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

 



On Tue, 24 Jul 2007 04:21:18 +0200
Bernd Eckenfels <ecki@xxxxxxxxxxxx> wrote:

> Yes, if the interface is not deleted but marked as unreachable (I
> think clearing IFF_RUNNING will work) or if the gateway is marked as
> unreachable in the neighbour cache, the (Existing) route wont be used.

	How can I mark the interface as unreachable? I tried to use
"ip" command, but couldn't understand the syntax to mark a interface as
unreachable.

> However some PPP and hotplug software does not work very will like
> that. Why do you mind?

	That's the problem. The only solution would be a patch like
this one:

http://www.ssi.bg/~ja/

http://www.ssi.bg/~ja/dgd-usage.txt

"- when a device goes down all paths in static routes that use the
device are  marked as dead. The current  kernel versions remove all
routes with all paths marked dead. In our additions we don't allow it".

	So it would be much better to just mark the route as dead
instead of removing it completety. This would solve my problem. But I
don't understand why this wasn't merged in the kernel.

-- 
Linux 2.6.22: Holy Dancing Manatees, Batman!
http://www.lastfm.pt/user/danielfraga
http://u-br.net

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux