| Setting up Second IP address or Virtual IP address in Ubuntu |
|
If you want to configure more Static IP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card
For your first interface you have:
To assign a second ipaddress to your machine you need to edit the /etc/network/interfaces file. The second IP is named eth0:, the thirs eth0:2 and so on... So just add them in the file:
After entering all the details you need to restart networking services using the following command
|