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

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Ubuntu networking questions

[ILUG] Ubuntu networking questions

Colm MacCarthaigh colm at stdlib.net
Wed Feb 22 10:07:51 GMT 2006


On Wed, Feb 22, 2006 at 02:05:10AM +0000, Niall O Broin wrote:
> I'm curious as to when exactly the up and down commands are run. Surely 
> they must be synonymous with either pre-up/post-up   and  
> pre-down/post-down ?

up is synonymous with post-up and down is synonymous with pre-down :)

> And on that note, is there a kosher way of adding a secondary IP 
> address to an interface via the interfaces file, or is something like
> 
> post-up ip addr add a.b.c.d/n dev ethX
> 
> the only way to do it?

Use subinterfaces, ie:

iface ethX:1
	address a.b.c.d
	netmask 255.255.255.255

-- 
Colm MacCárthaigh                        Public Key: colm+pgp at stdlib.net



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