Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

On linux boxes it is possible to add multiple ip addresses to the same network interface.

It's achived with the following command:

ip addr add 128.133.123.83/24 dev eth0

Is there any way to to the same with OS X ?

I've tried to put multiple ip addresses (comma separated like the dns) in System Preferences / Network with no luck...

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Yeah, it's pretty easy. Open the System Preferences, go to Networking, then click the Plus sign under the left bar. Choose the interface, give a name to the adapter configuration you're creating, then press OK and deal with it as you would like to. Click Apply when you're done, and enjoy. Your adapter now has two IP addresses.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.