Hey,
I've just been trying to create a virtual address on the same interface.
I need one static address for the internet, and another (virtual) static IP for mysql server running on 9.0.0.10
Here is my /etc/network/interfaces configuration:
Code:
auto lo
iface lo inet loopback
auto eth0 eth0:0
iface eth0 inet static
address 10.0.54.127
netmask 255.255.252.0
gateway 10.0.52.1
iface eth0:0 inet static
address 9.0.0.10
netmask 255.0.0.0
gateway 10.0.52.1
eth0 seems fine, but eth0:0 doesn't come up when the networking is restarted. I get "SIOCSIFFLAGS: Cannot assign requested address" and "Failed to bring up eth0:0"
Any ideas what's wrong here?
Many thanks