int g0/0/0
ip ad 192.168.1.1 24
int s4/0/0
link-protocol ppp
ppp pap local-user huawei password cipher 1234
ip address 15.1.1.1 2
int t0/0/0
ip ad 10.1.1.1 255.255.255.0
tunnel-protocol gre p2mp
source 15.1.1.1
nhrp entry multicast dynamic
nhrp network-id 100
undo rip split-horizon
int t0/0/1
source 15.1.1.1
description 45.1.1.1
q
rip
version 2
un summary
network 10.0.0.0
acl 2000
rule permit source 192.168.1.0 0.0.0.255
int s4/0/0
nat outbound 2000
R2:
int g0/0/0
ip ad 192.168.2.1 24
int s4/0/0
link-protocol ppp
ppp chap password cipher huawei123
int t0/0/0
ip ad 10.1.1.2 255.255.255.0
tunnel-protocol gre p2mp
source Serial 4/0/0
nhrp network-id 100
nhrp entry 10.1.1.1 15.1.1.1 register
rip
version 2
un summary
network 192.168.2.0
network 10.0.0.0
q
acl 2000
rule permit source 192.168.1.0 0.0.0.255
int s4/0/0
nat outbound 2000
R3:
int g0/0/0
ip ad 192.168.3.1 24
int s4/0/0
link-protocol hdlc
int t0/0/0
ip ad 10.1.1.3 255.255.255.0
tunnel-protocol gre p2mp
source s4/0/0
nhrp network-id 100
nhrp entry 10.1.1.1 15.1.1.1 register
q
rip
version 2
un summary
network 192.168.3.0
network 10.0.0.0
q
acl 2000
rule permit source 192.168.1.0 0.0.0.255
int s4/0/0
nat outbound 2000
R4:
int g0/0/1
ip ad 192.168.4.1 24
int t0/0/1
ip ad 10.1.1.1 24
tunnel-protocol gre
source 45.1.1.1
description 15.1.1.1
q
rip
un summary
network 192.168.4.0
network 10.0.0.0
q
acl 2000
rule permit source 192.168.1.0 0.0.0.255
int s4/0/0
nat outbound 2000
R5:
aaa
local-user huawei password cipher 1234
Info: Add a new user.
local-user huawei service-type ppp
int s3/0/0
ppp authentication-mode pap
ip ad 15.1.1.2 24
q
aaa
local-user huawei password cipher 1234
ualocal-user huawei service-type ppp
int s3/0/0
ppp authentication-mode chap
int s4/0/0
link-protocol hdlc