From 0b2b6125e3261ffb0d693fd633ea18dc92d31317 Mon Sep 17 00:00:00 2001 From: Pavlo Yadvychuk Date: Wed, 19 Jun 2019 05:25:01 -0700 Subject: [PATCH 1/2] [frr.conf] Advertise /64 prefix for ipv6 lo addresses Signed-off-by: Pavlo Yadvychuk --- dockers/docker-fpm-frr/frr.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockers/docker-fpm-frr/frr.conf.j2 b/dockers/docker-fpm-frr/frr.conf.j2 index 297f79b2d302..d9dd6bf05633 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 %} From 990bde7368a99758dc416157e5d2e4bb70db0d68 Mon Sep 17 00:00:00 2001 From: Pavlo Yadvychuk Date: Thu, 20 Jun 2019 01:16:57 -0700 Subject: [PATCH 2/2] Adjust cfggen test to /64 prefix for ipv6 lo addresses Signed-off-by: Pavlo Yadvychuk --- src/sonic-config-engine/tests/sample_output/frr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-config-engine/tests/sample_output/frr.conf b/src/sonic-config-engine/tests/sample_output/frr.conf index 56d7122186b2..8e7f97cf8c55 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