Multiple IP Addresses (aliases) after reboot

The GUI IP4 interface config does not allow for multiple IP addresses to be assigned to an interface. However, it appears this can be done with ifconfig, using the "alias" command. Question is, how do I enforce these changes after a reboot?

Posted on May 14, 2006 11:09 PM

Reply
2 replies

May 14, 2006 11:42 PM in response to hambone-phd

Any changes via ifconfig are temporary. If you want these changes to be persistent you need to write a StartupItem that executes at boot time and runs whatever commands you want.

However, you can configure multiple IP addresses via the GUI. In System Preferences -> Network choose 'Network Port Configurations' from the Show menu. Now select your interface and click the 'Duplicate' button. Now you have two interfaces listed and you can configure different IP addresses on each. Repeat as many times you like.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Multiple IP Addresses (aliases) after reboot

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.