I had many ip-s routed to my dedicated server. Interfaces file look like this
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address xx.xx.xx.xx
netmask 255.255.255.xx
gateway xx.xx.xx.xx
auto eth0:0
iface eth0:0 inet static
address xx.xx.xx.xx
netmask 255.255.255.xx
auto eth0:1
iface eth0:1 inet static
address xx.xx.xx.xx
netmask 255.255.255.xx
auto eth0:2
iface eth0:2 inet static
address xx.xx.xx.xx
netmask 255.255.255.xx
When I type in terminal /etc/init.d/networking restart I get this error many many times (I think this error is for every ip I try to assign)
RTNETLINK answers: No such process
SIOCSIFFLAGS: Cannot assign requested address
I have to wait some seconds and after that every thing works as I config, but how to free this error ?
Andrew