一、总体规划
二、AR1配置思路及步骤
一、接口地址分配及缺省路由:
The device is running!
AR1:
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sy r1
[r1]interface s4/0/0
[r1-Serial4/0/0]ip address 15.0.0.1 255.0.0.0
[r1-Serial4/0/0]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1 255.255.255.0
Nov 28 2023 17:43:47-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-GigabitEthernet0/0/0]q
[r1]ip route-static 0.0.0.0 0 15.0.0.2
二、R1与R5之间PPP的PAP认证
[r1]aaa
[r1-aaa]local-user R1 service ppp
Info: Add a new user.
[r1-aaa]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
三、R1(中心服务器)与R2、R3构建MGRE环境
[r1]interface Tunnel 0/0/0 //创建隧道接口
[r1-Tunnel0/0/0]ip address 192.168.5.1 24 //配置接口IP
[r1-Tunnel0/0/0]tunnel-protocol gre p2mp //定义封装方式
[r1-Tunnel0/0/0]source 15.0.0.1 //封装中心真实IP
Nov 28 2023 18:13:29-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]
[r1-Tunnel0/0/0]nhrp network-id 100 //划分指定域
四、R1与R4构建GRE环境
[r1]interface Tunnel0/0/1
[r1-Tunnel0/0/1]ip address 192.168.6.1 24
[r1-Tunnel0/0/1]tunnel-protocol gre
[r1-Tunnel0/0/1]source 15.0.0.1
[r1-Tunnel0/0/1]destination 45.0.0.1
Nov 28 2023 18:24:46-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface Tunnel0/0/1 has entered the UP state.
五、启用RIP动态协议,宣告主类网段
[r1]rip 1
[r1-rip-1]v 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
六、建立伪广播 ,实现多次一对一单播
[r1]interface Tunnel0/0/0
[r1-Tunnel0/0/0]nhrp entry multicast dynamic
七、去除RIP动态协议中的水平分割
[r1-Tunnel0/0/0]undo rip split-horizon