How to control (up/down) a virtual IP interface (eth0:1)
I am looking for a method to control virtual IPs (IP aliases) like an real interface with ifconfig/ip or ifup/-down.
The reason: I want to run a BIND on 2 machines with 2 separate IP addresses and on shared (service) IP address.
In other Linux distributions it goes like (i.e.)
ifconfig eth0:1 address 192.168.10.10 netmask 255.255.255.0
ifconfig eth0:1 up
That doesn't work in SLESS 11. I can create a virtual interface and use it but I cannot take ist down or up independed from the parent interface (i.e. eth0).
I appreciate any answers !
Thanks in advance !