f-54: lab: second route reflector, s6 qualifie la perte de chacun #54
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
9c14924729
commit
20bdd71990
13 changed files with 135 additions and 49 deletions
|
|
@ -1,6 +1,6 @@
|
|||
bgp:
|
||||
asn: 64600
|
||||
route_reflectors: [10.255.255.1]
|
||||
route_reflectors: [10.255.255.1, 10.255.255.2]
|
||||
watchdog:
|
||||
enabled: true
|
||||
interval_seconds: 10
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ dhcp:
|
|||
backend: two
|
||||
bgp:
|
||||
asn: 64600
|
||||
route_reflectors: [10.255.255.1]
|
||||
route_reflectors: [10.255.255.1, 10.255.255.2]
|
||||
watchdog:
|
||||
enabled: true
|
||||
interval_seconds: 10
|
||||
|
|
|
|||
|
|
@ -19,6 +19,10 @@ nodes:
|
|||
{ role: rr, image: debian12, cpus: 1, memory: 1024, segments: [underlay],
|
||||
addresses: { underlay: 192.168.14.2 }, secondary: { underlay: [169.254.0.3/28] },
|
||||
loopback: 10.255.255.1/32, frr: frr/rr1.conf }
|
||||
rr2:
|
||||
{ role: rr, image: debian12, cpus: 1, memory: 1024, segments: [underlay],
|
||||
addresses: { underlay: 192.168.14.3 }, secondary: { underlay: [169.254.0.4/28] },
|
||||
loopback: 10.255.255.2/32, frr: frr/rr2.conf }
|
||||
hv1:
|
||||
{ role: host, image: debian12, cpus: 4, memory: 16384, segments: [underlay],
|
||||
addresses: { underlay: 192.168.14.11 }, frr: frr/hv1.conf, provision: provision/hypervisor.sh,
|
||||
|
|
|
|||
|
|
@ -19,6 +19,10 @@ nodes:
|
|||
{ role: rr, image: debian12, cpus: 1, memory: 1024, segments: [underlay],
|
||||
addresses: { underlay: 192.168.14.2 }, secondary: { underlay: [169.254.0.3/28] },
|
||||
loopback: 10.255.255.1/32, frr: frr/rr1.conf }
|
||||
rr2:
|
||||
{ role: rr, image: debian12, cpus: 1, memory: 1024, segments: [underlay],
|
||||
addresses: { underlay: 192.168.14.3 }, secondary: { underlay: [169.254.0.4/28] },
|
||||
loopback: 10.255.255.2/32, frr: frr/rr2.conf }
|
||||
hv1:
|
||||
{ role: host, image: debian12, cpus: 4, memory: 16384, segments: [underlay],
|
||||
addresses: { underlay: 192.168.14.11 }, frr: frr/hv1.conf, provision: provision/hypervisor.sh,
|
||||
|
|
|
|||
43
test/e2e/topologies/frr/rr2.conf
Normal file
43
test/e2e/topologies/frr/rr2.conf
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
frr defaults traditional
|
||||
hostname rr2
|
||||
log syslog informational
|
||||
!
|
||||
ip prefix-list RR-LOOPBACK-OUT seq 10 permit 10.255.255.2/32
|
||||
!
|
||||
route-map NO-IN deny 999
|
||||
description deny
|
||||
exit
|
||||
!
|
||||
router bgp 65000
|
||||
no bgp default ipv4-unicast
|
||||
bgp router-id 10.255.255.2
|
||||
bgp cluster-id 10.255.255.2
|
||||
neighbor CLUSTER peer-group
|
||||
neighbor CLUSTER remote-as 65100
|
||||
neighbor CLUSTER bfd
|
||||
neighbor 169.254.0.1 peer-group CLUSTER
|
||||
neighbor 169.254.0.1 description router-1
|
||||
neighbor 169.254.0.2 peer-group CLUSTER
|
||||
neighbor 169.254.0.2 description router-2
|
||||
neighbor fabric peer-group
|
||||
neighbor fabric remote-as 64600
|
||||
neighbor fabric local-as 64600 no-prepend replace-as
|
||||
neighbor fabric capability extended-nexthop
|
||||
neighbor fabric update-source 10.255.255.2
|
||||
bgp listen range 192.168.14.0/24 peer-group fabric
|
||||
bgp listen limit 200
|
||||
!
|
||||
address-family ipv4 unicast
|
||||
network 10.255.255.2/32
|
||||
neighbor CLUSTER activate
|
||||
neighbor CLUSTER prefix-list RR-LOOPBACK-OUT out
|
||||
neighbor CLUSTER route-map NO-IN in
|
||||
exit-address-family
|
||||
!
|
||||
address-family l2vpn evpn
|
||||
neighbor fabric activate
|
||||
neighbor fabric route-reflector-client
|
||||
exit-address-family
|
||||
!
|
||||
exit
|
||||
!
|
||||
|
|
@ -3,6 +3,7 @@ hostname sw1
|
|||
log syslog informational
|
||||
!
|
||||
ip prefix-list RR-LOOPBACK-IN seq 10 permit 10.255.255.1/32
|
||||
ip prefix-list RR-LOOPBACK-IN seq 20 permit 10.255.255.2/32
|
||||
!
|
||||
route-map RR-IN permit 10
|
||||
match ip address prefix-list RR-LOOPBACK-IN
|
||||
|
|
@ -17,11 +18,17 @@ router bgp 65100
|
|||
neighbor 169.254.0.3 remote-as 65000
|
||||
neighbor 169.254.0.3 description rr1
|
||||
neighbor 169.254.0.3 bfd
|
||||
neighbor 169.254.0.4 remote-as 65000
|
||||
neighbor 169.254.0.4 description rr2
|
||||
neighbor 169.254.0.4 bfd
|
||||
!
|
||||
address-family ipv4 unicast
|
||||
neighbor 169.254.0.3 activate
|
||||
neighbor 169.254.0.3 route-map RR-IN in
|
||||
neighbor 169.254.0.3 route-map NO-OUT out
|
||||
neighbor 169.254.0.4 activate
|
||||
neighbor 169.254.0.4 route-map RR-IN in
|
||||
neighbor 169.254.0.4 route-map NO-OUT out
|
||||
exit-address-family
|
||||
!
|
||||
exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue