AR2204同一个物理接口的多个dialer 同时拨号不成功

发布时间:  2017-01-20 浏览次数:  285 下载次数:  0
问题描述

同一台设备的同一个物理接口上配置多个PPPOE账号经常出现拨号失败,而单独拨号又可以成功。关键配置如下:

interface GigabitEthernet2/0/0
pppoe-client dial-bundle-number 1
pppoe-client dial-bundle-number 2

处理过程

1. 将两个拨号分别配置在物理接口上测试,均可以拨号成功;

2. 通过抓包分析,当两个账号同时配置在同一个接口上时,多个服务器响应是随机的;

3. 在配置拨号dialer的时候,绑定服务名称,测试成功。

 

1)  Dialer口相关配置

[AR2204-27GE-Dialer1]dis this                                                                                                      

[V200R007C00SPC900]                                                                                                                 

#                                                                                                                                  

interface Dialer1                                                                                                                   

 link-protocol ppp                                                                                                                 

 ppp chap user test1                                                                                                                

 ppp chap password simple huawei123                                                                                                

 ip address ppp-negotiate                                                                                                           

 dialer user test1                                                                                                                 

 dialer bundle 1                                                                                                                    

 dialer number 1234 autodial                                                                                                       

 dialer timer autodial 10                                                                                                           

 dialer-group 1                                                                                                                    

#                                                                                                                                   

return                                                                                                                             

[AR2204-27GE-Dialer1] 

#                                                                                                                                  

interface Dialer2                                                                                                                   

 link-protocol ppp                                                                                                                 

 ppp chap user test2                                                                                                                

 ppp chap password simple huawei123                                                                                                

 ip address ppp-negotiate                                                                                                           

 dialer user test2                                                                                                                 

 dialer bundle 2                                                                                                                   

 dialer number 123 autodial                                                                                                         

 dialer timer autodial 10                                                                                                          

 dialer-group 2 

接口调用如下:

结果如下:

根因
由于第一个报文为广播报文,所以会出现一种情况。假如报文需要送往两个Server的话,广播报文会同时送到两个server,哪个server首先响应client报文,client则会选择和哪个server建立连接。Client两个账号,假如Client1账号应送至Server1,Client2应送至Server2。当出现Server1先响应Client2时,Client2则会和Server1建立PPPoE,这时总是会出现认证失败。PPPoE client拨号失败时,其会不断的轮询,当恰好正确的server回应时,才可以同时拨号成功。
解决方案
     该种情况有两种方案可以通过:

1.       通过同一物理接口设置不同子接口,对接交换机划分不同VLAN规划至不同的Server路径。

2.       通过在Client端指定server name找到对应的server

 上述两种情况皆需要运营商侧提供支持。  通过配置server name方式验证结果。

 

END