配置如下:
r1:
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip address 12.1.1.1 24
[r1-GigabitEthernet0/0/0]int g0/0/1
[r1-GigabitEthernet0/0/1]ip address 13.1.1.1 24
[r1-GigabitEthernet0/0/1]int lo0
[r1-LoopBack0]ip address 1.1.1.1 24
[r1]rip 1
[r1-rip-1]version 2
[r1-rip-1]undo summary
[r1-rip-1]network 1.0.0.0
[r1-rip-1]network 12.0.0.0
[r1-rip-1]network 13.0.0.0
[r1]display ip routing-table
Route Flags: R - relay, D - download to fib
Routing Tables: Public
Destinations : 24 Routes : 31
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 Direct 0 0 D 1.1.1.1 LoopBack0
1.1.1.1/32 Direct 0 0 D 127.0.0.1 LoopBack0
1.1.1.255/32 Direct 0 0 D 127.0.0.1 LoopBack0
2.2.2.0/24 RIP 100 1 D 12.1.1.2 GigabitEthernet
0/0/0
3.3.3.3/32 RIP 100 1 D 13.1.1.2 GigabitEthernet
0/0/1
4.4.4.4/32 RIP 100 1 D 12.1.1.2 GigabitEthernet
0/0/0
RIP 100 1 D 13.1.1.2 GigabitEthernet
0/0/1
5.5.5.5/32 RIP 100 1 D 12.1.1.2 GigabitEthernet
0/0/0
RIP 100 1 D 13.1.1.2 GigabitEthernet
0/0/1
6.6.6.6/32 RIP 100 1 D 12.1.1.2 GigabitEthernet
0/0/0
RIP 100 1 D 13.1.1.2 GigabitEthernet
0/0/1
7.7.7.0/24 RIP 100 1 D 12.1.1.2 GigabitEthernet
0/0/0
RIP 100 1 D 13.1.1.2 GigabitEthernet
0/0/1
12.1.1.0/24 Direct 0 0 D 12.1.1.1 GigabitEthernet
0/0/0
12.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
12.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
13.1.1.0/24 Direct 0 0 D 13.1.1.1 GigabitEthernet
0/0/1
13.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
13.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
24.1.1.0/24 RIP 100 1 D 12.1.1.2 GigabitEthernet
0/0/0
34.1.1.0/24 RIP 100 1 D 13.1.1.2 GigabitEthernet
0/0/1
45.1.1.0/24 RIP 100 1 D 12.1.1.2 GigabitEthernet
0/0/0
RIP 100 1 D 13.1.1.2 GigabitEthernet
0/0/1
56.1.1.0/24 RIP 100 1 D 12.1.1.2 GigabitEthernet
0/0/0
RIP 100 1 D 13.1.1.2 GigabitEthernet
0/0/1
67.1.1.0/24 RIP 100 1 D 12.1.1.2 GigabitEthernet
0/0/0
RIP 100 1 D 13.1.1.2 GigabitEthernet
0/0/1
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
r2:
[r2]int g0/0/1
[r2-GigabitEthernet0/0/1]ip address 12.1.1.2 24
[r2-GigabitEthernet0/0/1]int g0/0/0
[r2-GigabitEthernet0/0/0]ip address 24.1.1.1 24
[r2-GigabitEthernet0/0/0]int lo0
[r2-LoopBack0]ip address 2.2.2.2 24
[r2]rip 1
[r2-rip-1]version 2
[r2-rip-1]un summary
[r2-rip-1]network 2.0.0.0
[r2-rip-1]network 12.0.0.0
[r2]ospf router-id 2.2.2.2
[r2-ospf-1]area 0
[r2-ospf-1-area-0.0.0.0]network 24.1.1.1 0.0.0.0
[r2]rip 1
[r2-rip-1]import-route ospf 1(重发布)
[r2]ospf 1
[r2-ospf-1]import-route rip(重发布)
[r2]ip ip-prefix aa permit 7.7.7.0 24(设置防环机制)
[r2]route-policy aa permit node 10
Info: New Sequence of this List.
[r2-route-policy]if-match ip-prefix aa
[r2-route-policy]apply preference 151
[r2]rip
[r2-rip-1]preference route-policy aa
[r2]ip ip-prefix bb permit 3.3.3.3 32
[r2]ip ip-prefix bb permit 34.1.1.0 24
[r2]int g0/0/1
[r2-GigabitEthernet0/0/1]rip metricout ip-prefix bb 2
[r2]ip ip-prefix cc permit 12.1.1.0 24
[r2]ip ip-prefix cc permit 2.2.2.0 24
[r2]route-policy cc permit node 10
Info: New Sequence of this List.
[r2-route-policy]if-match ip-prefix cc
[r2-route-policy]apply cost-type type-1
[r2]route-policy cc permit node 20
(建立一个新表,否则所有路由都过不来)
Info: New Sequence of this List.
[r2]ospf 1
[r2-ospf-1]import-route rip route-policy cc
[r2]display ip routing-table
Route Flags: R - relay, D - download to fib
Routing Tables: Public
Destinations : 24 Routes : 24
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 RIP 100 1 D 12.1.1.1 GigabitEthernet
0/0/1
2.2.2.0/24 Direct 0 0 D 2.2.2.2 LoopBack0
2.2.2.2/32 Direct 0 0 D 127.0.0.1 LoopBack0
2.2.2.255/32 Direct 0 0 D 127.0.0.1 LoopBack0
3.3.3.3/32 OSPF 10 2 D 24.1.1.2 GigabitEthernet
0/0/0
4.4.4.4/32 OSPF 10 1 D 24.1.1.2 GigabitEthernet
0/0/0
5.5.5.5/32 OSPF 10 2 D 24.1.1.2 GigabitEthernet
0/0/0
6.6.6.6/32 OSPF 10 3 D 24.1.1.2 GigabitEthernet
0/0/0
7.7.7.0/24 O_ASE 150 1 D 24.1.1.2 GigabitEthernet
0/0/0
12.1.1.0/24 Direct 0 0 D 12.1.1.2 GigabitEthernet
0/0/1
12.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
12.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
13.1.1.0/24 RIP 100 1 D 12.1.1.1 GigabitEthernet
0/0/1
24.1.1.0/24 Direct 0 0 D 24.1.1.1 GigabitEthernet
0/0/0
24.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
24.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
34.1.1.0/24 OSPF 10 2 D 24.1.1.2 GigabitEthernet
0/0/0
45.1.1.0/24 OSPF 10 2 D 24.1.1.2 GigabitEthernet
0/0/0
56.1.1.0/24 OSPF 10 3 D 24.1.1.2 GigabitEthernet
0/0/0
67.1.1.0/24 OSPF 10 4 D 24.1.1.2 GigabitEthernet
0/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
r3:
[r3]int g0/0/1
[r3-GigabitEthernet0/0/1]ip address 13.1.1.2 24
[r3-GigabitEthernet0/0/1]int g0/0/0
[r3-GigabitEthernet0/0/0]ip address 34.1.1.1 24
[r3-GigabitEthernet0/0/0]int lo0
[r3-LoopBack0]ip address 3.3.3.3 24
[r3]rip 1
[r3-rip-1]version 2
[r3-rip-1]un summary
[r3-rip-1]network 13.0.0.0
[r3]ospf router-id 3.3.3.3
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[r3-ospf-1-area-0.0.0.0]network 34.1.1.1 0.0.0.0
[r3]ospf 1
[r3-ospf-1]import-route rip(重发布)
[r3]rip 1
[r3-rip-1]import-route ospf 1(重发布)
[r3]ip ip-prefix aa permit 7.7.7.0 24(设置防环机制)
[r3]route-policy aa permit node 10
Info: New Sequence of this List.
[r3-route-policy]if-match ip-prefix aa
[r3-route-policy]apply preference 151
[r3]rip
[r3-rip-1]preference 100 route-policy aa
[r3]ip ip-prefix bb permit 24.1.1.0 24
[r3]int g0/0/1
[r3-GigabitEthernet0/0/1]rip metricout ip-prefix bb 2
[r3]ip ip-prefix cc permit 13.1.1.0 24
[r3]route-policy cc permit node 10
Info: New Sequence of this List.
[r3-route-policy]if-match ip-prefix cc
[r3-route-policy]apply cost-type type-1
[r3]route-policy cc permit node 20
Info: New Sequence of this List.
[r3]ospf 1
[r3-ospf-1]import-route rip route-policy cc
[r3]display ip routing-table
Route Flags: R - relay, D - download to fib
Routing Tables: Public
Destinations : 22 Routes : 22
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 RIP 100 1 D 13.1.1.1 GigabitEthernet
0/0/1
2.2.2.0/24 RIP 100 2 D 13.1.1.1 GigabitEthernet
0/0/1
3.3.3.3/32 Direct 0 0 D 127.0.0.1 LoopBack0
4.4.4.4/32 OSPF 10 1 D 34.1.1.2 GigabitEthernet
0/0/0
5.5.5.5/32 OSPF 10 2 D 34.1.1.2 GigabitEthernet
0/0/0
6.6.6.6/32 OSPF 10 3 D 34.1.1.2 GigabitEthernet
0/0/0
7.7.7.0/24 O_ASE 150 1 D 34.1.1.2 GigabitEthernet
0/0/0
12.1.1.0/24 RIP 100 1 D 13.1.1.1 GigabitEthernet
0/0/1
13.1.1.0/24 Direct 0 0 D 13.1.1.2 GigabitEthernet
0/0/1
13.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
13.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
24.1.1.0/24 OSPF 10 2 D 34.1.1.2 GigabitEthernet
0/0/0
34.1.1.0/24 Direct 0 0 D 34.1.1.1 GigabitEthernet
0/0/0
34.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
34.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
45.1.1.0/24 OSPF 10 2 D 34.1.1.2 GigabitEthernet
0/0/0
56.1.1.0/24 OSPF 10 3 D 34.1.1.2 GigabitEthernet
0/0/0
67.1.1.0/24 OSPF 10 4 D 34.1.1.2 GigabitEthernet
0/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
r4:
[r4]int g0/0/1
[r4-GigabitEthernet0/0/1]ip address 24.1.1.2 24
[r4-GigabitEthernet0/0/1]int g0/0/2
[r4-GigabitEthernet0/0/2]ip address 34.1.1.2 24
[r4-GigabitEthernet0/0/2]int lo0
[r4-LoopBack0]ip address 4.4.4.4 24
[r4-LoopBack0]int g0/0/0
[r4-GigabitEthernet0/0/0]ip address 45.1.1.1 24
[r4]ospf router-id 4.4.4.4
[r4-ospf-1]area 0
[r4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0
[r4-ospf-1-area-0.0.0.0]network 24.1.1.2 0.0.0.0
[r4-ospf-1-area-0.0.0.0]network 34.1.1.2 0.0.0.0
[r4-ospf-1-area-0.0.0.0]network 45.1.1.1 0.0.0.0
[r4]display ip routing-table
Route Flags: R - relay, D - download to fib
Routing Tables: Public
Destinations : 26 Routes : 27
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 O_ASE 150 1 D 24.1.1.1 GigabitEthernet
0/0/1
O_ASE 150 1 D 34.1.1.1 GigabitEthernet
0/0/2
2.2.2.0/24 O_ASE 150 2 D 24.1.1.1 GigabitEthernet
0/0/1
3.3.3.3/32 OSPF 10 1 D 34.1.1.1 GigabitEthernet
0/0/2
4.4.4.0/24 Direct 0 0 D 4.4.4.4 LoopBack0
4.4.4.4/32 Direct 0 0 D 127.0.0.1 LoopBack0
4.4.4.255/32 Direct 0 0 D 127.0.0.1 LoopBack0
5.5.5.5/32 OSPF 10 1 D 45.1.1.2 GigabitEthernet
0/0/0
6.6.6.6/32 OSPF 10 2 D 45.1.1.2 GigabitEthernet
0/0/0
7.7.7.0/24 O_ASE 150 1 D 45.1.1.2 GigabitEthernet
0/0/0
12.1.1.0/24 O_ASE 150 2 D 24.1.1.1 GigabitEthernet
0/0/1
13.1.1.0/24 O_ASE 150 2 D 34.1.1.1 GigabitEthernet
0/0/2
24.1.1.0/24 Direct 0 0 D 24.1.1.2 GigabitEthernet
0/0/1
24.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
24.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
34.1.1.0/24 Direct 0 0 D 34.1.1.2 GigabitEthernet
0/0/2
34.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/2
34.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/2
45.1.1.0/24 Direct 0 0 D 45.1.1.1 GigabitEthernet
0/0/0
45.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
45.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
56.1.1.0/24 OSPF 10 2 D 45.1.1.2 GigabitEthernet
0/0/0
67.1.1.0/24 OSPF 10 3 D 45.1.1.2 GigabitEthernet
0/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
r5:
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]ip address 45.1.1.2 24
[r5-GigabitEthernet0/0/1]int lo0
[r5-LoopBack0]ip address 5.5.5.5 24
[r5-LoopBack0]int g0/0/0
[r5-GigabitEthernet0/0/0]ip address 56.1.1.1 24
[r5]ospf router-id 5.5.5.5
[r5-ospf-1]area 0
[r5-ospf-1-area-0.0.0.0]network 5.5.5.5 0.0.0.0
[r5-ospf-1-area-0.0.0.0]network 45.1.1.2 0.0.0.0
[r5-ospf-1-area-0.0.0.0]network 56.1.1.1 0.0.0.0
[r5]display ip routing-table
Route Flags: R - relay, D - download to fib
Routing Tables: Public
Destinations : 24 Routes : 24
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 O_ASE 150 1 D 45.1.1.1 GigabitEthernet
0/0/1
2.2.2.0/24 O_ASE 150 3 D 45.1.1.1 GigabitEthernet
0/0/1
3.3.3.3/32 OSPF 10 2 D 45.1.1.1 GigabitEthernet
0/0/1
4.4.4.4/32 OSPF 10 1 D 45.1.1.1 GigabitEthernet
0/0/1
5.5.5.0/24 Direct 0 0 D 5.5.5.5 LoopBack0
5.5.5.5/32 Direct 0 0 D 127.0.0.1 LoopBack0
5.5.5.255/32 Direct 0 0 D 127.0.0.1 LoopBack0
6.6.6.6/32 OSPF 10 1 D 56.1.1.2 GigabitEthernet
0/0/0
7.7.7.0/24 O_ASE 150 1 D 56.1.1.2 GigabitEthernet
0/0/0
12.1.1.0/24 O_ASE 150 3 D 45.1.1.1 GigabitEthernet
0/0/1
13.1.1.0/24 O_ASE 150 3 D 45.1.1.1 GigabitEthernet
0/0/1
24.1.1.0/24 OSPF 10 2 D 45.1.1.1 GigabitEthernet
0/0/1
34.1.1.0/24 OSPF 10 2 D 45.1.1.1 GigabitEthernet
0/0/1
45.1.1.0/24 Direct 0 0 D 45.1.1.2 GigabitEthernet
0/0/1
45.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
45.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
56.1.1.0/24 Direct 0 0 D 56.1.1.1 GigabitEthernet
0/0/0
56.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
56.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
67.1.1.0/24 OSPF 10 2 D 56.1.1.2 GigabitEthernet
0/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
r6:
[r6]int g0/0/1
[r6-GigabitEthernet0/0/1]ip address 56.1.1.2 24
[r6-GigabitEthernet0/0/1]int g0/0/0
[r6-GigabitEthernet0/0/0]ip address 67.1.1.1 24
[r6-GigabitEthernet0/0/0]int lo0
[r6-LoopBack0]ip address 6.6.6.6 24
[r6]ospf router-id 6.6.6.6
[r6-ospf-1]area 0
[r6-ospf-1-area-0.0.0.0]network 6.6.6.6 0.0.0.0
[r6-ospf-1-area-0.0.0.0]network 56.1.1.2 0.0.0.0
[r6-ospf-1-area-0.0.0.0]network 67.1.1.1 0.0.0.0
[r6]display ip routing-table
Route Flags: R - relay, D - download to fib
Routing Tables: Public
Destinations : 24 Routes : 24
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 O_ASE 150 1 D 56.1.1.1 GigabitEthernet
0/0/1
2.2.2.0/24 O_ASE 150 4 D 56.1.1.1 GigabitEthernet
0/0/1
3.3.3.3/32 OSPF 10 3 D 56.1.1.1 GigabitEthernet
0/0/1
4.4.4.4/32 OSPF 10 2 D 56.1.1.1 GigabitEthernet
0/0/1
5.5.5.5/32 OSPF 10 1 D 56.1.1.1 GigabitEthernet
0/0/1
6.6.6.0/24 Direct 0 0 D 6.6.6.6 LoopBack0
6.6.6.6/32 Direct 0 0 D 127.0.0.1 LoopBack0
6.6.6.255/32 Direct 0 0 D 127.0.0.1 LoopBack0
7.7.7.0/24 O_ASE 150 1 D 67.1.1.2 GigabitEthernet
0/0/0
12.1.1.0/24 O_ASE 150 4 D 56.1.1.1 GigabitEthernet
0/0/1
13.1.1.0/24 O_ASE 150 4 D 56.1.1.1 GigabitEthernet
0/0/1
24.1.1.0/24 OSPF 10 3 D 56.1.1.1 GigabitEthernet
0/0/1
34.1.1.0/24 OSPF 10 3 D 56.1.1.1 GigabitEthernet
0/0/1
45.1.1.0/24 OSPF 10 2 D 56.1.1.1 GigabitEthernet
0/0/1
56.1.1.0/24 Direct 0 0 D 56.1.1.2 GigabitEthernet
0/0/1
56.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
56.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
67.1.1.0/24 Direct 0 0 D 67.1.1.1 GigabitEthernet
0/0/0
67.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
67.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
r7:
[r7]int g0/0/1
[r7-GigabitEthernet0/0/1]ip address 67.1.1.2 24
[r7-GigabitEthernet0/0/1]int lo0
[r7-LoopBack0]ip address 7.7.7.7 24
[r7]ospf router-id 7.7.7.7
[r7-ospf-1]area 0
[r7-ospf-1-area-0.0.0.0]network 67.1.1.2 0.0.0.0
[r7]ospf 1
[r7-ospf-1]import-route direct
[r7]display ip routing-table
Route Flags: R - relay, D - download to fib
Routing Tables: Public
Destinations : 22 Routes : 22
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 O_ASE 150 1 D 67.1.1.1 GigabitEthernet
0/0/1
2.2.2.0/24 O_ASE 150 5 D 67.1.1.1 GigabitEthernet
0/0/1
3.3.3.3/32 OSPF 10 4 D 67.1.1.1 GigabitEthernet
0/0/1
4.4.4.4/32 OSPF 10 3 D 67.1.1.1 GigabitEthernet
0/0/1
5.5.5.5/32 OSPF 10 2 D 67.1.1.1 GigabitEthernet
0/0/1
6.6.6.6/32 OSPF 10 1 D 67.1.1.1 GigabitEthernet
0/0/1
7.7.7.0/24 Direct 0 0 D 7.7.7.7 LoopBack0
7.7.7.7/32 Direct 0 0 D 127.0.0.1 LoopBack0
7.7.7.255/32 Direct 0 0 D 127.0.0.1 LoopBack0
12.1.1.0/24 O_ASE 150 5 D 67.1.1.1 GigabitEthernet
0/0/1
13.1.1.0/24 O_ASE 150 5 D 67.1.1.1 GigabitEthernet
0/0/1
24.1.1.0/24 OSPF 10 4 D 67.1.1.1 GigabitEthernet
0/0/1
34.1.1.0/24 OSPF 10 4 D 67.1.1.1 GigabitEthernet
0/0/1
45.1.1.0/24 OSPF 10 3 D 67.1.1.1 GigabitEthernet
0/0/1
56.1.1.0/24 OSPF 10 2 D 67.1.1.1 GigabitEthernet
0/0/1
67.1.1.0/24 Direct 0 0 D 67.1.1.2 GigabitEthernet
0/0/1
67.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
67.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
谢谢大家!