In case a user wants to configure only an IPv6 link-local address

add an example that shows how to do it.
This commit is contained in:
dougb 2010-04-17 18:48:18 +00:00
parent 7075c32b12
commit cbed8db2a8
2 changed files with 8 additions and 0 deletions

View File

@ -211,6 +211,7 @@ ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
#ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry.
#ifconfig_ed0_ipv6="RTADV" # Sample IPv6 entry for RA/rtsol(8)
#ifconfig_ed0_ipv6="inet6 auto_linklocal" # To configure only link-local
#ifconfig_ed0_ipv6="inet6 2001:db8:1::1 prefixlen 64" # Sample IPv6 addr entry
#ifconfig_ed0_alias0="inet6 2001:db8:2::1 prefixlen 64" # Sample IPv6 alias
#ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0.

View File

@ -1303,6 +1303,13 @@ interface:
ifconfig_ed0_ipv6="RTADV"
.Ed
.Pp
To configure only a link-local address on the
.Dq Li ed0
interface:
.Bd -literal
ifconfig_ed0_ipv6="inet6 auto_linklocal"
.Ed
.Pp
To disable RA the
.Dq Li NORTADV
option is available, although not required if manual