diff options
Diffstat (limited to 'tests/topotests/bgp_srv6l3vpn_over_ipv6/r1')
-rw-r--r-- | tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/bgpd.conf | 52 | ||||
-rw-r--r-- | tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/staticd.conf | 3 | ||||
-rw-r--r-- | tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/zebra.conf | 29 |
3 files changed, 84 insertions, 0 deletions
diff --git a/tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/bgpd.conf b/tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/bgpd.conf new file mode 100644 index 0000000..048702f --- /dev/null +++ b/tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/bgpd.conf @@ -0,0 +1,52 @@ +frr defaults traditional +! +hostname r1 +password zebra +! +log stdout notifications +log monitor notifications +log commands +! +router bgp 65001 + bgp router-id 192.0.2.1 + no bgp ebgp-requires-policy + no bgp default ipv4-unicast + neighbor 2001:db8::2 remote-as 65002 + neighbor 2001:db8::2 timers 3 10 + neighbor 2001:db8::2 timers connect 1 + neighbor 2001:db8::2 capability extended-nexthop + ! + segment-routing srv6 + locator default + ! + address-family ipv4 vpn + neighbor 2001:db8::2 activate + exit-address-family + ! +! +router bgp 65001 vrf vrf10 + bgp router-id 192.0.2.1 + ! + address-family ipv4 unicast + redistribute connected + sid vpn export 1 + rd vpn export 65001:10 + rt vpn both 0:10 + import vpn + export vpn + exit-address-family + ! +! +router bgp 65001 vrf vrf20 + bgp router-id 192.0.2.1 + ! + address-family ipv4 unicast + redistribute connected + sid vpn export 2 + rd vpn export 65001:20 + rt vpn both 0:20 + import vpn + export vpn + exit-address-family + ! +! diff --git a/tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/staticd.conf b/tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/staticd.conf new file mode 100644 index 0000000..662856f --- /dev/null +++ b/tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/staticd.conf @@ -0,0 +1,3 @@ +! +ipv6 route 2001:db8:2:2::/64 2001:db8::2 +! diff --git a/tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/zebra.conf b/tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/zebra.conf new file mode 100644 index 0000000..066748b --- /dev/null +++ b/tests/topotests/bgp_srv6l3vpn_over_ipv6/r1/zebra.conf @@ -0,0 +1,29 @@ +log file zebra.log +! +hostname r1 +! +interface lo + ipv6 address 2001:db8:1:1::1/128 +! +interface eth0 + ipv6 address 2001:db8::1/64 +! +interface eth1 vrf vrf10 + ip address 192.168.1.254/24 +! +interface eth2 vrf vrf20 + ip address 192.168.1.254/24 +! +segment-routing + srv6 + locators + locator default + prefix 2001:db8:1:1::/64 + ! + ! +! +ip forwarding +ipv6 forwarding +! +line vty +! |