Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple IP addresses on a Mac mini?



At 11:34 AM -0400 6/6/07, Jaime Magiera wrote:
 Command Line: Use ifconfig (man ifconfig) along the lines of

	ifconfig en0 inet 123.456.789.666 netmask 255.255.255.255 alias

...Where "en0" is the interface and "123.456.789.666" is the new IP number you want to add to the interface. You might want to run ifconfig without options once to get a sense of how it works.

This is *extremely* ill-advised as it will not last beyond the next configd event. That is the system won't have it in the configuration db and the moment some event happens like a network segment bounce or any system event where the db is reloaded, well your IP Alias won't be there so it will just go *poof* in a flash of black greasy smoke (tm).


The better "alternative" is  /etc/IPAliases.conf
--

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
email@hidden                                http://www.iwiring.net/
1-714-363-1174
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Multiple IP addresses on a Mac mini? (From: shirster <email@hidden>)
 >Re: Multiple IP addresses on a Mac mini? (From: Jaime Magiera <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.