diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index 56ae43b..078c322 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -65,6 +65,7 @@ case "$1" in iface lo inet static address ${LOOPBACKv4}/32 + iface lo inet6 static address ${LOOPBACKv6}/128 EOF diff --git a/files/frr.conf.wit b/files/frr.conf.wit index 2b1bdf3..d39a83b 100644 --- a/files/frr.conf.wit +++ b/files/frr.conf.wit @@ -46,26 +46,26 @@ router bgp NODEASN exit-address-family ! ip prefix-list LOOPBACK seq 5 permit 10.1.0.0/16 ge 32 -ip prefix-list WITV4 seq 5 permit 168.245.146.0/24 ge 25 -ip prefix-list WITV4 seq 10 permit 170.199.210.0/24 ge 25 -ip prefix-list WITV4 seq 15 permit 170.199.211.0/24 ge 25 -ip prefix-list WITV4 seq 20 permit 170.199.212.0/24 ge 25 -ip prefix-list WITV4 seq 25 permit 170.199.213.0/24 ge 25 -ip prefix-list WITV4 seq 30 permit 170.199.214.0/24 ge 25 -ip prefix-list WITV4 seq 35 permit 170.199.215.0/24 ge 25 -ip prefix-list WITV4 seq 40 permit 170.199.216.0/24 ge 25 -ip prefix-list WITV4 seq 45 permit 170.199.217.0/24 ge 25 +ip prefix-list WIT-CUSTOMERS seq 5 permit 168.245.146.0/24 ge 25 +ip prefix-list WIT-CUSTOMERS seq 10 permit 170.199.210.0/24 ge 25 +ip prefix-list WIT-CUSTOMERS seq 15 permit 170.199.211.0/24 ge 25 +ip prefix-list WIT-CUSTOMERS seq 20 permit 170.199.212.0/24 ge 25 +ip prefix-list WIT-CUSTOMERS seq 25 permit 170.199.213.0/24 ge 25 +ip prefix-list WIT-CUSTOMERS seq 30 permit 170.199.214.0/24 ge 25 +ip prefix-list WIT-CUSTOMERS seq 35 permit 170.199.215.0/24 ge 25 +ip prefix-list WIT-CUSTOMERS seq 40 permit 170.199.216.0/24 ge 25 +ip prefix-list WIT-CUSTOMERS seq 45 permit 170.199.217.0/24 ge 25 ! ipv6 prefix-list LOOPBACK seq 5 permit 2604:bbc0:0:100::/56 ge 128 -ipv6 prefix-list WITV6-CUSTOMERS seq 10 permit 2604:bbc0:1::/48 ge 64 -ipv6 prefix-list WITV6-CUSTOMERS seq 20 permit 2604:bbc0:2::/48 ge 64 -ipv6 prefix-list WITV6-CUSTOMERS seq 30 permit 2604:bbc0:3::/48 ge 64 +ipv6 prefix-list WIT-CUSTOMERS seq 10 permit 2604:bbc0:1::/48 ge 64 +ipv6 prefix-list WIT-CUSTOMERS seq 20 permit 2604:bbc0:2::/48 ge 64 +ipv6 prefix-list WIT-CUSTOMERS seq 30 permit 2604:bbc0:3::/48 ge 64 ! route-map EIPv4 permit 5 - match ip address prefix-list WITV4 + match ip address prefix-list WIT-CUSTOMERS ! route-map EIPv6 permit 5 - match ipv6 address prefix-list WITV6-CUSTOMERS + match ipv6 address prefix-list WIT-CUSTOMERS ! route-map LOCALNETSv4 permit 5 description "permit loopback ips"