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
#vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
auto eth0:1
iface eth0:1 inet static
address 192.168.0.50
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
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
#/etc/init.d/networking restart
Home »
networking
,
Ubuntu
» setup Second IP address or Virtual IP address to your Networkcard in ubuntu
setup Second IP address or Virtual IP address to your Networkcard in ubuntu
Related Posts:
Finch - How to use Pidgin via Terminal ConsoleFor those who have starts getting in love with Terminal Console in Ubuntu, you may love to be able to do everything from the Terminal console. Even if… Read More
Install Flash Player 9 Update in UbuntuAdobe Flash Player is the standard for delivering high-impact, rich Web content. Designs, animation, and application user interfaces are deployed imme… Read More
Install LAMP Server in ubntu(with screenshots)Automatic LAMP (Linux, Apache, MySQL and PHP) In about 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP server up a… Read More
Install .rpm packages in Ubuntua Ubuntu normally use .deb package for application installer. However, if you have an rpm file for a package you wish to install, and if you cannot fi… Read More
How to change Screen resolution in UbuntuThis tutorial will explain how to change Screen resolution in Ubuntu and this might work in all ubuntu versions Procedure to follow 1) Go to System… Read More
0 comments:
Post a Comment