renaming WIT customers prefix-list to be more consistent, in preparation for edge support

This commit is contained in:
toby 2018-10-08 18:20:48 +02:00
parent 460ee34f03
commit 1b891db635
2 changed files with 15 additions and 14 deletions

View File

@ -65,6 +65,7 @@ case "$1" in
iface lo inet static
address ${LOOPBACKv4}/32
iface lo inet6 static
address ${LOOPBACKv6}/128
EOF

View File

@ -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"