-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bgpd: fix ipv4-mapped ipv6 on non 6pe #15614
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d346d1a
Revert "bgpd: fix 6vpe nexthop"
louis-6wind 8599fe2
bgpd: optimize bgp_interface_address_add
louis-6wind 778e0df
bgpd: reduce bgp_interface_address_add indentation
louis-6wind b083885
bgpd: log new ipv6 global in bgp_interface_address_add
louis-6wind 424fe0b
bgpd: fix sending ipv6 local nexthop if global present
louis-6wind 62913cb
topotests: add bgp_nexthop_mp_ipv4_6 test
louis-6wind fc1dd2e
bgpd: optimize bgp_interface_address_del
louis-6wind ee0378c
bgpd: fix removing ipv6 global nexhop
louis-6wind 2de4dfc
bgpd: fix "used" json key on link-local nexthop
louis-6wind 04c220b
tests: ipv6 global removal in bgp_nexthop_mp_ipv4_6
louis-6wind fc5a738
bgpd: set ipv4-mapped ipv6 for ipv4 with ipv6 nexthop
louis-6wind 5dd731a
bgpd: prefer link-local to a ipv4-mapped ipv6 global
louis-6wind f1b8364
topotests: update bgp_vrf_leaking_5549_routes
louis-6wind File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ipv6 route ::/0 fd00:100::2 | ||
ip route 0.0.0.0/0 192.168.1.2 | ||
interface eth-r1 | ||
ip address 192.168.1.1/24 | ||
ipv6 address fd00:100::1/64 | ||
! |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ipv6 route ::/0 fd00:700::2 | ||
ip route 0.0.0.0/0 192.168.7.2 | ||
interface eth-r7 | ||
ip address 192.168.7.1/24 | ||
ipv6 address fd00:700::1/64 | ||
! |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ipv6 route ::/0 fd00:800::2 | ||
ip route 0.0.0.0/0 192.168.8.2 | ||
interface eth-r8 | ||
ip address 192.168.8.1/24 | ||
ipv6 address fd00:800::1/64 | ||
! |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"routes": { | ||
"192.168.1.0/24": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "", | ||
"nexthops": [ | ||
{ | ||
"ip": "0.0.0.0", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"192.168.7.0/24": [ | ||
{ | ||
"valid": true, | ||
"multipath": true, | ||
"path": "65000 65700", | ||
"nexthops": [ | ||
{ | ||
"ip": "172.16.1.3", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
}, | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65000 65700", | ||
"nexthops": [ | ||
{ | ||
"ip": "172.16.0.2", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"192.168.8.0/24": [ | ||
{ | ||
"valid": true, | ||
"multipath": true, | ||
"path": "65000 65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "172.16.1.3", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
}, | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65000 65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "172.16.0.2", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it work if we set
attribute-unchanged next-hop
?