At 02:40 PM 8/27/2005, [EMAIL PROTECTED] wrote:
On Sat, 27 Aug 2005 14:26:32 -0700
Carstea Catalin <[EMAIL PROTECTED]> wrote:

> how tu setting-up interface alias at start-up

# example /etc/rc.conf part

defaultrouter="192.168.2.1"

ifconfig_rl0="inet 192.168.2.222  netmask 255.255.255.0"

ifconfig_rl0_alias0="inet 192.168.2.2 netmask 0xffffffff"
ifconfig_rl0_alias1="inet 192.168.2.3 netmask 0xffffffff"
ifconfig_rl0_alias2="inet 192.168.2.4 netmask 0xffffffff"
ifconfig_rl0_alias3="inet 192.168.2.5 netmask 0xffffffff"
ifconfig_rl0_alias4="inet 192.168.2.6 netmask 0xffffffff"

Also make sure there are no gaps in the sequence, or any aliases after the gap will not be applied.

-Glenn


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to