Hello,
I have configured a list of eth aliases with static ips to /etc/network/interfaces like:
Code:
auto eth0
iface eth0 inet static
address XXX.XXX.XXX.XXX
netmask XXX.XXX.XXX.XXX
gateway XXX.XXX.XXX.XXX
auto eth0:2
iface eth0:2 inet static
address XXX.XXX.XXX.XXX
netmask XXX.XXX.XXX.XXX
auto eth0:4
iface eth0:4 inet static
address XXX.XXX.XXX.XXX
netmask XXX.XXX.XXX.XXX
Normally one edits the file and removes the interface from the config file (/etc/network/interfaces) restarting the network service with:
Code:
/etc/init.d/networking restart
or
Code:
service networking restart
... and it should work but unexpectedly the removed interface (eth0:2) comes back after a while although it's not included in the config file /etc/network/interfaces .
I also used the sync command to flush the file system buffers (I don't know if it's relevant).
Note that it worked when I made a reboot or with this cmd:
Normally this shouldn't happen.
Any ideas? of why this is happening and a possible resolution except reboot or flush?
System: Ubuntu 10.04.3 LTS
Thanks
Bookmarks