Import Upstream version 1.2.2
[quagga-debian.git] / zebra / testrib.conf
1 !
2 ! Zebra configuration saved from vty
3 !   2007/04/01 17:46:48
4 !
5 password foo
6 log stdout
7 service advanced-vty
8 !
9 debug zebra rib
10 debug zebra kernel
11 !
12 interface eth0
13  ip address 10.0.0.1/24
14  ipv6 address 1::0:1/64
15  state up
16 !
17 interface eth1
18  ip address 10.0.1.1/24
19  ipv6 address 1::1:1/64
20 !
21 interface eth2
22  ip address 10.0.2.1/24
23  ipv6 address 1::2:1/64
24 !
25 ! Unnumbered
26 interface foo1
27  ip address 192.168.1.1/32
28  ipv6 address 2::1:1/128
29 !
30 interface foo0
31  ip address 192.168.1.1/32
32  ip address 192.168.1.1/24 label foo
33  ipv6 address 2::1:1/128
34  state up
35 !
36
37 ! statics that should be subsumed by connected routes, according to interface
38 ! state
39 ip route 10.0.0.0/24 10.0.1.254
40 ip route 10.0.1.0/24 10.0.2.254
41 ip route 10.0.2.0/24 10.0.0.254
42 ipv6 route 1::0:0/64 1::1:f
43 ipv6 route 1::1:0/64 1::2:f
44 ipv6 route 1::2:0/64 1::0:f
45
46 ! null route
47 ip route 10.1.0.1/32 null0
48 ipv6 route 100::1:1/128 null0
49
50 ! normalish routes
51 ip route 1.1.2.0/24 10.0.0.2
52 ipv6 route 80::/64 1::0:e
53
54 ! different admin distances
55 ip route 1.1.0.2/32 10.0.0.3 10
56 ip route 1.1.0.2/32 10.0.0.4 20
57 ip route 1.1.0.2/32 10.0.1.3 30
58
59 ipv6 route 90::1/128 1::0:a 10
60 ipv6 route 90::1/128 1::0:b 20
61 ipv6 route 90::1/128 1::1:c 30
62
63 ! multiple-nexthop + distance
64 ip route 1.1.0.2/32 10.0.0.5 10
65 ipv6 route 90::1/128 1::0:d 10
66
67 ! a recursive route, potentially.
68 ip route 1.1.3.0/24 10.0.0.2
69 ! double recursive, potentially
70 ip route 1.1.0.1/32 1.1.3.1
71 !
72 ip route 1.1.1.0/24 1.1.2.2
73
74 line vty
75  exec-timeout 0 0
76 !