当前位置:网站首页>HCIP_ MGRE experiment

HCIP_ MGRE experiment

2022-06-13 08:16:00 BT youth

 

 

[r1]interface Serial 4/0/0
[r1-Serial4/0/0]link-protocol hdlc

[r2]interface Serial 4/0/0
[r2-Serial4/0/0]link-protocol hdlc
------------------------------------------------------------------
[R2]aaa       Main certifier — Server side
[R2-aaa]local-user bt password cipher bt123
[R2-aaa]local-user bt service-type ppp 
[R2]interface Serial 4/0/1     Interface to connect the client
[R2-Serial4/0/1]link-protocol ppp
[R2-Serial4/0/1]ppp authentication-mode pap

[R3]interface Serial 4/0/0       Certified party
[R3-Serial4/0/0]link-protocol ppp
[R3-Serial4/0/0]ppp pap local-user huawei bt cipher bt123
---------------------------------------------------------------------
Main certifier
[R2]aaa 
[R2-aaa]local-user syt password cipher syt123
[R2-aaa]local-user syt service-type ppp 
[R2]interface Serial 3/0/0  
[R2-Serial3/0/0]link-protocol ppp
[R2-Serial3/0/0]ppp authentication-mode chap

Certified party
[RTB]interface Serial 4/0/0  
[RTB-Serial4/0/0]link-protocol ppp
[RTB-Serial4/0/0]ppp chap user syt
[RTB-Serial4/0/0]ppp chap password cipher syt123
--------------------------------------------------------------------------
Central site configuration R1
interface Tunnel0/0/0     establish tunnel mouth
ip address 10.1.1.1 255.255.255.0   Configure interface ip Address
tunnel-protocol gre p2mp   First modify the interface mode to multipoint GRE
source 12.1.1.1   Redefine the public source IP Address
nhrp entry multicast dynamic   Local become NHRP center , At the same time, pseudo broadcasting can be carried out
nhrp network-id 100   The default is 0 Number , All nodes in the network segment tunnel The interface must be the same domain

Branch site :R3/R4
interface Tunnel0/0/0
ip address 10.1.1.2 255.255.255.0 
tunnel-protocol gre p2mp
source Serial4/0/0   Suppose the branch site ip The address is not fixed
nhrp network-id 100
nhrp entry 10.1.1.1 12.1.1.1 register     The branch needs to register with the central site
-----------------------------------------------------------------------
R1、R3、R4 start-up RIP agreement
rip 1
version 2
network 10.0.0.0
192.168.1.0(2.0)(3.0)  24
-----------------------------------------------------------------------------
[r1-Tunnel0/0/0]undo rip split-horizon   Turn off horizontal split

原网站

版权声明
本文为[BT youth]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202270544578796.html