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:
How to Increase your internet speed with NamebenchNameBench is a program that searches for the fastest DNS in your area. After the program is finished searching and comparing between DNS it will give … Read More
setup Second IP address or Virtual IP address to your Networkcard in ubuntuIf 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. Fo… Read More
Install Adobe Flash Player 10 in Ubuntu 8.04 (32 bit and 64 bit Hardy heron)15th Oct 2008 adobe released Flash Player version 10.If you want to know what is new in adobe flash player 10 check this.In this tutorial we will see … Read More
iPhone Tethering on Ubuntu 9.10 (Karmic)If you’re like me you have an iPhone and a portable computer running Ubuntu and you would like to have mobile internet without paying for an extra dat… Read More
Setup Wireless on a Fujitsu Siemens Li 2727 notebookThis Tutorial will work for all the notebooks in the Fujitsu Siemens range that require a special software switch to activate wifi, although it’s only… Read More
0 comments:
Post a Comment