Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2010 18:48:18 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r206769 - in head: etc/defaults share/man/man5
Message-ID:  <201004171848.o3HImI3u040381@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Sat Apr 17 18:48:18 2010
New Revision: 206769
URL: http://svn.freebsd.org/changeset/base/206769

Log:
  In case a user wants to configure only an IPv6 link-local address
  add an example that shows how to do it.

Modified:
  head/etc/defaults/rc.conf
  head/share/man/man5/rc.conf.5

Modified: head/etc/defaults/rc.conf
==============================================================================
--- head/etc/defaults/rc.conf	Sat Apr 17 18:35:07 2010	(r206768)
+++ head/etc/defaults/rc.conf	Sat Apr 17 18:48:18 2010	(r206769)
@@ -211,6 +211,7 @@ ifconfig_lo0="inet 127.0.0.1"	# default 
 #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.

Modified: head/share/man/man5/rc.conf.5
==============================================================================
--- head/share/man/man5/rc.conf.5	Sat Apr 17 18:35:07 2010	(r206768)
+++ head/share/man/man5/rc.conf.5	Sat Apr 17 18:48:18 2010	(r206769)
@@ -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



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