[wicked-devel] any way of keeping a fixed duid.xml ?
I already asked on opensuse-general, but no answers - As far as I can tell, duid.xml (/var/lib/wicked/duid.xml) is generated during installation, but at least partially based on an interface MAC address: 00:01:00:01:1f:b8:72:38:00:19:99:4e:1e:98 When testing and re-installing or booting a rescue system somewhat frequently, it is most annoying to have the duid change all the time. I have to either amend dhcp6.conf or edit the duid directly once the system is installed. Is there a way (kernel argument perhaps?) to stop the duid changing? Thanks Per Jessen -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
Hi! Yes, you can pass it to linuxrc (installer/rescue) via kernel parameter like this: ifcfg=*=dhcp,DHCLIENT6_CLIENT_ID=00:01:00:01:1f:b8:72:38:00:19:99:4e:1e:98 ^ | interface name or also the shorter type 3 DUID (non-persistent store duid-ll, without 1f:b8:72:38 time in secs since 2001 % 2^32): ifcfg=*=dhcp,DHCLIENT6_CLIENT_ID=00:03:00:01:00:19:99:4e:1e:98 ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ duid hwaddr hw (mac) address type type See also https://en.opensuse.org/SDB:Linuxrc BTW: The "hardware ethernet 00:19:99:4e:1e:98" in ISC dhcpd6 is matching the mac in both duid types, regardless of the time... Am 21.11.2016 um 15:27 schrieb Per Jessen:
I already asked on opensuse-general, but no answers -
As far as I can tell, duid.xml (/var/lib/wicked/duid.xml) is generated during installation, but at least partially based on an interface MAC address:
00:01:00:01:1f:b8:72:38:00:19:99:4e:1e:98
When testing and re-installing or booting a rescue system somewhat frequently, it is most annoying to have the duid change all the time. I have to either amend dhcp6.conf or edit the duid directly once the system is installed.
Is there a way (kernel argument perhaps?) to stop the duid changing?
Thanks Per Jessen
Gruesse / Regards, Marius Tomaschewski <mt@suse.de>, <mt@suse.com> -- SUSE LINUX GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg), Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
This causes to add the DHCLIENT6_CLIENT_ID=... variable to ifcfg files that linuxrc creates, which override the default duid.xml. Am 24.11.2016 um 11:51 schrieb Marius Tomaschewski:
Hi!
Yes, you can pass it to linuxrc (installer/rescue) via kernel parameter like this:
ifcfg=*=dhcp,DHCLIENT6_CLIENT_ID=00:01:00:01:1f:b8:72:38:00:19:99:4e:1e:98 ^ | interface name
or also the shorter type 3 DUID (non-persistent store duid-ll, without 1f:b8:72:38 time in secs since 2001 % 2^32):
ifcfg=*=dhcp,DHCLIENT6_CLIENT_ID=00:03:00:01:00:19:99:4e:1e:98 ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ duid hwaddr hw (mac) address type type
See also https://en.opensuse.org/SDB:Linuxrc
BTW: The "hardware ethernet 00:19:99:4e:1e:98" in ISC dhcpd6 is matching the mac in both duid types, regardless of the time...
Am 21.11.2016 um 15:27 schrieb Per Jessen:
I already asked on opensuse-general, but no answers -
As far as I can tell, duid.xml (/var/lib/wicked/duid.xml) is generated during installation, but at least partially based on an interface MAC address:
00:01:00:01:1f:b8:72:38:00:19:99:4e:1e:98
When testing and re-installing or booting a rescue system somewhat frequently, it is most annoying to have the duid change all the time. I have to either amend dhcp6.conf or edit the duid directly once the system is installed.
Is there a way (kernel argument perhaps?) to stop the duid changing?
Thanks Per Jessen
Gruesse / Regards, Marius Tomaschewski <mt@suse.de>, <mt@suse.com>
Gruesse / Regards, Marius Tomaschewski <mt@suse.de>, <mt@suse.com> -- SUSE LINUX GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg), Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
participants (2)
-
Marius Tomaschewski
-
Per Jessen