Ensure we use a stable DUID for DHCPv6 exchanges#267
Draft
Conversation
- Package `ndpd.conf` in the switch zone with defaults that preclude DHCPv6 on any interface. - After fetching the correct, stable MAC addresses from the switch SP, `dpd` now uses the base MAC to write out a DUID to a file where illumos's `dhpcagent` can pick it up and use it later in exchanges. - For the VLANs representing the techports, `tfportd` now creates both a link-local address and allows DHCPv6 to run on the interface as well. This should trigger `dhcpagent`, which would pick up the stable DUID from the previous item. - Some misc cleanup, logging improvements, `IdOrdMap` over `BTreeMap`
658e37b to
5bece81
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ndpd.confin the switch zone with defaults that preclude DHCPv6 on any interface.dpdnow uses the base MAC to write out a DUID to a file where illumos'sdhpcagentcan pick it up and use it later in exchanges.tfportdnow creates both a link-local address and allows DHCPv6 to run on the interface as well. This should triggerdhcpagent, which would pick up the stable DUID from the previous item.IdOrdMapoverBTreeMap