Re: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
- From: "Bruce M. Simpson" <bms@xxxxxxxxxxx>
- Date: Fri, 16 Mar 2007 14:11:26 +0000
Anton Yuzhaninov wrote:
Thursday, March 15, 2007, 7:30:54 PM, Andre Oppermann wrote:We are obstructed by the current radix trie code only matching on destination and prefix. Adding 'administrative distance' to the FTE match is something which should seriously be considered. It is a stepping stone to equal cost multipath and would help in this situation.
AO> IMO when configuring a interface with an IP address and network it should
AO> kick out previous host and/or network routes matching it. Unless those
AO> are from locally configured interfaces, then it should reject the new
AO> attempt.
New route should replace existing one only if it have administrative
distance (in cisco terms) smaller than AD for existing route.
Preference of network from locally configured interface is only
particular case of this general principle.
It does however considerably change the semantics of the existing routing socket and its consumers would need to be updated to reflect that fact.
As I hinted at in my original response: it seems acceptable that ifconfig'ing an interface into the system should be able to clobber the overlapping routes in the meantime, but only until the architecture is fixed.
Regards,
BMS
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- References:
- Re: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
- From: Gleb Smirnoff
- Re: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
- From: Bruce M. Simpson
- Re: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
- From: Gleb Smirnoff
- Re: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
- From: Andre Oppermann
- Re[2]: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
- From: Anton Yuzhaninov
- Re: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
- Prev by Date: Re: ether_input question
- Next by Date: Re: ether_input question
- Previous by thread: Re[2]: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
- Next by thread: Re[2]: kern/106722: [net] [patch] ifconfig may not connect an interface to known network
- Index(es):
Relevant Pages
|