summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_vpnv4_asbr/rr100
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_vpnv4_asbr/rr100')
-rw-r--r--tests/topotests/bgp_vpnv4_asbr/rr100/bgpd.conf29
-rw-r--r--tests/topotests/bgp_vpnv4_asbr/rr100/zebra.conf7
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/topotests/bgp_vpnv4_asbr/rr100/bgpd.conf b/tests/topotests/bgp_vpnv4_asbr/rr100/bgpd.conf
new file mode 100644
index 0000000..845d71b
--- /dev/null
+++ b/tests/topotests/bgp_vpnv4_asbr/rr100/bgpd.conf
@@ -0,0 +1,29 @@
+router bgp 65500
+ bgp router-id 192.0.2.100
+ no bgp ebgp-requires-policy
+ neighbor 192.0.2.2 remote-as 65500
+ neighbor 192.0.2.2 update-source lo
+ neighbor 192.168.0.2 remote-as 65500
+ neighbor 192.0.2.1 remote-as 65500
+ neighbor 192.0.2.1 update-source lo
+ neighbor 192.168.0.1 remote-as 65500
+ address-family ipv4 unicast
+ no neighbor 192.168.0.1 activate
+ no neighbor 192.0.2.1 activate
+ no neighbor 192.168.0.2 activate
+ no neighbor 192.0.2.2 activate
+ network 192.0.2.100/32
+ exit-address-family
+ address-family ipv4 labeled-unicast
+ neighbor 192.168.0.1 activate
+ neighbor 192.168.0.2 activate
+ neighbor 192.168.0.1 route-reflector-client
+ neighbor 192.168.0.2 route-reflector-client
+ exit-address-family
+ address-family ipv4 vpn
+ neighbor 192.0.2.1 activate
+ neighbor 192.0.2.2 activate
+ neighbor 192.0.2.1 route-reflector-client
+ neighbor 192.0.2.2 route-reflector-client
+ exit-address-family
+!
diff --git a/tests/topotests/bgp_vpnv4_asbr/rr100/zebra.conf b/tests/topotests/bgp_vpnv4_asbr/rr100/zebra.conf
new file mode 100644
index 0000000..2fa5285
--- /dev/null
+++ b/tests/topotests/bgp_vpnv4_asbr/rr100/zebra.conf
@@ -0,0 +1,7 @@
+log stdout
+interface lo
+ ip address 192.0.2.100/32
+!
+interface rr100-eth0
+ ip address 192.168.0.100/24
+!