hcip综合大实验

hcip综合大实验_第1张图片
实验拓扑
hcip综合大实验_第2张图片
首先为所有路由器以及isp配置地址
R1:int LoopBack 0
ip address 10.1.1.1 32
int g 0/0/0
ip address 10.1.123.1 24
R2:int LoopBack 0
ip address 10.1.2.1 32
int g 0/0/0
ip address 10.1.123.2 24
R3:int s 0/0/0
[r3-Serial0/0/0]ip address 200.1.34.1 24
int LoopBack 0
[r3-LoopBack0]ip address 10.0.3.1 32
[r3]int s 0/0/1
[r3-Serial0/0/1]int g 0/0/0
[r3-GigabitEthernet0/0/0]ip address 10.1.123.3
R4:int s 0/0/1
[r4-Serial0/0/1]ip address 200.1.34.2 24
[r4-Serial0/0/0]ip address 200.1.45.2 24
[r4-Serial0/0/0]ip address 200.1.46.2 24
[r4-Serial0/0/3]ip address 200.1.47.2 24
[r4]int LoopBack 0
[r4-LoopBack0]ip address 8.8.8.8 32
[r5]int LoopBack 0
[r5-LoopBack0]ip address 10.0.5.1 32
[r5]int s 0/0/1
[r5-Serial0/0/1]ip address 200.1.45.1 24
[r6]int LoopBack 0
[r6-LoopBack0]ip address 10.0.6.1 32
[r6-Serial0/0/1]ip address 10.2.116.6 24
路由器先配区域0再配其他区域
其他区域路由器与此路由器配置步骤一致
为r3,r5,r6配置静态路由
ip route-static 0.0.0.0 0 200.1.34.2
ip route-static 0.0.0.0 0 200.1.45.2
ip route-static 0.0.0.0 0 200.1.47.2
然后为他们配置mgre
r3:int tun 0/0/0
Ip add 10.0.30.3 24
tunnel-protocol gre p2mp
Nhrp network-id 1
Nhrp entry multicast dynamic
Nhrp authentication cipher 123
Gre key 123
r5,r7与r3步骤一样
r7:tunnel-protocol gre p2mp
Source s 0/0/0
Gre key 123
Nhrp au ci 123
Nhrp net 1
Nhrp entry 10.0.30.3 200.1.34.1 register
区域0要设置r3为dr
r3:ospf router-id 3.3.3.3
Area0
Network 10.0.30.0 0.0.0.255
Network 10.0.3.1 0.0.0.0
Int tun 0/0/0
Ospf network-type broadcast
其他路由器的优先级设置为0
R5 ospf dr- priority 0
配置rip
r12:rip
Version 2
Undo silent-interface
Undo summary
Neiwork 10.0.0.0
Ospf 1
Import-route rip
接下来满足要求减少lsa更新量
要使用双通道打完双通道命令后重新import-route才能成功
Undo area 4
Ospf 2 router-id 9.9.9.9
Area 4
Network10.1.9.1 0.0.0.0
Network 10.1.109.0 0.0.0.255
Ospf 1
Import-route ospf 2
Ospf2
Import-routeospf1
此时已经实现全网可达

你可能感兴趣的:(hcip,路由器,网络)