当前位置:网站首页>hcip第三天
hcip第三天
2022-07-24 17:21:00 【m0_64365851】
实验目的

1.配置ip(并且采用相应封装)
R1

R2
[R2-Serial4/0/0]ip address 23.1.1.2 24
[R2-Serial3/0/0]ip address 24.1.1.2 24
[R2-Serial4/0/1]ip address 23.1.1.2 24
[R2]interface LoopBack 0
[R2-LoopBack0]ip address 2.2.2.2 24
[R2]interface Serial 4/0/0
[R2-Serial4/0/0]link-protocol hdlc
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y
[R2]aaa
[R2-aaa]local-user huawei password cipher huawei123
[R2-aaa]local-user huawei service-type ppp
[R2]interface Serial 4/0/1
[R2-Serial4/0/1]link-protocol ppp
R3


R4

2.chap
[R2]aaa
[R2-aaa]local-user huawei password cipher huawei123
[R2-aaa]local-user huawei service-type ppp
[R2]interface Serial 3/0/0
[R2-Serial3/0/0]link-protocol ppp
[R2-Serial3/0/0]ppp authentication-mode chap
[R3]interface Serial 4/0/0
[R3-Serial1/0/0]link-protocol ppp
[R4-Serial1/0/0]ppp chap user huawei
[R4-Serial1/0/0]ppp chap password cipher huawei123
3.MGRE
[R1]interface Tunnel 0/0/0
[R1-Tunnel0/0/0]ip add 10.1.1.1 24
[R1-Tunnel0/0/0]tunnel-protocol gre p2mp
[R1-Tunnel0/0/0]source 12.1.1.1
[R1-Tunnel0/0/0]nhrp entry multicast dynamic
[R1-Tunnel0/0/0]nhrp network-id 100
[R3]interface Tunnel 0/0/0
[R3-Tunnel0/0/0]ip address 10.1.1.2 255.255.255.0
[R3-Tunnel0/0/0]tunnel-protocol gre p2mp
[R3-Tunnel0/0/0]nhrp entry 10.1.1.1 12.1.1.1 register
[R3-Tunnel0/0/0]nhrp network-id 100
[R4]interface Tunnel 0/0/0
[R4-Tunnel0/0/0]tunnel-protocol gre p2mp
[R4-Tunnel0/0/0]nhrp entry 10.1.1.1 12.1.1.1 register
[R4-Tunnel0/0/0]nhrp network-id 100
4.配置缺省
[R1-Tunnel0/0/0]ip route-static 0.0.0.0 0 12.1.1.2
[R3-Tunnel0/0/0]ip route-static 0.0.0.0 0 23.1.1.2
[R4-Tunnel0/0/0]ip route-static 0.0.0.0 0 24.1.1.2
5.RiP
[R1]rip 1
[R1-rip-1]version 2
[R1-rip-1]network 192.168.1.0
[R1-rip-1]network 10.0.0.0
[R1]interface Tunnel 0/0/0
[R1-Tunnel0/0/0]undo rip split-horizon
[R3]rip 1
[R3-rip-1]version 2
[R3-rip-1]network 192.168.2.0
[R3-rip-1]network 10.0.0.0
[R3]interface Serial 4/0/0
[R3]acl 2000
[R3-acl-basic-2000]rule permit source any
[R4]rip 1
[R4-rip-1]version 2
[R4-rip-1]network 192.168.3.0
[R4-rip-1]network 10.0.0.0
[R4]acl 2000
[R4-acl-basic-2000]rule permit source any
[R4]interface Serial 4/0/0
[R4-Serial4/0/0]nat outbound 2000
实验结果


边栏推荐
- [sequential logic circuit] - counter
- Internet Download Manager配置
- Logical operation of image pixels
- Canvas from getting started to persuading friends to give up (graphic version)
- AXI协议(2):AXI架构的五个通道和两种事务
- The third edition of New Horizon College English reading and Writing Tutorial 4 graduation examination site (units 1,2,3,5,6)
- Qsqldatabase: solution of qmmysql driver not loaded
- Using unity to do simulation, I don't allow this chart plug-in, you don't know
- Socat port forwarding
- QT generation connection Library
猜你喜欢
![[how to optimize her] teach you how to locate unreasonable SQL? And optimize her~~~](/img/10/996d594a53d9a34a36079fed829f27.png)
[how to optimize her] teach you how to locate unreasonable SQL? And optimize her~~~

量化框架backtrader之一文读懂Indicator指标

What is fuzzy theory, foundation and process

Rare earth Developer Conference | Apache pulsar committee Liu Dezhi shares the way of cloud native technology transformation

The orders in the same city are delivered in the same city, and the order explosion is still handy!

2022 Asia International Internet of things exhibition

快速入门

Bring 120W goods in 15 seconds. You can also shoot such a popular video

Qsqldatabase: solution of qmmysql driver not loaded

Cann training camp learns the animation stylization and AOE ATC tuning of the second season of 2022 model series
随机推荐
Zhao Ming, CEO of glory: it is difficult for a single manufacturer to achieve full scene product coverage
为什么被调函数内部不能用 sizeof(arr) / size(arr[0]) 计算数组长度?
portmap 端口转发
ShardingSphere数据库读写分离
Safety: how to provide more protection for pedestrians
QT graphical interface beginner project - unmanned aerial vehicle group combat simulation
什么是模糊理论,基础,流程
GDB online debugging of work notes
还在用Xshell?你out了,推荐一个更现代的终端连接工具!
Summary of ROS master-slave communication experience
Kyligence attended the Huawei global smart finance summit to accelerate the expansion of the global market
Development dynamics | stonedb 2022 release milestone
[matlab]: basic knowledge learning
SS-Paper【1】:Fully Convolutional Networks for Semantic Segmentation
[redis] -1. two ways of setting up environment based on docker
电脑监控是真的吗?4个实验一探究竟
查数据库实际数据增长情况
Transformer structure analysis -- learning notes
Axi protocol (1): introduction to AMBA bus, introduction to Axi concept and background, characteristics and functions of Axi protocol
通道的分离与合并