先进行ip的配置,配置完成后对r1 r2 r3 r4进行ppp和hdlc封装
R1
ip address 192.168.1.1 255.255.255.0
ip address 15.0.0.1 255.255.255.0
缺省:ip route-static 0.0.0.0 0.0.0.0 15.0.0.2
隧道
ip address 192.168.6.1 255.255.255.0
ip address 192.168.5.1 255.255.255.0
R2
ip address 192.168.2.1 255.255.255.0
ip address 25.0.0.1 255.255.255.0
缺省
ip route-static 0.0.0.0 0.0.0.0 25.0.0.2
隧道
ip address 192.168.5.2 255.255.255.0
R3
ip address 192.168.3.1 255.255.255.0
ip address 35.0.0.1 255.255.255.0
缺省
ip route-static 0.0.0.0 0.0.0.0 35.0.0.2
隧道
ip address 192.168.5.3 255.255.255.0
R4
ip address 192.168.4.1 255.255.255.0
ip address 45.0.0.1 255.255.255.0
缺省
ip route-static 0.0.0.0 0.0.0.0 45.0.0.2
隧道
ip address 192.168.6.2 255.255.255.0
ISP
ip address 15.0.0.2 255.255.255.0
ip address 25.0.0.2 255.255.255.0
ip address 35.0.0.2 255.255.255.0
ip address 45.0.0.2 255.255.255.0
PAP认证
AR1
ppp pap local-user huawei password cipher 123
AR5
HDLC
AR3
AR5
AR1,AR2,AR3构建一个MGRE环境,AR1为HUB,
则先在AR1上配置
AR2
AR3