freebsd-dev/etc
Hiroki Sato 740b713999 - Add CIDR notation support like 192.168.1-2.10-16/24 to $ifconfig_IF_aliasN.
This is an extended version of ipv4_addr_IF which supports both IPv4 and
  IPv6, and multiple range specifications.  To avoid to generate too many
  addresses, the maximum number of the generated addresses is currently
  limited to 31.

- Add $ifconfig_IF_aliases, which accepts multiple IP aliases in a variable.

- ipv6_prefix_IF now supports !/64 prefix length.  In addition to the old
  64-bit format (2001:db8:1:1), a full 128-bit format like 2001:db8:1:1::/64
  is supported.

- Replace ifconfig command with $IFCONFIG_CMD variable to support
  a dry-run mode in the future.

- Remove IP aliases before removing all of IPv4 addresses when doing
  "rc.d/netif down".

- Add a DAD wait to network6_getladdr() because it is possible to fail to
  configure an EUI64 address when ipv6_prefix_IF is specified.

A summary of the supported ifconfig_* variables is as follows:

 # IPv4 configuration.
 ifconfig_em0="inet 192.168.0.1"
 # IPv6 configuration.
 ifconfig_em0_ipv6="inet6 2001:db8::1/64"
 # IPv4 address range spec.  Now deprecated.
 ipv4_addr_em0="10.2.1.1-10"
 # IPv6 alias.
 ifconfig_em0_alias0="inet6 2001:db8:5::1 prefixlen 70"
 # IPv4 alias.
 ifconfig_em0_alias1="inet 10.2.2.1/24"
 # IPv4 alias with range spec w/o AF keyword (backward compat).
 ifconfig_em0_alias2="10.3.1.1-10/32"
 # IPv6 alias with range spec.
 ifconfig_em0_alias3="inet6 2001:db8:20-2f::1/64"
 # ifconfig_IF_aliases is just like ifconfig_IF_aliasN.
 ifconfig_em0_aliases="inet 10.3.3.201-204/24 inet6 2001:db8:210-213::1/64 inet 10.1.1.1/24"
 # IPv6 alias (backward compat)
 ipv6_ifconfig_em0_alias0="inet6 2001:db8:f::1/64"
 # IPv6 alias w/o AF keyword (backward compat)
 ipv6_ifconfig_em0_alias1="2001:db8:f:1::1/64"
 # IPv6 prefix.
 ipv6_prefix_em0="2001:db8::/64"

Tested by:	Kimmo Paasiala
2013-06-20 02:29:49 +00:00
..
atf The first line must contain "Content-Type:". Move the $FreeBSD$ 2012-11-07 00:19:30 +00:00
bluetooth
defaults Clean up swapfile memory disk on shutdown 2013-06-12 16:44:17 +00:00
devd Regen. 2013-06-10 05:45:53 +00:00
etc.amd64 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.arm Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.i386 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.ia64 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.mips Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.pc98 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.powerpc Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
etc.sparc64 Remove the reference to pseudo-terminals from the description. 2011-03-30 08:22:29 +00:00
gss Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
mail Merge a number of changes required to hook up OpenBSM 1.2-alpha2's 2012-12-01 15:11:46 +00:00
mtree Remove CVS from the base system. 2013-06-15 20:29:07 +00:00
namedb Update with new IPv4 address for D root. 2013-01-04 09:15:59 +00:00
pam.d - FreeBSD ships a KDE PAM module in base, but it's missing support for passwordless login (kde-np), 2012-05-30 03:10:22 +00:00
periodic Unconditionally install 210.backup-aliases as many MTAs other than 2013-05-11 23:55:43 +00:00
ppp Remove COMPILATIONDATE from the default section. This string is no longer 2010-02-16 01:07:06 +00:00
rc.d Allow $ntpdate_config to be NULL. Due to a lack of surrounding quotes, when 2013-06-18 02:37:15 +00:00
root Remove hack to emulate effective uid and just use the EUID's name in the 2012-12-05 13:56:39 +00:00
sendmail Minor changes to force commit these files so new freebsd*.cf files are 2013-04-21 17:11:45 +00:00
amd.map
apmd.conf
crontab Remove HOME= - this has surprised me several times in the past. 2009-06-14 06:37:19 +00:00
csh.cshrc
csh.login Change the commented msgs examples in profile/csh.login from -f to -q. 2010-05-15 17:49:56 +00:00
csh.logout
ddb.conf
devd.conf Comment cosmetics: capitalize SCSI 2013-03-02 18:08:03 +00:00
devfs.conf Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been 2011-10-27 20:39:20 +00:00
dhclient.conf
disktab 10 years too late add support for "2.88MB 3.5in Extra High Density" 2012-11-02 00:17:30 +00:00
fbtab
freebsd-update.conf Add support for backing up the old kernel when installing a new kernel 2009-08-19 20:47:31 +00:00
ftpusers Merge a number of changes required to hook up OpenBSM 1.2-alpha2's 2012-12-01 15:11:46 +00:00
gettytab Explicitly specify 'np' so that getty(8) does not simulate even parity on 2012-10-18 22:20:02 +00:00
group Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf Remove CVS from the base system. 2013-06-15 20:29:07 +00:00
libalias.conf
login.access
login.conf Increase the "memorylocked" limit for the "daemon" class. 2013-01-27 21:55:01 +00:00
mac.conf Spelling fixes for etc/ 2012-01-07 16:10:32 +00:00
Makefile Add a new knob WITH_DEBUG_FILES to control the building of standalone 2013-06-07 21:40:02 +00:00
man.alias
master.passwd Merge a number of changes required to hook up OpenBSM 1.2-alpha2's 2012-12-01 15:11:46 +00:00
minfree
motd pkg_add is no more the default tool, make motd recommand using pkg install instead of pkg_add 2012-10-20 14:54:49 +00:00
netconfig
netstart /etc/netstart: remove invocation of dhclient 2012-01-20 17:25:15 +00:00
network.subr - Add CIDR notation support like 192.168.1-2.10-16/24 to $ifconfig_IF_aliasN. 2013-06-20 02:29:49 +00:00
networks
newsyslog.conf Revert r250565 which causes issues for older CPUs 2013-05-12 21:24:18 +00:00
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf Revert r224760, and enhance the sed patterns from r224659 to comment out 2011-08-10 20:52:02 +00:00
ntp.conf As of r232844 we no longer need the maxpoll 9 workaround. 2012-08-20 18:45:16 +00:00
opieaccess
pccard_ether Not only load pccard_ether settings, also load network settings. This 2012-11-08 20:34:12 +00:00
pf.os Sync pf.os with OpenBSD: 2012-12-10 20:52:52 +00:00
phones
portsnap.conf Now that stable/7 is EOL, stop building INDEX-7. 2013-03-07 20:48:36 +00:00
printcap
profile Change the commented msgs examples in profile/csh.login from -f to -q. 2010-05-15 17:49:56 +00:00
protocols Bring /etc/protocols up to date. 2013-05-10 13:57:44 +00:00
rc Refine the "nojail" rc keyword, adding "nojailvnet" for files that don't 2013-05-19 04:10:34 +00:00
rc.bsdextended
rc.firewall Whitespace nit 2012-07-13 06:46:09 +00:00
rc.initdiskless Revert r243228. This commit appears to cause more trouble than 2012-11-21 18:12:28 +00:00
rc.resume Revert r227528 and r227787. This hack is no longer necessary since r233580. 2013-02-15 22:58:44 +00:00
rc.sendmail
rc.shutdown Refine the "nojail" rc keyword, adding "nojailvnet" for files that don't 2013-05-19 04:10:34 +00:00
rc.subr rc.subr: disabling globbing while processing devfs rules 2013-03-28 08:13:52 +00:00
rc.suspend Revert r211288 and move the logic to the acpi_timer itself. 2012-02-08 20:31:42 +00:00
regdomain.xml Add a new 900MHz GSM regulatory SKU for the Xagyl Communications XC900M. 2012-12-07 06:34:46 +00:00
remote Add ucomX shortcuts just like its uart sibling. 2008-10-27 17:19:14 +00:00
rpc
services Add MySQL port 3306 2012-03-26 11:48:47 +00:00
shells
snmpd.config Add (disabled) sample configuration lines needed to enable snmp_target(3) module 2010-12-20 17:28:15 +00:00
sysctl.conf
syslog.conf Similar to all.log, mention that /var/log/console.log has to be created and chmod'ed 2012-07-01 12:34:19 +00:00
termcap.small Fix termcap entry typo. 2011-02-09 10:06:31 +00:00