summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_self_prefix/r1/frr.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_self_prefix/r1/frr.conf')
-rw-r--r--tests/topotests/bgp_self_prefix/r1/frr.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/topotests/bgp_self_prefix/r1/frr.conf b/tests/topotests/bgp_self_prefix/r1/frr.conf
new file mode 100644
index 0000000000..879afb1947
--- /dev/null
+++ b/tests/topotests/bgp_self_prefix/r1/frr.conf
@@ -0,0 +1,19 @@
+!
+int lo
+ ip address 10.0.0.1/32
+!
+int r1-eth0
+ ip address 192.168.1.1/24
+!
+router bgp 65000
+ no bgp ebgp-requires-policy
+ no bgp network import-check
+ neighbor 10.0.0.2 remote-as internal
+ neighbor 10.0.0.2 update-source lo
+ neighbor 10.0.0.2 next-hop-self
+ neighbor 10.0.0.3 remote-as external
+ neighbor 10.0.0.3 update-source lo
+ neighbor 10.0.0.3 next-hop-self
+!
+ip route 10.0.0.2/32 192.168.1.2
+ip route 10.0.0.3/32 192.168.1.3