From 817c6370bf60fb91f68fc4f0dc5428b317aa00ce Mon Sep 17 00:00:00 2001 From: Pavlo Yadvichuk Date: Sat, 22 Jun 2019 20:29:41 +0300 Subject: [PATCH] [frr.conf] Advertise /64 prefix for ipv6 lo addresses in case 'unified' config mode (#3045) Signed-off-by: Pavlo Yadvychuk --- dockers/docker-fpm-frr/frr.conf.j2 | 2 +- src/sonic-config-engine/tests/sample_output/frr.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dockers/docker-fpm-frr/frr.conf.j2 b/dockers/docker-fpm-frr/frr.conf.j2 index 297f79b2d3..d9dd6bf056 100644 --- a/dockers/docker-fpm-frr/frr.conf.j2 +++ b/dockers/docker-fpm-frr/frr.conf.j2 @@ -99,7 +99,7 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }} network {{ prefix | ip }}/32 {% elif prefix | ipv6 and name == 'Loopback0' %} address-family ipv6 - network {{ prefix | ip }}/128 + network {{ prefix | ip }}/64 exit-address-family {% endif %} {% endfor %} diff --git a/src/sonic-config-engine/tests/sample_output/frr.conf b/src/sonic-config-engine/tests/sample_output/frr.conf index 56d7122186..8e7f97cf8c 100644 --- a/src/sonic-config-engine/tests/sample_output/frr.conf +++ b/src/sonic-config-engine/tests/sample_output/frr.conf @@ -55,7 +55,7 @@ router bgp 65100 bgp router-id 10.1.0.32 network 10.1.0.32/32 address-family ipv6 - network fc00:1::32/128 + network fc00:1::32/64 exit-address-family network 192.168.0.1/27 neighbor 10.0.0.57 remote-as 64600