Removing aliases removes primary IP
Spil Oss
spil.oss at googlemail.com
Thu Mar 20 04:48:52 PDT 2008
Dear all,
Today I removed all aliases on my internal NIC and loopback, which
resulted in losing the primary ip-address. What am I missing!
rc.conf
ifconfig_xl0="inet 172.17.2.1 netmask 255.255.255.0"
ifconfig_xl0_alias0="inet 172.17.2.3 netmask 255.255.255.0"
ifconfig_xl0_alias1="inet 172.17.2.4 netmask 255.255.255.0"
ifconfig_xl0_alias2="inet 172.17.2.5 netmask 255.255.255.0"
ifconfig_lo0_alias0="inet 127.0.0.2 netmask 255.0.0.0"
ifconfig_lo0_alias1="inet 127.0.0.3 netmask 255.0.0.0"
# ifconfig xl0 alias 172.17.2.3 delete
# ifconfig xl0 alias 172.17.2.4 delete
# ifconfig xl0 alias 172.17.2.5 delete
# ifconfig lo0 alias 127.0.0.2 delete
# ifconfig lo0 alias 127.0.0.3 delete
# ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=9<RXCSUM,VLAN_MTU>
inet 172.17.2.5 netmask 0xffffff00 broadcast 172.17.2.255
ether <snip>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.3 netmask 0xff000000
Please enlighten me (or have I struc upon a bug)...
Running FreeBSD 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #1: Sat Feb 23
13:24:24 CET 2008
Kind regards,
Spil.
More information about the freebsd-questions
mailing list