[Bug 1584682] [NEW] after changing static ip: old ip still exists.

Launchpad Bug Tracker 1584682 at bugs.launchpad.net
Mon May 23 14:43:32 UTC 2016


You have been subscribed to a public bug:

i set a static ip address in /etc/network/interfaces:

auto eno1
iface eno1 inet static
        address 172.17.2.110
        netmask 255.255.0.0
        gateway xxx.xxx.xxx.xxx
        dns-nameserver xxx.xxx.xxx.xxx

ip a shows:
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 172.17.2.110/16 brd 172.17.255.255 scope global eno1
       valid_lft forever preferred_lft forever


after changing address from 172.17.2.110 to 172.17.2.111 in /etc/network/interfaces and executed systemctl restart networking.service the system has the old and the new ip address:

ip a:
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 172.17.2.110/16 brd 172.17.255.255 scope global eno1
       valid_lft forever preferred_lft forever
    inet 172.17.2.111/16 brd 172.17.255.255 scope global secondary eno1
       valid_lft forever preferred_lft forever


ip addr flush eno1 && systemctl restart networking.service is a
workaround.


Ubuntu 16.04 Server
fresh install
packages up to date

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
after changing static ip: old ip still exists.
https://bugs.launchpad.net/bugs/1584682
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to systemd in Ubuntu.



More information about the foundations-bugs mailing list