LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Real vs. aliased interfaces

[ILUG] Real vs. aliased interfaces

Vincent Cunniffe vincent at cunniffe.net
Thu Feb 22 16:43:23 GMT 2001


James Raftery wrote:

> RH 6.2 box, running kernel 2.2.17.
> 
> The machine has one NIC - eth0. eth0 is 212.147.130.150.
> It also has one aliased interface, eth0:0 using 212.147.130.133.
> 
> The box no longer needs 212.147.130.150 so I've changed the bootup
> scripts to only configure one interface, eth0, with 212.147.130.133 on
> startup.
> 
> The problem is that the machine is live now and I don't want to reboot
> it. If I 'ifconfig eth0 down' to shutdown the 212.147.130.150 interface
> will eth0:0 remain useable?

Nope.

However, if you run the command :

'ifconfig eth0 down && ifconfig eth0 212.147.130.133 && ifconfig eth0 up'

all on  the one line then you can change the IP remotely.

Vin





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell