Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 11:01:36 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: What startup script is supposed to handle ipv6_defaultrouter="..."?
Message-ID:  <20090226105039.L45052@ramstind.fig.ol.no>
In-Reply-To: <20090226093219.R21334@ramstind.fig.ol.no>
References:  <20090226093219.R21334@ramstind.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-788785374-1235637775=:21334
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-Transfer-Encoding: 8BIT
Content-ID: <20090226105039.C45052@ramstind.fig.ol.no>

On Thu, 26 Feb 2009 09:42+0100, Trond Endrestøl wrote:

> On a system running 7.1-STABLE as of early February, cvsup'd with 
> tag=RELENG_7 just prior to recompiling the system, setting 
> ipv6_defaultrouter="..." in /etc/rc.conf seems to have no effect.
> I'm forced to set the IPv6 gateway using commands outside the regular 
> startup scripts.

For the record, here are the IPv6 related variables found in this
particular system's /etc/rc.conf file:

ipv6_enable="YES"
ipv6_defaultrouter="2001:700:XXXX:YYYY::1"
ipv6_ifconfig_em0="2001:700:XXXX:YYYY::24 prefixlen 64"

If I leave out the static address assignment on em0 and the static 
router address, the system gets both an autoconfigurated IPv6 address 
as well as receiving the router's link local IPv6 address and the 
system will use that LL address as the default router.

I'm merely interested in giving em0 a static IPv6 address, and if 
possible leave everything else to be determined by the router's 
advertisement.

Do I need to fiddle with one or more sysctl variables?

-- 
----------------------------------------------------------------------
Trond Endrestøl                  | Trond.Endrestol@fagskolen.gjovik.no
ACM, NAS, NUUG, SAGE, USENIX     |      FreeBSD 6.2-STABLE & Pine 4.64
--0-788785374-1235637775=:21334--



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