Project

General

Profile

Bug #694

Change interface with virtual IPs

Added by Mike Stupalov about 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
06/24/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

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 77.222.44.10 netmask 0xfffffff0 broadcast 77.222.44.15
    inet 77.222.44.12 netmask 0xffffffff broadcast 77.222.44.12

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 77.222.44.12 netmask 0xffffffff broadcast 77.222.44.12

77.222.44.12 - Virtual IP

Associated revisions

Revision f6f5fde1 (diff)
Added by Ermal Luçi about 9 years ago

Fixes #694. Actually if the vip interface changes take proper actions to clean up on the previous interface.

History

#1 Updated by Chris Buechler about 9 years ago

  • Target version set to 2.0

#2 Updated by Ermal Luçi about 9 years ago

  • Status changed from New to Feedback

This should be fixed as part of another commit.

#3 Updated by Chris Buechler about 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.

#4 Updated by Ermal Luçi about 9 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#5 Updated by Ermal Luçi over 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF