首页 > 学院 > 网络通信 > 正文

AR18宽带路由器ADSL应用之PPPOA

2019-11-05 00:57:45
字体:
来源:转载
供稿:网友

PPPOA
  

AR18宽带路由器ADSL应用之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 



发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表