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

feat: force dhcp to use mac as client identifier #519

Merged
merged 2 commits into from
Aug 23, 2022
Merged

feat: force dhcp to use mac as client identifier #519

merged 2 commits into from
Aug 23, 2022

Conversation

richardcase
Copy link
Member

What this PR does / why we need it:

This change will force DHCP to use the mac address as the client
identifier when requesting a mac address. Without this (depending on
your distro) it may not use a mac address and the mv may not get a ip
address assigned to it.

Signed-off-by: Richard Case richard.case@outlook.com

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #518

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes

@richardcase richardcase added the kind/feature New feature or request label Aug 22, 2022
Match: cinetwork.Match{},
DHCP4: firecracker.Bool(true),
DHCP6: firecracker.Bool(true),
DHCPIdentifier: firecracker.String("mac"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be good to have that as a const, but otherwise LGTM

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, changed.

Callisto13
Callisto13 previously approved these changes Aug 23, 2022
This change will force DHCP to use the mac address as the client
identifier when requesting a mac address. Without this (depending on
your distro) it may not use a mac address and the mv may not get a ip
address assigned to it.

Signed-off-by: Richard Case <richard.case@outlook.com>
@richardcase richardcase merged commit 70e020d into liquidmetal-dev:main Aug 23, 2022
@richardcase richardcase deleted the 518_dhcp_use_mac branch August 23, 2022 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Force DHCP to use mac address
2 participants