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: How do I setup an en interface alias?




On Dec 8, 2005, at 1:17 PM, Josh Wisenbaker wrote:

The networksetup command is probably what you need. If you look in
Server documentation, it's in the Command Line Administration reference.


Matt

The man page is pretty good too. What you _don't_ want to try to do is use
ifconfig. It's read-only on Mac OS X.
<http://www.afp548.com/article.php?story=20041015131913324>


Josh
www.afp548.com


A big thanks to Matt and Josh for the pointer to the networksetup command, for the curious - what I did was this:

#networksetup -listallnetworkservices
#networksetup -duplicatenetworkservice "Built-in Ethernet 1" Ethernet-XXX-YYY
(where XXX-YYY were the last two octets of our subnet address at NC State University)
#networksetup -setmanual Ethernet-XXX-YYY secondipaddress subnetmask router


I've seen some mentions that the subnetmask for the duplicate network service should be 255.255.255.255, but I used our normal campus subnet mask and am able to ping and ssh to the new address from outside the subnet, so I don't think that was required. If someone knows differently that this going to bite me, please let me know.

The afp548.com article, as usual, was very informative, thanks Josh.

Jason

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jason Young --  Senior Systems Engineer, eXtension
AIM:  jayoungNCSU    http://it.extension.org
________________________________________________




_______________________________________________ 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: 
 >How do I setup an en interface alias? (From: Jason Young <email@hidden>)
 >Re: How do I setup an en interface alias? (From: Matt Rosenberg <email@hidden>)
 >Re: How do I setup an en interface alias? (From: "Josh Wisenbaker" <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.