Including a Second IP Address to an Existing Network Adapter

On linux boxes it is feasible to add numerous ip addresses to the very same network user interface.

It's achived with the adhering to command:

ip addr add 128.133.123.83/24 dev eth0

Exists any kind of means to to the very same with OS X?

I've attempted to place numerous ip addresses (comma divided like the dns) in System Preferences/ Network with no good luck ...

0
2019-05-07 09:14:57
Source Share
Answers: 1

Yeah, it's rather very easy. Open System Preferences, most likely to Networking, after that click the Plus indicator under the left bar. Pick the user interface, offer a name to the adapter arrangement you're developing, after that press OK. You will certainly need to give hand-operated arrangement of IP address and also DNS for the 2nd access - - DHCP will not benefit it, due to the fact that it shares the very same MAC address as the initial access, so the router will not release it an additional address. Click Apply when you're done, and also appreciate. Your adapter currently has 2 IP addresses.

0
2019-05-09 01:40:49
Source