misc/127050: ipv6 does not work on carp interfaces

Wouter de Jong maddog2k at maddog2k.net
Tue Sep 2 18:40:05 UTC 2008


>Number:         127050
>Category:       misc
>Synopsis:       ipv6 does not work on carp interfaces
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 02 18:40:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wouter de Jong
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD xxx.yyy.tld 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Feb 29 18:09:19 CET 2008     root at xxx.yyy.tld:/usr/obj/usr/src/sys/CARP  i386
>Description:
I tried hours to get IPv6 working on carp interfaces on FreeBSD 7.0, without success. On FreeBSD 6.3-RELEASE, it does work ok.
>How-To-Repeat:
Basic IPv6 config :

machine1:
sysctl -w net.inet6.ip6.forwarding=1
ifconfig bge0 inet6 2001:a:b:c::2/64
route -n add -inet6 default 2001:a:b:c::fffa
 
machine2:
sysctl -w net.inet6.ip6.forwarding=1
ifconfig bge0 inet6 2001:a:b:c::3/64
route -n add -inet6 default 2001:a:b:c::fffa
 
Both addresses are pingable, and when I use either of 
them on other machines as gateway, they route fine.
 
 
So now carp :
 
machine1:
ifconfig carp1 create
ifconfig carp1 vhid 1 pass mekmitasdigoat 
ifconfig carp1 inet6 2001:a:b:c::1/64
 
machine2:
ifconfig carp1 create
ifconfig carp1 vhid 1 advskew 100 pass mekmitasdigoat 
ifconfig carp1 inet6 2001:a:b:c::1/64

carp goes succesfully to master on one machine, and to backup on another.
 
However..... i can't ping the virtual address 2001:a:b:c::1 from either machine1 or machine2. Nor can other PC's in the network ping it or use it as a gateway.
>Fix:


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


More information about the freebsd-bugs mailing list