Hello there, ifconfig_if_aliases can greatly simplify rc.conf for machines with many IP aliases, since renumbering of all the _aliasN entries is no longer needed. But the syntax is not documented in /etc/defaults/rc.conf or in handbook at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html
Consider the example aliases from the handbook link above: ifconfig_fxp0_alias0="inet 10.1.1.2 netmask 255.255.255.255" ifconfig_fxp0_alias1="inet 10.1.1.3 netmask 255.255.255.255" ifconfig_fxp0_alias2="inet 10.1.1.4 netmask 255.255.255.255" ifconfig_fxp0_alias3="inet 10.1.1.5 netmask 255.255.255.255" ifconfig_fxp0_alias4="inet 202.0.75.17 netmask 255.255.255.240" ifconfig_fxp0_alias5="inet 202.0.75.18 netmask 255.255.255.255" ifconfig_fxp0_alias6="inet 202.0.75.19 netmask 255.255.255.255" ifconfig_fxp0_alias7="inet 202.0.75.20 netmask 255.255.255.255" Can now be written as: ifconfig_fxp0_aliases="inet 10.1.1.2-5/32 inet 202.0.75.17-20/28" This should be included both in /etc/defaults/rc.conf and in the handbook :) Thanks and best regards, /Thomas Steen Rasmussen _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "[email protected]"
