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

asche launchpad at masche85.de
Mon May 23 14:43:30 UTC 2016


** Package changed: ubuntu => systemd (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1584682

Title:
  after changing static ip: old ip still exists.

Status in systemd package in Ubuntu:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1584682/+subscriptions



More information about the foundations-bugs mailing list