当前位置:网站首页>MGRE experiment
MGRE experiment
2022-07-23 13:55:00 【Kaz】


One 、 Complete question 1 , by R1-R5 To configure IP Address :
[r1] int Serial 4/0/0
[r1-Serial4/0/0] ip address 15.0.0.1 24
[r1-Serial4/0/0] int g 0/0/0
[r1-GigabitEthernet0/0/0] ip address 192.168.1.1 24[r2] int s 4/0/0
[r2-Serial4/0/0] ip address 25.0.0.1 24
[r2-Serial4/0/0] int g 0/0/0
[r2-GigabitEthernet0/0/0] ip address 192.168.2.1 24
[r3] int g 0/0/0
[r3-GigabitEthernet0/0/0] ip address 192.168.3.1 24
[r3-GigabitEthernet0/0/0] int s 4/0/0
[r3-Serial4/0/0] ip address 35.0.0.1 24
[r4] int g 0/0/0
[r4-GigabitEthernet0/0/0] ip address 45.0.0.1 24
[r4-GigabitEthernet0/0/0] int g 0/0/1
[r4-GigabitEthernet0/0/1] ip address 192.168.4.1 24
[isp] int s 3/0/0
[isp-Serial3/0/0] ip address 15.0.0.2 24
[isp-Serial3/0/0] int s 3/0/1
[isp-Serial3/0/1] ip address 25.0.0.2 24
[isp-Serial3/0/1] int s 4/0/0
[isp-Serial4/0/0] ip address 35.0.0.2 24
[isp-Serial4/0/0] int g 0/0/0
[isp-GigabitEthernet0/0/0] ip address 45.0.0.2 24
[isp-GigabitEthernet0/0/0] q
[isp] int l0
[isp-LoopBack0] ip address 5.5.5.5 24
Two 、 Make all private networks accessible throughout the network :
[r1] ip route-static 0.0.0.0 0 15.0.0.2[r2] ip route-static 0.0.0.0 0 25.0.0.2[r3] ip route-static 0.0.0.0 0 35.0.0.2[r4] ip route-static 0.0.0.0 0 45.0.0.23、 ... and 、R1 and R5 Used between ppp Of PAP authentication ,R5 Main certifier :
Certifier :
[isp] aaa
[isp-aaa] local-user admin password cipher 123456 --- Create user information
[isp-aaa] local-user admin service-type ppp --- Set service type
[isp-aaa] q
[isp] interface Serial 3/0/0
[isp-Serial3/0/0] ppp authentication-mode pap --- Configure authentication mode
[r1] int Serial 4/0/0
[r1-Serial4/0/0] ppp pap local-user admin password cipher 123456 --- Send user name and password
[r1-Serial4/0/0] shutdown ---- Check whether the certification is successful
[r1-Serial4/0/0] undo shutdown
Four 、 R2 and R5 Used between ppp Of chap authentication ,R5 Main certifier :
[isp] int s 3/0/1
[isp-Serial3/0/1] ppp authentication-mode chap --- Set service type [r2] interface Serial 4/0/0
[r2-Serial4/0/0] ppp chap user admin
[r2-Serial4/0/0] ppp chap password cipher 123456
[r2-Serial4/0/0] q
[r2] int s 4/0/0
[r2-Serial4/0/0] shutdown --- Check whether the certification is successful
[r2-Serial4/0/0] undo shutdown 5、 ... and 、 R3 and R5 Used between HDLC encapsulation :
[r3] int s 4/0/0
[r3-Serial4/0/0] link-protocol hdlc --- Modify the layer 2 protocol type
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y
[isp] interface Serial 4/0/0
[isp-Serial4/0/0] link-protocol hdlc --- Modify the layer 2 protocol type
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y6、 ... and 、R1/R2/R3 Construct a MGRE Environmental Science ,R1 For the central site :
Configuration of the center :
[r1] interface Tunnel 0/0/0 --- Create a tunnel interface
[r1-Tunnel0/0/0] ip address 192.168.5.1 24 --- Interface configuration IP Address
[r1-Tunnel0/0/0] tunnel-protocol gre p2mp --- Define encapsulation method
[r1-Tunnel0/0/0] source 15.0.0.1 --- Define the content of the package
Jul 12 2022 15:45:07-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r1-Tunnel0/0/0] nhrp network-id 100 --- establish NHRP Domain
[r1-Tunnel0/0/0] nhrp entry multicast dynamic --- Enable pseudo broadcast Configuration of branches :
[r2] interface Tunnel 0/0/0 --- Create a tunnel interface
[r2-Tunnel0/0/0] ip address 192.168.5.2 24 --- Interface configuration IP Address
[r2-Tunnel0/0/0] tunnel-protocol gre p2mp --- Define encapsulation method
[r2-Tunnel0/0/0] source Serial 4/0/0 --- Define the content of the package
Jul 12 2022 15:51:33-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r2-Tunnel0/0/0] nhrp network-id 100 --- Join the center to create nhrp in
[r2-Tunnel0/0/0] nhrp entry 192.168.5.1 15.0.0.1 register --- Report information to the center Configuration of branches :
[r3] interface Tunnel 0/0/0
[r3-Tunnel0/0/0] ip address 192.168.5.3 24
[r3-Tunnel0/0/0] tunnel-protocol gre p2mp
[r3-Tunnel0/0/0] source Serial 4/0/0
Jul 12 2022 15:55:06-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r3-Tunnel0/0/0] nhrp network-id 100
[r3-Tunnel0/0/0] nhrp entry 192.168.5.1 15.0.0.1 register7、 ... and 、R1\R4 From point to point GRE:
[r1] interface Tunnel 0/0/1 --- Create a tunnel interface
[r1-Tunnel0/0/1] ip address 192.168.6.1 24 --- Interface configuration IP Address
[r1-Tunnel0/0/1] tunnel-protocol gre --- Define encapsulation method
[r1-Tunnel0/0/1] source 15.0.0.1 --- Define the content of the package
[r1-Tunnel0/0/1] destination 45.0.0.1
Jul 12 2022 15:58:34-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/1 has entered the UP state. [r4] interface Tunnel 0/0/0
[r4-Tunnel0/0/0] ip address 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
Jul 12 2022 16:00:54-08:00 r4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state. 8、 ... and 、 The entire private network is based on RIP Network wide accessibility :
[r1] rip
[r1-rip-1] version 2
[r1-rip-1] network 192.168.1.0
[r1-rip-1] network 192.168.5.0
[r1-rip-1] network 192.168.6.0
[r2] rip
[r2-rip-1] version 2
[r2-rip-1] network 192.168.5.0
[r2-rip-1] network 192.168.2.0[r3] rip
[r3-rip-1] version 2
[r3-rip-1] network 192.168.5.0
[r3-rip-1] network 192.168.3.0[r4] rip
[r4-rip-1] version 2
[r4-rip-1] network 192.168.4.0
[r4-rip-1] network 192.168.6.0[r1] interface Tunnel 0/0/0
[r1-Tunnel0/0/0] undo rip split-horizon --- close rip Horizontal segmentation Nine 、 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.0.0 0.0.255.255 --- Use acl List grab energy
[r1-acl-basic-2000] q
[r1] interface Serial 4/0/0
[r1-Serial4/0/0] nat outbound 2000
[r2] acl 2000
[r2-acl-basic-2000] rule permit source 192.168.0.0 0.0.255.255
[r2-acl-basic-2000] q
[r2] int Serial 4/0/0
[r2-Serial4/0/0] nat outbound 2000[r3] acl 2000
[r3-acl-basic-2000] rule permit source 192.168.0.0 0.0.255.255
[r3-acl-basic-2000] q
[r3] int Serial 4/0/0
[r3-Serial4/0/0] nat outbound 2000[r4] acl 2000
[r4-acl-basic-2000] rule permit source 192.168.0.0 0.0.255.255
[r4-acl-basic-2000] q
[r4] int GigabitEthernet 0/0/0
[r4-GigabitEthernet0/0/0] nat outbound 2000边栏推荐
猜你喜欢
随机推荐
200 行代码,深入分析动态计算图的原理及实现
Vs2019:constexpr function "qcountleadingzerobits" cannot generate constant expressions
Ti single chip millimeter wave radar 1642 code walk through (0) - General Outline
挖财开户风险性大吗,安全吗?
去除标题栏
【STM32】串口通信基础知识
Image processing 3: Sobel edge detection
Backtracking method to solve the eight queens problem
LeetCode_ 46_ Full Permutation
建立STM32F103C8T6工程模板和STM32 ST-LINK Utilit烧录hex文件
Tutorial on principles and applications of database system (038) -- index of MySQL (4): analyze index with explain command
Unity makes simple intercepting close range artillery - how to predict the strike target
KingbaseESV8R6不同隔离级下xmin的区别
[Part 2] full analysis of oak-d+turnlebot3 robot project
图像处理5:膨胀
OSPF experiment in mGRE environment:
Okaleido tiger NFT即将登录Binance NFT平台,你期待吗?
LeetCode_ 47_ Full arrangement II
Image processing 5: expansion
Power bi - Comprehensive Application









