Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 19:56:06 +0900 (JST)
From:      Keiichi SHIMA / =?iso-2022-jp?B?GyRCRWc3RDBsGyhC?= <keiichi@iij.ad.jp>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: What do I add to rc.conf to get a particular IPv6 address...
Message-ID:  <20020415.195606.76911341.keiichi@iij.ad.jp>
In-Reply-To: <001b01c1e469$859b6fe0$1a6001cb@chalmers.com.au>
References:  <001b01c1e469$859b6fe0$1a6001cb@chalmers.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Robert" <robert@chalmers.com.au>

> I'm trying to set up rc.conf, so that a particular ipv6 set up to get this.
> inet6 2002:cb01:6005:2::1 
> 
> instead of this
> 
> inet6 2002:cb01:6005::1

You can set a static ipv6 address to a specific interface using:

ipv6_ifconfig_IFNAME_aliasX="2002:cb01:6005:2::1"

where, IFNAME is the interface name you want to set up (ex. xl0, fxp0,
rl0, ...) and X is a sequence number of alias definitions.

If you want to set SLA for the stf interface, use following:

stf_interface_ipv6_slaid="XXXX"

where XXXX is the SLA ID you want to set.

---
Keiichi SHIMA
IIJ Research Laboratory <keiichi@iij.ad.jp>
KAME Project <keiichi@kame.net>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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