You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Top-ranking reply

Posted on May 14, 2006 11:42 PM

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.
2 replies
Question marked as Top-ranking reply

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.

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.