log file zebra.log
!
hostname r1
!
# Create the various blackhole route types
ip route 4.5.6.7/32 blackhole
ipv6 route 4:5::6:7/128 blackhole
ip route 4.5.6.8/32 Null0
ipv6 route 4:5::6:8/128 Null0
ip route 4.5.6.9/32 reject
ipv6 route 4:5::6:9/128 reject
# Test various spellings of NULL0 to make sure we accept them
ip route 4.5.6.13/32 null0
ip route 4.5.6.14/32 NULL0
# Create normal gateway routes
ip route 4.5.6.10/32 192.168.0.2
ipv6 route 4:5::6:10/128 fc00:0:0:0::2
# Create normal gateway + interface routes
ip route 4.5.6.11/32 192.168.0.2 r1-eth0
ipv6 route 4:5::6:11/128 fc00:0:0:0::2 r1-eth0
# Create ifname routes
ip route 4.5.6.12/32 r1-eth0
ipv6 route 4:5::6:12/128 r1-eth0
# Create a route that has a large admin distance
# an admin distance of 255 should be accepted
# by zebra but not installed.
ip route 4.5.6.15/32 192.168.0.2 255
ipv6 route 4:5::6:15/128 fc00:0:0:0::2 255
# Routes to put into a nexthop-group
ip route 1.1.1.1/32 r1-eth1
ip route 1.1.1.2/32 r1-eth2
ip route 1.1.1.3/32 r1-eth3
ip route 1.1.1.4/32 r1-eth4
ip route 1.1.1.5/32 r1-eth5
ip route 1.1.1.6/32 r1-eth6
ip route 1.1.1.7/32 r1-eth7
ip route 1.1.1.8/32 r1-eth8

# Create a route that has overlapping distance
# so we have backups
ip route 4.5.6.16/32 192.168.0.2 5
ip route 4.5.6.16/32 192.168.0.4 10

# Create routes that have different tags
# and how we handle it
ip route 4.5.6.17/32 192.168.0.2 tag 9000
ip route 4.5.6.17/32 192.168.0.2 tag 10000

!
interface r1-eth0
 description to sw0 - no routing protocol
 ip address 192.168.0.1/24
 ipv6 address fc00:0:0:0::1/64
!
interface r1-eth1
 description to sw1 - RIP interface
 ip address 192.168.1.1/26
 ipv6 address fc00:0:0:1::1/64
 no link-detect
!
interface r1-eth2
 description to sw2 - RIPng interface
 ip address 192.168.2.1/26
 ipv6 address fc00:0:0:2::1/64
 no link-detect
!
interface r1-eth3
 description to sw3 - OSPFv2 interface
 ip address 192.168.3.1/26
 ipv6 address fc00:0:0:3::1/64
 no link-detect
!
interface r1-eth4
 description to sw4 - OSPFv3 interface
 ip address 192.168.4.1/26
 ipv6 address fc00:0:0:4::1/64
 no link-detect
!
interface r1-eth5
 description to sw5 - ISIS IPv4 interface
 ip address 192.168.5.1/26
 ipv6 address fc00:0:0:5::1/64
 no link-detect
!
interface r1-eth6
 description to sw6 - ISIS IPv6 interface
 ip address 192.168.6.1/26
 ipv6 address fc00:0:0:6::1/64
 no link-detect
!
interface r1-eth7
 description to sw7 - BGP IPv4 interface
 ip address 192.168.7.1/26
 ipv6 address fc00:0:0:7::1/64
 no link-detect
!
interface r1-eth8
 description to sw8 - BGP IPv6 interface
 ip address 192.168.8.1/26
 ipv6 address fc00:0:0:8::1/64
 no link-detect
!
interface r1-eth9
 description to sw9 - LDP interface
 ip address 192.168.9.1/26
 ipv6 address fc00:0:0:9::1/64

 no link-detect
!
!
ip forwarding
ipv6 forwarding
!
!
line vty
!

route-map LIES deny 10
  match interface notpresent
!
