setfb not work with ipv6

Julian Elischer julian at elischer.org
Fri May 28 19:37:06 UTC 2010


On 5/27/10 10:07 PM, Vladislav V. Prodan wrote:
> 9.0-CURRENT #0: Sun Apr 11 23:26:21 EEST 2010 amd64
> net.my_fibnum: 0
> net.add_addr_allfibs: 1
> net.fibs: 3
>
> # netstat -rn | grep default
> default XXX.XXX.XXX.254 UGS 0 37594940 tun1
> default 2001:5c0:1400:b::27e8 UGS gif0
>
>
> # setfib 1 netstat -rn | grep default
> default 2001:5c0:1400:b::27e8 UGS gif0
> # setfib 2 netstat -rn | grep default
> default 2001:5c0:1400:b::27e8 UGS gif0
>


you are correct.
IPV6 does not yet support multiple FIBS.
the work is straight forward. basically teh same as done in IPV4
but as I have no IPV6 facility or experience I
am reticent to start it without an IPV6 'partner'.


> # setfib 2 route -n add -inet6 default 2001:470:27:140::1
> route: writing to routing socket: File exists
> add net default: gateway 2001:470:27:140::1: route already in table
>
> # setfib 2 route -n add -inet6 default 2001:470:27:140::1
> route: writing to routing socket: File exists
> add net default: gateway 2001:470:27:140::1: route already in table
>
> Change routes without setfib
> # route -n change -inet6 default 2001:470:27:140::1
> change net default: gateway 2001:470:27:140::1
> # route -n change -inet6 default 2001:5c0:1400:b::27e8
> change net default: gateway 2001:5c0:1400:b::27e8
>
> Open PR?
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list