[r3]ip route-static 0.0.0.0 0.0.0.0 12.1.1.2
[r5]ip route-static 0.0.0.0 0.0.0.0 23.1.1.1
[r6]ip route-static 0.0.0.0 0.0.0.0 34.1.1.1
[r7]ip route-static 0.0.0.0 0.0.0.0 45.1.1.1
R3:
int Tunnel 0/0/0
ip add 10.1.1.1 255.255.255.0
tunnel-protocol gre p2mp
source 12.1.1.1
nhrp entry multicast dynamic
nhrp network-id 100
R5:
int Tunnel 0/0/0
ip add 10.1.1.2 255.255.255.0
tunnel-protocol gre p2mp
source Serial 4/0/0
nhrp network-id 100
nhrp entry 10.1.1.1 12.1.1.1 register
R6:
int Tunnel 0/0/0
ip add 10.1.1.3 255.255.255.0
tunnel-protocol gre p2mp
source Serial 4/0/0
nhrp network-id 100
nhrp entry 10.1.1.1 12.1.1.1 register
R7:
int Tunnel 0/0/0
ip add 10.1.1.4 255.255.255.0
tunnel-protocol gre p2mp
source Serial 4/0/0
nhrp network-id 100
nhrp entry 10.1.1.1 12.1.1.1 register
R1:
sys
ospf 1 router-id 1.1.1.1
area 1
network 172.16.0.0 0.0.255.255
R2:
sys
ospf 1 router-id 1.1.1.1
area 1
network 172.16.0.0 0.0.255.255
R3:
sys
ospf 1 router-id 3.3.3.3
area 0
network 172.16.0.129 0.0.0.0
area 1
network 172.16.32.131 0.0.0.0
network 172.16.34.1 0.0.0.0
R5:
sys
ospf 1 router-id 5.5.5.5
area 0
network 172.16.0.0 0.0.255.255
R6:
sys
ospf 1 router-id 6.6.6.6
area 0
network 172.16.0.0 0.0.1.255
area 2
network 172.16.64.1 0.0.0.0
R7:
sys
ospf 1 router-id 7.7.7.7
area 0
network 172.16.0.0 0.0.3.255
area 3
network 172.16.96.1 0.0.0.0
R8:
sys
ospf 1 router-id 8.8.8.8
area 3
network 172.16.0.0 0.0.255.255
R9:
sys
ospf 1 router-id 9.9.9.9
area 3
network 172.16.96.6 0.0.0.0
area 4
network 172.16.128.0 0.0.1.255
R10:
sys
ospf 1 router-id 10.10.10.10
area 4
network 172.16.0.0 0.0.255.255
R11:
sys
ospf 1 router-id 11.11.11.11
area 2
network 172.16.0.0 0.0.255.255
R12:
sys
ospf 1 router-id 12.12.12.12
area 2
network 172.16.64.6 0.0.0.0
R12:
sys
sys r12
int lo0
ip add 172.16.160.1 20
int lo1
ip add 172.16.176.1 20
q
rip 1
ver 2
undo summary
network 172.16.0.0
1.区域一配置为末梢
R1,R2:
return
sys
ospf 1
area 1
stub
R3:
return
sys
ospf 1
area 1
stub no-summary
2.区域2配置为nssa
R6:
return
sys
ospf 1
area 2
nssa no-summary
R11,R12:
return
sys
ospf 1
area 2
nssa
3.区域3也配置为nssa
R7:
return
sys
ospf 1
area 3
nssa no-summary
R8,R9:
return
sys
ospf 1
area 3
nssa
return
sys
acl 2000
rule permit source 172.16.0.0 0.0.255.255
int g0/0/0
nat outbound 2000
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)