networkd: prevent networkd interference of weave network devices #22
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.
Prevent networkd interference of weave network devices
This change prevents systemd-networkd interference with
the Weave virtual interfaces
weave
,datapath
andvxlan-6784
are all created by Weave. Documentation on theseinterfaces is available here:
This fixes DHCP issues introduced by networkd interference
reported by multiple users and mainly highlighted by this issue:
The issue doesn't seems to cause any significant impact on
performance, however it will cause Weave NPC to produce a
high volume of the following repetitive warning logs.
WARN: 2019/07/05 11:12:25.102451 UDP connection from 0.0.0.0:68 to 255.255.255.255:67 blocked by Weave NPC.
How to use
Having the
weave.network
file provided to networkd shouldbe enough.
Testing done
We have run many Flatcar instances in production with this configuration enabled, for at least one full week. The instances
are part of a many Kubernetes clusters using Weave as their network overlay.