I want to organize interface aliases (for example
eth0:1) in separate files (
Anyone know the syntax to load this external file from
/etc/network/interfaces, or where I can find it? I do not want the interface to start automatically.
I've had a look at
man interfaces(8) without any luck. But I have seen this done before, and know it's possible.
load /etc/network/conf.d/eth0_1.cnf and
include /etc/network/conf.d/eth0_1.cnf directives, no dice.
OS is ubuntu 11. Any ideas are really appreciated.
Edit: Thanks. When I saw this done before it was on centos/rh.
source looks promising but I can't seem to get it going. When I put:
at the top of
I get the error:
/etc/network/interfaces:3: misplaced option
So maybe this didn't get included in Ubuntu 11.04? Where did you see that it was included there?