internal loopback ipv6 fix (#7885)

In the multi asic platforms all the ASIC are advertising the same IPv6 /64 network from Loopback4096.
Therefore, the IPv6 loopback address of backend asic is not learnt on the frontend asic.
Change this to advertise the Loopback4096 address as /128
This commit is contained in:
arlakshm 2021-06-15 15:53:58 -07:00 committed by GitHub
parent 27fe654388
commit 2d6b531b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -79,7 +79,7 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
{% if multi_asic is defined %}
{% if get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback4096") != 'None' %}
address-family ipv6
network {{ get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback4096") | ip }}/64 route-map HIDE_INTERNAL
network {{ get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback4096") | ip }}/128 route-map HIDE_INTERNAL
exit-address-family
{% endif %}
{% endif %}

View File

@ -66,7 +66,7 @@ router bgp 55555
network fc00::1/64
exit-address-family
address-family ipv6
network fc00::2/64 route-map HIDE_INTERNAL
network fc00::2/128 route-map HIDE_INTERNAL
exit-address-family
!
address-family ipv6

View File

@ -41,7 +41,7 @@ router bgp 55555
network fc00::1/64
exit-address-family
address-family ipv6
network fc00::2/64 route-map HIDE_INTERNAL
network fc00::2/128 route-map HIDE_INTERNAL
exit-address-family
!
network 10.10.10.1/24

View File

@ -41,7 +41,7 @@ router bgp 55555
network fc00::1/64
exit-address-family
address-family ipv6
network fc00::2/64 route-map HIDE_INTERNAL
network fc00::2/128 route-map HIDE_INTERNAL
exit-address-family
!
network 10.10.10.1/24

View File

@ -75,7 +75,7 @@ router bgp 55555
network fc00::1/64
exit-address-family
address-family ipv6
network fc00::2/64 route-map HIDE_INTERNAL
network fc00::2/128 route-map HIDE_INTERNAL
exit-address-family
!
address-family ipv6

View File

@ -58,7 +58,7 @@ router bgp 65100
network fc00:1::32/64
exit-address-family
address-family ipv6
network fd00:4::32/64 route-map HIDE_INTERNAL
network fd00:4::32/128 route-map HIDE_INTERNAL
exit-address-family
!
!

View File

@ -58,7 +58,7 @@ router bgp 65100
network fc00:1::32/64
exit-address-family
address-family ipv6
network fd00:1::32/64 route-map HIDE_INTERNAL
network fd00:1::32/128 route-map HIDE_INTERNAL
exit-address-family
!
!