T7973: do not disallow all-zero host part IPv6 host addresses#19
Merged
sever-sever merged 1 commit intovyos:currentfrom Dec 5, 2025
Merged
Conversation
jestabro
approved these changes
Dec 4, 2025
Contributor
jestabro
left a comment
There was a problem hiding this comment.
Drop restriction: logic is clear; simple test passes; integration tests included.
since they are valid unicast addresses, unlike in IPv4
f6ff925 to
779b5be
Compare
sever-sever
approved these changes
Dec 5, 2025
Member
There was a problem hiding this comment.
Manually tested
vyos@r14# run show conf com | match dum
set interfaces dummy dum1 address '2001:db8::1/64'
set interfaces dummy dum5 address '2001:db8::/32'
set interfaces dummy dum10 address '2001:db8::/128'
[edit]
vyos@r14#
[edit]
vyos@r14# run show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address MAC VRF MTU S/L Description
----------- ----------------- ----------------- ------- ----- ----- -------------
dum1 2001:db8::1/64 b6:f1:ac:db:59:2a default 1500 u/u
dum5 2001:db8::/32 82:ad:57:e0:0a:b8 default 1500 u/u
dum10 2001:db8::/128 62:b3:8e:5e:28:a1 default 1500 u/u
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.
Change Summary
As discussed in the task, all-zero host part IPv6 addresses are valid unicast addresses and other network vendors including Cisco and Arista allow them, and so should we.
Types of changes
Related Task(s)
Related PR(s)
Proposed changes
How to test
Checklist: