PPPOA
PPPOA应用方式的组网图和图6相似,所不同的是以PPPOA代替PPPOEOA。参考配置如下:
注重事项:此种方式Client端采用的PAP的认证方式,如需采用CHAP认证的方式,可在Virtual-Template口下加入如下配置:
ppp chap user aaa
ppp chap passWord simple aaa
Client的配置:(AR18路由器)
[Quidway]dis cur
#
sysname Quidway
#
interface Virtual-Template0
ppp pap local-user aaa password simple aaa
ip address 202.132.0.2 255.255.255.0
nat outbound 3000
#
interface Ethernet1/0
ip address 192.168.0.1 255.255.255.0
#
interface Atm2/0
adsl standard gdmt
pvc 3/99
map ppp Virtual-Template0
#
interface NULL0
#
acl number 3000
rule 0 permit ip
#
ip route-static 0.0.0.0 0.0.0.0 202.132.0.1 preference 60
#
user-interface con 0
user-interface vty 0 4
#
return
Server端:
[AR46]dis cur
#
sysname AR46-40
#
local-user aaa password simple aaa
#
ip pool 21 202.132.0.2 202.132.0.200
#
interface Virtual-Template21
ppp authentication-mode pap scheme default
ppp accounting scheme default
ip address 202.132.0.1 255.255.255.0
remote address pool 21
#
interface Atm2/0/0
#
interface Atm2/0/0.21
pvc 3/99
map ppp Virtual-Template21