; The question is, how do
I bind multiple IPs to a single network card?
There are two ways that come to mind...
- GUI: Go to the Network component of System Preferences, select
"Network Port Configurations" and duplicate the interface, give it
a new name and configure it.
- 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.
You should use the GUI or networksetup. ifconfig changes may get
whacked anytime configd feels like it.