Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2008 18:35:51 GMT
From:      Wouter de Jong <maddog2k@maddog2k.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/127050: ipv6 does not work on carp interfaces
Message-ID:  <200809021835.m82IZplS079983@www.freebsd.org>
Resent-Message-ID: <200809021840.m82Ie5nS077873@freefall.freebsd.org>

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

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



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