On a breezy box, man interfaces says (abbreviated)
Run command before bringing the interface up.
Run command after bringing the interface up.
Run command after taking the interface down.
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
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?
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!