Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 22:21:00 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-net@freebsd.org
Cc:        Christopher Arnold <chris@arnold.se>, Byung-Hee HWANG <bh@izb.knu.ac.kr>
Subject:   Re: Correct way to enable ipv6 and sixxs-aiccu?
Message-ID:  <200710312221.09754.max@love2party.net>
In-Reply-To: <20071031181637.X2005@chrishome.localnet>
References:  <20071031152942.N1222@chrishome.localnet> <1193849325.14557.31.camel@viola.izb.knu.ac.kr> <20071031181637.X2005@chrishome.localnet>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1232430.d0okRz6q1f
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=3D"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=3D"2001:16d8:ff50::":prefixlen#64:
>
> Dosn't Work:
> /etc/rc.conf:		ipv6_gateway_enable=3D"YES"
> After boot i execute "rtadvd vr0" as root.
>
> Works:
> /etc/rc.conf:		ipv6_gateway_enable=3D"NO"
> /etc/syscontrol:	net.inet6.ip6.forwarding=3D1
>
> After boot i execute "rtadvd vr0" as root.
>
> The difference i belive is the setting of net.inet6.ip6.accept_rtadv=3D0
> in /etc/rc.d/network_ipv6 .

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

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

rtadvd_enable=3D"YES"
rtadvd_interfaces=3D"vr0"

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

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

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart1232430.d0okRz6q1f
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBHKPHFXyyEoT62BG0RArPfAJ9WH9Q+wnAW4gHfboad5Rkv723x0gCfbE4q
XBQjRqk5H7GSXbICMMwzkUY=
=8dvF
-----END PGP SIGNATURE-----

--nextPart1232430.d0okRz6q1f--



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