当前位置:网站首页>PPP comprehensive experiment
PPP comprehensive experiment
2022-07-18 13:08:00 【Dream_ of_ falling】

The experimental requirements
1、R5 by ISP, It can only be carried out IP Address configuration , All addresses are public IP Address
2、R1 and R5 Inter use PPP Of PAP authentication ,R5 Main certifier ;
R2 and R5 Used between PPP Of chap authentication ,R5 Main certifier ;
R3 and R5 Used between HDLC encapsulation .
3、R1/R2/R3 Build a MGRE Environmental Science ,R1 For the central site ;R1、R4 From point to point GRE.
4、 The entire private network is based on RIP Network wide accessibility .
5、 all PC Set up private IP As source ip, You can visit R5 Loopback .
The experiment begins

- Match according to the drawing IP Address
R1-R4 similar

R5

Finished IP After the address , To connect , You can write a default route
[R1]ip route-static 0.0.0.0 0 15.0.0.2
2. R1 and R5 Inter use PPP Of PAP authentication ,R5 Main certifier ;R2 and R5 Used between PPP Of chap authentication ,R5 Main certifier ;R3 and R5 Used between HDLC encapsulation .
It can be seen that Huawei equipment adopts PPP agreement
3. First in ISP Master certification PPP Authentication configuration :
[ISP-aaa]local-user r1 password cipher 123456
[ISP-aaa]local-user r1 service-type ppp
[ISP-Serial3/0/0]ppp authentication-mode pap
And then in R1 Configure the authenticated party
[R1-Serial4/0/0]ppp pap local-user r1 password cipher 123456
If now ping, It does not mean that the authentication is successful . because PPP Create a one-time session , The previous session has been created , And the session created is not authenticated , So now we have to shutdown Here's the interface , Again ping, If it works , To prove PPP Authentication success .
CHAP Certifier :
[ISP-aaa]local-user r2 password cipher 123456
[ISP-aaa]local-user r2 service-type ppp
[ISP-Serial3/0/1]ppp authentication-mode chap
Certified party :
[R2-Serial4/0/0]ppp chap user r2
[R2-Serial4/0/0]ppp chap password cipher 123456
HDLC encapsulation ( Both sides must change the package type ):
[R3-Serial4/0/0]link-protocol hdlc
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y
[ISP-Serial4/0/0]link-protocol hdlc
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y
4. R1/R2/R3 Build a MGRE Environmental Science ,R1 For the central site ;R1、R4 From point to point GRE.
R1 Center point MGRE To configure :
[R1]int t0/0/0
[R1-Tunnel0/0/0]ip add 192.168.5.1 24
[R1-Tunnel0/0/0]tunnel-protocol gre p2mp
[R1-Tunnel0/0/0]source 15.0.0.1
[R1-Tunnel0/0/0]nhrp network-id 100
R2、R3:
[R2]int t0/0/0
[R2-Tunnel0/0/0]ip add 192.168.5.2 24
[R2-Tunnel0/0/0]tunnel-protocol gre p2mp
[R2-Tunnel0/0/0]source s4/0/0
[R3-Tunnel0/0/0]nhrp network-id 100
R3-Tunnel0/0/0]nhrp entry 192.168.5.1 15.0.0.1 register
R4:
[R4]int t0/0/0
[R4-Tunnel0/0/0]ip add 192.168.6.2 24
[R4-Tunnel0/0/0]tunnel-protocol gre
[R4-Tunnel0/0/0]source 45.0.0.1
[R4-Tunnel0/0/0]destination 15.0.0.1
5. The entire private network is based on RIP Network wide accessibility
[R1]rip
[R1-rip-1]v 2
[R1-rip-1]net 192.168.1.0
[R1-rip-1]net 192.168.5.0
[R1-rip-1]net 192.168.6.0
On all routers both rip Declare
6. all PC Set up private IP As source ip, You can visit R5 Loopback [R1]acl 2000
[R1-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255
[R1]interface Serial 4/0/0
[R1-Serial4/0/0]nat outbound 2000

边栏推荐
- Cache penetration, cache avalanche, cache breakdown?
- [flag]小程序-day2
- MySQL基础——数据库约束与表的设计
- ReversingKr-wp(7)
- Why is UDP header only 8 bytes
- JS small effect jump according to the corresponding item name
- Source insight 4 what about Chinese garbled code?
- IIC读写EEPROM
- Pytorch——报错解决:RuntimeError: Expected all tensors to be on the same device, but found at least two
- Rust from and into
猜你喜欢
![[flag] applet -day2](/img/60/dfa563cf24654c9881fb2c0d32e15e.png)
[flag] applet -day2

ORA-00322&ORA-00312

Taking advantage of the trend, cool Lehman continued to set out with many pioneers

grid布局

MySQL Basic - add and Advanced Query

MGRE/OSPF综合实验

Comment systématiser gratuitement l'introduction à la science des données?

ReversingKr-wp(4)

【Golang | gRPC】gRPC-Bidirectional Streaming双向流实战

hcip第一天学习--复习hcia(静态)
随机推荐
[golang | GRP] GRP service using tls/ssl authentication
数字藏品系统开发,助力企业元宇宙场景营销
大二学科不挂科 速冲方法推荐(数据结构+计组+操作系统+算法+数据库+计网)
[QT入门篇]三大窗口类介绍
5g applications are accelerated, and cool Lehman VR live broadcast is born at the right time.
Yin Yang translation
Programming old driver takes you to play with completable future asynchronous programming
分享一下Postman连接MySQL数据库的操作步骤,从安装开始讲起
[flag] applet -day2
做测试/开发程序员的动力来自哪里?怎样坚持下去呢......
Realsense d435 - camera internal parameter acquisition
Unity screenshot function and let the UI display
leetcode:1760. The least number of goal balls in the bag [the most valuable value + the scoreboard]
Decentralized storage that lays the foundation of Web3
Programming old driver takes you to play with completable future asynchronous programming
CRS-2674,CRS-4000
RealSense D435——相机内参获取
ReversingKr-wp(5)
Write essays on MySQL questions (keyword records)
Grid layout