Change interface with virtual IPs
If on the interface (e.g. WAN/em1) are customised virtual IPs.
We change the interface on page 'Interfaces: Assign network ports' -> 'Interface assignments' for WAN from 'em1' to 'em1_vlan1' and save.
In system there is a new interface with correct IP.
em1_vlan1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3<RXCSUM,TXCSUM> inet 184.108.40.206 netmask 0xfffffff0 broadcast 220.127.116.11 inet 18.104.22.168 netmask 0xffffffff broadcast 22.214.171.124
And on the old interface too remain virtual IP.
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=1219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWFILTER> inet 126.96.36.199 netmask 0xffffffff broadcast 188.8.131.52
184.108.40.206 - Virtual IP
#3 Updated by Chris Buechler almost 9 years ago
- Status changed from Feedback to New
This is closer. Still one problem, when you switch interfaces like this, it does not delete the alias IPs from the previous interface. It does add them to the newly assigned interface correctly, but it needs to be removed from the previous interface.