If you are a Network Administrator some time you need to assign more than ONE ip address (second ipaddress) to your network card of Ubuntu machine. For this you need to edit the /etc/network/interfaces file by adding the following lines . See the example below and make change according to your ip address settings
iface eth0 inet static
iface eth0:1 inet static
after entering the values save this file and you need to restart networking services in ubuntu using the following command to take effect of our new ipaddress.
After entering all the details you need to restart networking services using the following command