Since several years I have a system running Webmin GPL 1.860 / Virtualmin 6.01-3 / Ubuntu 14.04.1 with a total of four IPv4 addresses on one physical ethernet card.
When I first set it up, all four were defined in /etc/network/interfaces.
The first one was declared as :
iface eth0 inet static
address XX.XX.XX.209
The additional 3 were activated by adding these lines:
up ip addr add XX.XX.XX.216/32 dev eth0
down ip addr del XX.XX.XX.216/32 dev eth0
up ip addr add XX.XX.XX.218/32 dev eth0
down ip addr del XX.XX.XX.218/32 dev eth0
up ip addr add XX.XX.XX.219/32 dev eth0
down ip addr del XX.XX.XX.219/32 dev eth0
But somewhere in the courseof the updates of Virtualmin or Webmin this must have changed, because if I look at that file now, it has only the first IP.
The system is still running and all four IPs are still functioning, but is hasn’t been rebooted in nearly two years, and since I can’t find where the additional IPs get activated, I’m a bit worried that after a reboot they would no longer work.
If I open the Virtualmin network configuration and look at “Network interfaces”, it shows only the first IP as ETH0, with zero virtual interfaces.
So were are the other three added in?
Many thanks for your help!