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 make Ubuntu 9.04 (Jaunty Jackalope) Multimedia ReadyUbuntu 9.04 Required the foll0wing steps to Run Multimedia files like MP3, AVI, Mpeg, Flash file etc... In Ubuntu 9.04 "Jaunty jackalop", the univer… Read More
How to install PHP6 in ubuntu / Debian LinuxThe full stable version of PHP6 is not yet released. But pre-built package is available. Early birds can start now. You can install a development snap… Read More
How to Burn a CD’s/DVD’s in Ubuntu LinuxGnomeBaker is a Gnome CD/DVD burning application.GnomeBaker is a GTK2/Gnome CD/DVD burning application. I’ve been writing it in my spare time so progr… Read More
How to Recover Lost Skype Password from UbuntuLost my Skype password. How can I retrieve it? If you have forgotten your Skype password, No Problem, you can request for a new password Click Here. … Read More
How to Sync Wireless iPhone with Amarok( ubuntu)The following guide allows you to wirelessly sync an iPhone with Amarok in Ubuntu 7.10, including adding, editing and playing songs and playlists. … Read More
0 comments:
Post a Comment