[Bug 1619721] Re: IP changes with every reboot

2016-09-05 Thread Oliver Grawert
ogra@localhost:~$ cat /etc/machine-id 
79a9b831ef0c46e1afbb3bbd00816461
ogra@localhost:~$ sudo reboot
Connection to 192.168.2.47 closed by remote host.
Connection to 192.168.2.47 closed.
...

i see the IP changed to 192.168.2.23 in teh serial console output ...

ogra@localhost:~$ cat /etc/machine-id 
144a0d35563d419fa404d833641b6f51
ogra@localhost:~$

... and so did the machine-id ...

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

Title:
  IP changes with every reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1619721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1619721] Re: IP changes with every reboot

2016-09-05 Thread Oliver Grawert
http://paste.ubuntu.com/23136718/ has a grep for the MAC through the
leases file ...

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

Title:
  IP changes with every reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1619721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1619721] Re: IP changes with every reboot

2016-09-05 Thread Martin Pitt
networkd sends a DUID (https://tools.ietf.org/html/rfc3315#section-9)
composed of a constant vendor ID and /etc/machine-id. Does /etc/machine-
id change in between reboots for you for some reason?

FTR, we can also set "ClientIdentifier=mac" in the .network config.

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

Title:
  IP changes with every reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1619721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1619721] Re: IP changes with every reboot

2016-09-05 Thread Oliver Grawert
note that the device has not been rebooted since 2016/09/02 19:03:33 ...
(line 2746 in above paste), it only gets a new IP on reboot

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

Title:
  IP changes with every reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1619721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1619721] Re: IP changes with every reboot

2016-09-05 Thread Oliver Grawert
@pitti, well, it does so for all other devices relibaly ...

ogra@wall2:~$ ls -l /var/lib/dhcp/dhcpd.leases
-rw-r--r-- 1 root root 2076248 Sep  5 12:36 /var/lib/dhcp/dhcpd.leases

ogra@wall2:~$ grep DHC /var/log/syslog|tail -1
Sep  5 12:36:48 wall2 dhcpd: DHCPACK on 192.168.2.66 to 44:d9:e7:58:80:f9 
(APOffice) via p4p1

i highly doubt it is in any way related to the server ...

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

Title:
  IP changes with every reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1619721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1619721] Re: IP changes with every reboot

2016-09-04 Thread Martin Pitt
I cannot reproduce this; I'm using dnsmasq as a DNS server, not sure if
that makes any difference -- but the networkd (via netplan) client sends
the MAC and hostname, and dnsmasq always hands out the same IP for the
same MAC/host name. Can you check the leases file of your DHCP server
whether it actually stores MAC/hostname?


** Changed in: nplan (Ubuntu)
   Status: New => Incomplete

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

Title:
  IP changes with every reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1619721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1619721] Re: IP changes with every reboot

2016-09-02 Thread Oliver Grawert
... and i only used console-conf to configure the booted image ...

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

Title:
  IP changes with every reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1619721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1619721] Re: IP changes with every reboot

2016-09-02 Thread Oliver Grawert
http://paste.ubuntu.com/23124588/ has an excerpt of my DHCP server log

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

Title:
  IP changes with every reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1619721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs