[Bug 196361] Constrain IPv6 routes to each FIB (Consistent with IPv4 route behaviour)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 29 02:33:55 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196361

--- Comment #11 from jhujhiti at adjectivism.org ---
Created attachment 178370
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178370&action=edit
inet6 test cases

(In reply to Alan Somers from comment #10)

Hi Alan,

Here are the test cases. I've created inet6 variants of
loopback_and_network_routes_on_nondefault_fib,
default_route_with_multiple_fibs_on_same_subnet, and
subnet_route_with_multiple_fibs_on_same_subnet.

Regarding same_ip_multiple_ifaces_fib0: should this even work for IPv4? To me,
it seems invalid to allow conflicting local addresses in the same FIB. In any
case, neither current HEAD nor my patch allow this situation for inet6. The
second address addition will fail with EEXIST. However, assigning the same
address to interfaces in different FIBs does make sense and work, so I've
created an inet6 variant of same_ip_multiple_ifaces instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list