1
i want to add multiple addresses ( 20 addresses) to a single linux box. To test the master slave configuration i want to setup this one.so these 20 ip's will act as slaves. i know how to add the virtual ip, but after adding that networking is not going to restart.
auto eth0:1
iface eth0:1 inet static
address 192.168.249.150
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.0.232
dns-nameservers 8.8.8.8
i added like this up to 20 addresses. then i try to restart the network. but it is saying that
RTNETLINK answers: File exists Failed to bring up eth0:1.
can i know the exact procedure to do this.