Hi Everybody,
I want add virtual ip for my pc(Ubuntu 11.10).I have edited the file
#vi /etc/network/interface and added the below line
auto eth0
iface eth0 inet static
address 192.168.0.190
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.8
auto eth0:1
iface eth0:1 inet static
address 192.168.0.41
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.8
But while restarting the network service gives the below error
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... RTNETLINK answers: File exists
Failed to bring up eth0:1.
Any suggestion highly appreciated .
Thanks in advance



Adv Reply




Bookmarks