Quote:
Originally Posted by westzilla
When I attempt to add additional IPs to the server and restart networking the following output is displayed for each of the additional ips added to the server. What does this mean?
root@server1:/home/bwest# /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... ssh stop/waiting
ssh start/running, process 4967
RTNETLINK answers: File exists
Failed to bring up eth0:0.
|
It means the
/etc/init.d/networking script doesn't really support aliases.
An alias (like
eth0:something) is not really an interface, just a sort of label used for adding extra addresses to an interface. When the Ubuntu
networking script treats it like an interface and tries to activate it, an error occurs because the real interface is already active. As long as the addresses are correctly assigned, the error messages could be considered cosmetic (but quite annoying, I would think).
I believe the practice of using aliases is deprecated, as one can add any number of addresses to an interface with the
ip addr add command. Whether the Ubuntu networking init script supports multiple addresses for the same interface is of course another matter. You should check the documentation, but a quick Google search only returned results referring to the use of aliases.