当前位置:网站首页>MGRE, PPP, HDLC comprehensive experiment
MGRE, PPP, HDLC comprehensive experiment
2022-07-27 02:23:00 【less than _ ermi】
Experimental content :

experimental analysis :
IP Address planning
R1-R4 14.1.1.0/24
R2-R4 24.1.1.0/24
R3-R4 34.1.1.0/24
PC1 Network segment :192.168.1.0/24
PC2 Network segment :192.168.2.0/24
PC3 Network segment :192.168..3.0/24
Tunnel :10.1.1.0/24
Topology construction

Experimental process :
Configure each router ( With R4 For example )
[r4]inter s4/0/0
[r4-Serial4/0/0]IP add 14.1.1.2 24Public network routing
With r1 For example ,r2\r3 The same operation , It's just that the next jump is different
[r1]ip route-static 0.0.0.0 0 14.1.1.2Private network routing
To configure MGRE Environmental Science ( Remember that after the tunnel entrance is established , It is necessary to consider the origin to determine whether the flow is based on tunnel Interface transmission )
R1-- center
[r1]inter t0/0/0
[r1-Tunnel0/0/0]ip add 10.1.1.1 24
[r1-Tunnel0/0/0]tunnel-protocol gre p2mp Define point to multipoint gre Pattern
[r1-Tunnel0/0/0]source 14.1.1.1 The head of the flow tunnel should be divided into public IP
[r1-Tunnel0/0/0]nhrp entry multicast dynamic
[r1-Tunnel0/0/0]nhrp network-id 100
[r1-Tunnel0/0/0]nhrp authentication cipher hcip authentication R2-- Branch
[r2]interface Tunnel 0/0/0
[r2-Tunnel0/0/0]ip address 10.1.1.2 24
[r2-Tunnel0/0/0]tunnel-protocol gre p2mp
[r2-Tunnel0/0/0]source Serial 4/0/0
[r2-Tunnel0/0/0]nhrp entry 10.1.1.1 14.1.1.1 register
[r2-Tunnel0/0/0]nhrp authentication cipher hcip
[r2-Tunnel0/0/0]nhrp network-id 100R3-- Branch
[r3]interface Tunnel 0/0/0
[r3-Tunnel0/0/0]IP address 10.1.1.3
[r3-Tunnel0/0/0]IP address 10.1.1.3 24
[r3-Tunnel0/0/0]tunnel-protocol gre p2mp
[r3-Tunnel0/0/0]source Serial 4/0/0
[r3-Tunnel0/0/0]nhrp entry 10.1.1.1 14.1.1.1 register
[r3-Tunnel0/0/0]nhrp authentication cipher hcip
[r3-Tunnel0/0/0]nhrp network-id 100The topic requires intranet use RIP Get route
[r1]RIP 1 Process number
[r1-rip-1]version 2 Version number
[r1-rip-1]undo summary Turn off auto rollup
[r1-rip-1]network 10.0.0.0 Announce the tunnel address
[r1-rip-1]network 192.168.1.0 Announce private network , This is similar to drainage , Introduce the flow into the tunnel
[r1]interface Tunnel 0/0/0
[r1-Tunnel0/0/0]undo rip split-horizon Turn off horizontal split At the same time R2\R3 To announce
test

R1-R4 Use HDLC encapsulation
R1:
[r1-Serial4/0/0]link-protocol hdlc
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:yR4:
[r4-Serial4/0/0]link-protocol hdlc
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:yR4-R2 Use ppp encapsulation ,ppp authentication
R4:
[r4-aaa]local-user 702 privilege level 15 password cipher 123456
Info: Add a new user.
[r4-aaa]local-user 702 service-type ppp
[r4-aaa]q
[r4]inter s4/0/1
[r4-Serial4/0/1]ppp authentication-mode pap authentication papR2:
[r2]interface s4/0/0
[r2-Serial4/0/0]link-protocol ppp
[r2-Serial4/0/0]ppp pap local-user 702 password cipher 123456R3-R4 Use ppp encapsulation ,chap authentication
R4:
[r4-Serial3/0/0]link-protocol ppp
[r4-Serial3/0/0]ppp authentication-mode chap R3:
[r3]inter s4/0/0
[r3-Serial4/0/0]link-protocol ppp
[r3-Serial4/0/0]ppp chap user 702
[r3-Serial4/0/0]ppp chap password cipher 123456Subject requirements can be visited r4 The loopback of 2.2.2.2 , Configure address translation
R1:
[r1]acl 2000
[r1-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255
[r1]interface s4/0/0
[r1-Serial4/0/0]nat outbound 2000R2\R3 Same as R1
test

End of experiment
边栏推荐
- 动态路由ofps协议配置
- Open the door of programming
- 睡不着时闭眼躺着,到底有没有用?
- Lesson 5 - key control LED
- C语言——关系运算符和逻辑运算符、if语句、switch语句、分支结构的嵌套
- C语言——数据类型、基本数据类型的取值范围
- TCP's three handshakes and four waves (brief introduction)
- C语言——赋值运算符、复合的赋值运算符、自增自减运算符、逗号运算符、条件运算符、goto语句、注释
- First acquaintance with C language (1)
- 6.28 Dahua written examination
猜你喜欢

(题意+详细思路+加注释代码) Codeforces Round #805 (Div. 3)F. Equate Multisets

OSPF configuration in mGRE environment and LSA optimization - reduce the amount of LSA updates (summary, special areas)

静态路由综合实验

OSPF static experiment

记录第N次SQL异常

指针得真正奥义!!!

ESP8266Wi-Fi数据通讯

Static comprehensive experiment (comprehensive exercise of static route, loopback interface, default route, empty interface, floating static)

HandsomeForum学习论坛

Codeforces Round #807 (Div. 2), problem: (C) Mark and His Unfinished Essay
随机推荐
Golang implements TCP chat room
(CF1691D) Max GEQ Sum
Golang -- parse yaml file
Lora光照传感器节点数据采集
6.28 flush written test
C语言——while语句、dowhile语句、for循环和循环结构、break语句和continue语句
Hcip OSPF knowledge summary
Static comprehensive experiment (comprehensive exercise of static route, loopback interface, default route, empty interface, floating static)
C language - first program, print, variables and constants
Dynamic routing rip protocol experiment
求解100~200之间的素数
(prefix and / thinking) codeforces round 806 (Div. 4) F Yet Another Problem About Pairs Satisfying an Inequality
HCIA (network elementary comprehensive experimental exercise)
指针得真正奥义!!!
JUC并发编程
全连MGRE与星型拓扑MGRE
识时务者常用网址大全
OSPF protocol knowledge summary
HCIA静态路由基础模拟实验
The latest C language introduction and advanced - the most complete and detailed C language tutorial in history!! Section 1 - overview of C language