summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_default_route/r1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_default_route/r1')
-rw-r--r--tests/topotests/bgp_default_route/r1/bgpd.conf1
-rw-r--r--tests/topotests/bgp_default_route/r1/zebra.conf2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/topotests/bgp_default_route/r1/bgpd.conf b/tests/topotests/bgp_default_route/r1/bgpd.conf
index 8699d62..10ced36 100644
--- a/tests/topotests/bgp_default_route/r1/bgpd.conf
+++ b/tests/topotests/bgp_default_route/r1/bgpd.conf
@@ -3,6 +3,7 @@ router bgp 65000
neighbor 192.168.255.2 remote-as 65001
neighbor 192.168.255.2 timers 3 10
address-family ipv4 unicast
+ network 0.0.0.0/1
neighbor 192.168.255.2 default-originate
exit-address-family
!
diff --git a/tests/topotests/bgp_default_route/r1/zebra.conf b/tests/topotests/bgp_default_route/r1/zebra.conf
index 0a283c0..fbf97b0 100644
--- a/tests/topotests/bgp_default_route/r1/zebra.conf
+++ b/tests/topotests/bgp_default_route/r1/zebra.conf
@@ -1,4 +1,6 @@
!
+ip route 0.0.0.0/1 blackhole
+!
interface lo
ip address 172.16.255.254/32
!