-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Spil Oss wrote:
| 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!

|
| # 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

What you are doing here is:
1) you create an alias (which already exists) with the 'alias' argument
2) you remove an alias which the 'delete' argument. Since you don't
specify which alias to be removed, the lowest IP number is removed. In
your case, the lowest IP number happens to be your primary :-)

You may want to use the '-alias' command line option to remove an alias:
# ifconfig xl0 -alias 172.17.2.3

| Kind regards,

Hope this helps,

| Spil.




- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEAREKAAYFAkfmZs4ACgkQwMJqmJVx945NsgCg4jfR8JuKsOnGqirAmclnGM80
8Y0AoKeK+mWCGtkniIko2rJlF8UX0EDI
=vMXT
-----END PGP SIGNATURE-----
_______________________________________________
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