diff options
author | dougb <dougb@FreeBSD.org> | 2010-04-17 18:48:18 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2010-04-17 18:48:18 +0000 |
commit | cbed8db2a8ad2fb0abb82dfd7ad4e267456e9eb6 (patch) | |
tree | cfadf0900523fde56915338d6daa580bf86bbed2 | |
parent | 7075c32b1243bec90cbd3808d668690ad222f77a (diff) | |
download | FreeBSD-src-cbed8db2a8ad2fb0abb82dfd7ad4e267456e9eb6.zip FreeBSD-src-cbed8db2a8ad2fb0abb82dfd7ad4e267456e9eb6.tar.gz |
In case a user wants to configure only an IPv6 link-local address
add an example that shows how to do it.
-rw-r--r-- | etc/defaults/rc.conf | 1 | ||||
-rw-r--r-- | share/man/man5/rc.conf.5 | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index a5da7c2..48233bd 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -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. diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index c0b358d..e93205b 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -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 |