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:
parent
27fe654388
commit
2d6b531b3e
@ -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 %}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
!
|
||||
!
|
||||
|
@ -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
|
||||
!
|
||||
!
|
||||
|
Reference in New Issue
Block a user