Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dhcp client id will be same for all clones #1

Open
hillar opened this issue Apr 20, 2020 · 0 comments
Open

dhcp client id will be same for all clones #1

hillar opened this issue Apr 20, 2020 · 0 comments
Assignees
Labels

Comments

@hillar
Copy link
Owner

hillar commented Apr 20, 2020

The cause of the problem is that sometimes the built-in network config ( for example of Ubuntu 18.04+) not uses the NIC Mac address as the default id for DHCP requests.

netplan

dhcp4: true
dhcp-identifier: mac

Set to ‘mac’ to pass that setting over to systemd-networkd to use the device’s MAC address as a unique identifier rather than a RFC4361-compliant Client ID. This has no effect when NetworkManager is used as a renderer.

systemd.network

ClientIdentifier=mac

The DHCPv4 client identifier to use. Takes one of "mac", "duid" or "duid-only". If set to "mac", the MAC address of the link is used.

The /etc/machine-id file contains the unique machine ID of the local system that is set during installation or boot.
The machine ID does not change based on local or network configuration or when hardware is replaced.

@hillar hillar self-assigned this Apr 20, 2020
@hillar hillar added the bug label Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant