Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2010 05:24:02 GMT
From:      "Vladislav V. Prodan" <universite@ukr.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/147155: setfb not work with ipv6
Message-ID:  <201005280524.o4S5O2qH077154@www.freebsd.org>
Resent-Message-ID: <201005280530.o4S5U2NP098869@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         147155
>Category:       kern
>Synopsis:       setfb not work with ipv6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 28 05:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Vladislav V. Prodan
>Release:        9.0-CURRENT  amd64
>Organization:
>Environment:
FreeBSD mary-teresa.XXX.XXX.XXX 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sun Apr 11 23:26:21 EEST 2010     vlad11@mary-teresa.XXX.XXX.XXX:/usr/obj/usr/src/sys/mary-teresa.22  amd64

>Description:
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

# 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 change -inet6 default 2001:470:27:140::1
route: writing to routing socket: Address family not supported by protocol family
change net default: gateway 2001:470:27:140::1: Address family not supported by protocol family 

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 
>How-To-Repeat:
setfib 2 route -n change -inet6 default <another ipv6 gateway>

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005280524.o4S5O2qH077154>