THANKS FOR YOUR REPLY! :)
the version I used can be found here:
http://fxr.watson.org/fxr/source/net/radix.c?v=DFBSD
I'm not use the rt_maskedcopy, I 'build' the key by my rdx_build_rtentry.
Maybe there is some bug in my rdx_build_rtentry? but I can't find it!
struct rtsockaddr {
u_char
Recently, I ran into a problem in which IPv4 works fine but IPv6 doesn't.
I use a trick to "fail-over" NICs via ifconfig down the bad link and then
ifconfig up the good link. Both NICs have the same IP. The 2nd IP is
assigned when the 1st NIC is down. This works fine with IPv4 since on down
i
On 18.05.2011 19:15, Jack Shang(hongzhang) wrote:
> I do these by call the radix routine such as rn_addroute and rn_delete
> directly.
Okay. Can you provide FreeBSD version and a piece of code triggering
such a situation?
IMHO radix assumes destination address to have host bits cleared, code in
rt
On 18.05.2011 16:31, JACK wrote:
After inserting the following IPv4 routers:
0x360AD0A2/30
0x360ADFEC/20
0x360AD082/30
I try to delete the above routes, when delete the second
route(0x360ADFEC/20), the operation fail.
Can you specify exact commands you are issuing to add/remove routes?
(or "ro
Is anyone here?
--
View this message in context:
http://freebsd.1045724.n5.nabble.com/Is-it-a-bug-of-RADIX-tp4406316p4406338.html
Sent from the freebsd-net mailing list archive at Nabble.com.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd
After inserting the following IPv4 routers:
0x360AD0A2/30
0x360ADFEC/20
0x360AD082/30
I try to delete the above routes, when delete the second
route(0x360ADFEC/20), the operation fail.
struct radix_node * rn_delete ()
{
...
/*
* Delete our route from mask lists.
*/
After inserting the following IPv4 routers:
0x360AD0A2/30
0x360ADFEC/20
0x360AD082/30
I try to delete the above routes, when delete the second
route(0x360ADFEC/20), the operation fail.
struct radix_node * rn_delete ()
{
...
/*
* Delete our route from mask lists.
*/
On Tue, 17 May 2011, Hiroki Sato wrote:
Charles Sprickman wrote
in :
sp> First, the easy one. For IPv6 aliases, what is the proper subnet?
Normally it is a /64. See also Section 2.5.4 in RFC 4291.
My understanding was that a /64 was a common subnet since it's the minimum
size required f
Summary:
* ifconfig FAILs if route exists when adding an alias
* ifconfig SILENTLY adds the IP even when route exists when creating
virtual interaces
* DESIRED functionality: purge routes to make way for IPs with ifconfig
* Less desired: stop the SILENT adding of IPs as that makes for a
bo