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:
Colm MacCárthaigh Public Key: colm+pgp at stdlib.net
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!