I to setup multiple IPs on my Ubuntu 16.04.1 server. I have it in a data center and they gave me 5 IPs range 170-174.
You need to create aliases of your network interface.
By creating temporary aliases using
ip address addcommand. The aliases setup this way will be lost upon a reboot and you will need to recreate those aliases.
sudo ip addr add xx.xx.xx.xx/xx dev eth0 # For example sudo ip addr add 172.16.100.170/24 dev eth0
If you need a more permanent solution, you would have to edit
/etc/network/interfacesfile and add alias definitions there.
ip addr show command to see the changes. Then you would have to do
sudo ifdown eth0 && sudo ifup eth0 to activate these settings without a reboot.