Correct way to enable ipv6 and sixxs-aiccu?

Max Laier max at love2party.net
Wed Oct 31 17:31:42 PDT 2007


On Wednesday 31 October 2007, Christopher Arnold wrote:
> On Thu, 1 Nov 2007, Byung-Hee HWANG wrote:
> > On Wed, 2007-10-31 at 15:49 +0100, Christopher Arnold wrote:
> >> While brushing up my ipv6 knowledge i ran into an issue with
> >> sixxs-aiccu and configuring ipv6 in rc.conf:
> >>
> >> I have manually configured my gateway to route ipv6 to my internal
> >> network, and this works without problems.
> >> But as soon as i have ipv6_gateway_enable="YES" in /etc/rc.conf
> >> rtadvd doesn't set an ipv6 address on my vr0 interface. (Btw. the
> >> only interface i have on the machine.)
> >
> > Well, we don't know how to you configure your IPv6 router in manual.
> > So you'd better show us the information like your manual scripts if
> > you want to give more correct advices ;;
>
> Ok to be totally clear:
> # more /etc/rtadvd.conf
> vr0:\
>
> :addr="2001:16d8:ff50::":prefixlen#64:
>
> Dosn't Work:
> /etc/rc.conf:		ipv6_gateway_enable="YES"
> After boot i execute "rtadvd vr0" as root.
>
> Works:
> /etc/rc.conf:		ipv6_gateway_enable="NO"
> /etc/syscontrol:	net.inet6.ip6.forwarding=1
>
> After boot i execute "rtadvd vr0" as root.
>
> The difference i belive is the setting of net.inet6.ip6.accept_rtadv=0
> in /etc/rc.d/network_ipv6 .

So you are trying to get a rtadv from yourself?  I don't think we support 
that out of the box.  What I do is (adapted to your network):

ipv6_ifconfig_vr0="2001:16d8:ff50:0001:: prefixlen 64"

rtadvd_enable="YES"
rtadvd_interfaces="vr0"

without a rtadvd.conf.  In addition I have ipv6_defaultrouter set to my 
PoPs tunnel endpoint.

That's what works for me.  I'm not sure what the benefit of an 
autoconfigured address on vr0 would be.  I find it easier to refer to my 
local router as <network>::/128.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20071101/21b0e977/attachment.pgp


More information about the freebsd-net mailing list