/sbin/ifconfigto get a listing of your current devices. See which device your server IP is using (Eg: eth0), then for your additional IP, you'll just add another number to it with a colon, eg: eth0:0
/etc/network/interfacesand at the bottom of the file (assuming you already have eth0listed there), add eth0:0:
iface eth0:0 inet static
ifup eth0:0As mentioned, this has very limited testing, so be very sure that the setting you're adding are correct. It's possible the box can become inaccessible if an error is made at this point (which is why we can't do this for you)
ifconfig em0 220.127.116.11 netmask 255.255.255.255 aliaswhich should load the IP into the em0 device. Once confirmed that this worked, edit:
/etc/rc.confand below the line that starts with:
ifconfig_em0=...you'd add an alias line, that looks like this:
ifconfig_em0_alias0="inet 18.104.22.168 netmask 255.255.255.255"
/etc/rc.d/netif restart && /etc/rc.d/routing restart
Error, some other host already uses address 22.214.171.124then add this line to your ifcfg-eth0:0 file:
Error: Connection activation failed: The connection is not for this device.