summaryrefslogtreecommitdiffstats
path: root/tests/topotests/all-protocol-startup/r1/zebra.conf
blob: 30e05f01e38a457c8eadd1664a2c448f991de6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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
# 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/32 r1-eth0
!
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
!