OSPF综合实验作业

OSPF综合实验作业,第1张

OSPF综合实验作业 实验要求:

一.ip地址划分

二.配置ip地址和环回地址,配置指向r4的缺省路由

[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/R5/R6/R7 MGRE配置,R3作为中心

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

四.OSPF配置

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

五.RIP配置

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

六.减少LSA更新量

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

七.配置NAT

return
sys
acl 2000
rule permit source 172.16.0.0 0.0.255.255
int g0/0/0
nat outbound 2000

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5704169.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存