View Full Version : Alternate IP address
Oct 10, 2009, 02:11 PM
Is there a way to setup an alternate IP address with OSX 10.5.8?
Oct 10, 2009, 04:11 PM
Depends on what you mean by an alternate IP address.
One possible interpretation is what's commonly known as multihoming: a single host has different IP addresses on different network interfaces. For example, one IP address on wired ethernet (en0) and a different address on wireless (en1).
If that's what you want, try googling: multihome mac os leopard
That may seem like a brush-off, but frankly, there is a book at Amazon, posts on Apple discussion boards, and various articles that talk about it or describe products. Also, Leopard Server provides multihoming out of the box. I don't know which of those would serve you best, or even whether that's what you want.
If that's not what you want, then you'll have to explain what you mean by an alternate IP address, perhaps by explaining what you're trying to accomplish.
Oct 11, 2009, 03:02 PM
No, I want to have more than one IP address on the hard wired port. This is an option in Windows and I thought Mac would have it also.
Oct 11, 2009, 04:48 PM
Find "multihoming' on this page:
If you want more details, see the ifconfig man page:
Oct 11, 2009, 04:52 PM
eddyq is not asking about multihoming, he's asking about ip aliases. Yes, it's totally possible to bind a second IP address to an interface in OS X, but I'm not sure the GUI tools in System Preferences will do it.
You can absolutely do it from the command-line, though, using the ifconfig command.
sudo ifconfig en0 alias 10.0.0.10 netmask 255.255.255.255
Edit: Ah, you can do it from System Preferences. Just hit the "+" button to add a new interface, select the ethernet or wireless interface you want to add the second IP to, then set the parameters. Just remember to set the netmask to 255.255.255.255 if the second IP address is in the same subnet as the primary ip address on that interface.
Oct 11, 2009, 06:53 PM
Ok, thanks. I'll try that.