Actions
Bug #1522
closedChanging interface IP doesn't (always?) remove old interface IP
Start date:
05/12/2011
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
All
Description
When you change the IP of an interface (ex: LAN) using the Interfaces > [name] page, the old IP remains on the interface.
For example, changing the LAN IP from 192.168.1.1 to 192.168.10.1, upon applying the settings, ifconfig shows both IPs on the interface:
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM> ether 00:0c:29:41:01:67 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::20c:29ff:fe41:167%em1 prefixlen 64 scopeid 0x2 inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255 nd6 options=3<PERFORMNUD,ACCEPT_RTADV> media: Ethernet autoselect (1000baseT <full-duplex>) status: active
Side effect of this bug is being unable to change DHCP settings on LAN after applying, but that's really a separate issue I'll start another ticket for.
The expected behavior would be for the old IP to be removed, and only the new IP to be present.
Actions