Enterprise Computing
Tuesday, November 15, 2005
  Adding another IP in Linux
1) goto /etc/sysconfig/network-scripts
2) copy the file that is the interface, e.g. ifcfg-eth0, rename the copy
ifcfg-eth0:1 where was is the virtuial id.
3) edit this file so the ip address is the new required address
4) save the file
5) in the same folder run 'ifup eth0:1' this should bring the new ip up
6) check by running /etc/ifconfig

 




<< Home
Alistair Thomas's 'everything to do with enterprise computing'.

Archives
03/01/2004 - 04/01/2004 / 04/01/2004 - 05/01/2004 / 05/01/2004 - 06/01/2004 / 08/01/2004 - 09/01/2004 / 03/01/2005 - 04/01/2005 / 04/01/2005 - 05/01/2005 / 06/01/2005 - 07/01/2005 / 08/01/2005 - 09/01/2005 / 09/01/2005 - 10/01/2005 / 11/01/2005 - 12/01/2005 / 02/01/2010 - 03/01/2010 / 06/01/2013 - 07/01/2013 /


Powered by Blogger

Subscribe to
Posts [Atom]