標籤:華為 ar200 ar207 ar207v pppoe pppoeoa adsl dsl 撥號 上網
新家上網需要一台好點的ADSL路由器,放在弱電箱裡,組網為路由器+2個AP,
如果家裡是光纖上網的可能需要PON介面的路由器,呵呵。
需要支援命令列調試的企業級路由器,最後由於價格原因,選擇了AR207V,600¥。
下面只簡述ADSL撥接的配置,關於AC+AP設定漫遊的配置手冊描述比較詳細,不列出了。
其實ADSL撥號就是PPPOEOA,具體配置參考手冊即可,這裡補充手冊不全的地方。
#acl name Atm0/0/0 2999 rule 5 permit
///////*************rule for nat
#dialer-rule dialer-rule 1 ip permit
///////*************rule for dial
#interface Dialer1 link-protocol ppp ppp chap user usernameforadsl ppp chap password cipher passwordforadsl ppp pap local-user usernameforadsl password passwordforadsl
///////*************input password manually, don‘t copy/paste。請手動輸入密碼,請不要粘貼密碼
ppp ipcp dns admit-any ppp ipcp dns request mtu 1440 tcp adjust-mss 1460 ip address ppp-negotiate dialer user arweb dialer bundle 1 dialer-group 1 nat outbound 2999
///////*************dialer for pppoe
#interface Vlanif1 ip address 192.168.1.1 255.255.255.0 dhcp select interface dhcp server dns-list 202.103.24.68
///////*************vlan 1 for client pc
#interface Atm0/0/0 pvc 0/32 map bridge Virtual-Ethernet0/0/0
///////*************dsl interface pvc, 0/32 for Wuhan
#interface Virtual-Ethernet0/0/0 pppoe-client dial-bundle-number 1
///////*************virtual interface for pppoe dial
#ip route-static 0.0.0.0 0.0.0.0 Dialer1
///////*************default route
首先你的ATM口要啟用
<Huawei>dis int dialer1Dialer1 current state : UPLine protocol current state : UP (spoofing)Description:HUAWEI, AR Series, Dialer1 InterfaceRoute Port,The Maximum Transmit Unit is 1440, Hold timer is 10(sec)Internet Address is negotiated, 27.16.226.91/32Link layer protocol is PPPLCP initialPhysical is DialerCurrent system time: 2015-03-04 22:00:39+08:00 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 bytes Output:0 bytes Input bandwidth utilization : 0% Output bandwidth utilization : 0%Bound to Dialer1:0:Dialer1:0 current state : UP ,Line protocol current state : UPLink layer protocol is PPPLCP opened, IPCP openedPackets statistics: Input packets:0, 0 bytes Output packets:0, 0 bytes <Huawei>dis dsl inter atm0/0/0 ------------------------------------------------------------- DSL driver and PHY status Training Status : Showtime Transmission Mode : ADSL2+ AnnexM Line Status : No Defect Downstream max. attainable rate(Kbps): 25544 Upstream max. attainable rate(Kbps) : 2509 Downstream actual net data rate(Kbps): 13311 Upstream actual net data rate(Kbps) : 506 Downstream SNR margin(dB) : 25.5 Upstream SNR margin(dB) : 32.5 Downstream attenuation(dB) : 8.5 Upstream attenuation(dB) : 7.1 Downstream output power(dBm) : 18.4 Upstream output power(dBm) : 12.4 Downstream total cells : 205127736 Upstream total cells : 7795007 Downstream data cells : 7344197 Upstream data cells : 569829 Downstream bit errors : 0 Upstream bit errors : 0 Total drop cells : 0 Downstream total ES count : 0 Upstream total ES count : 0 Downstream total SES count : 0 Upstream total SES count : 0 Downstream total UAS count : 3637 Upstream total UAS count : 3637 Total AS count : 6534 Line modulations G.Dmt : Enabled T1.413 : Enabled ADSL2 : Enabled AnnexL : Enabled ADSL2+ : Enabled AnnexM : Enabled Line capability Bitswap : On SRA : Off Trellis coding : On Board version vendor ID : 0xB5 0 "BDCM" 0 0 vendor serial : 00000000000000000000000000000001 Board ID : 963281TAN Software version : 4.06L.03 Bootloader (CFE) version : 1.2.37-106.24 DSL PHY and driver version : A2pD037f.d24f Build timestamp : 20131205_1738 ATU-C version vendor ID : BDCM:0x939e vendor number : 0x939e --------------------------------------------------------------
撥號如果不成功,可以debug查看,無非就是debug ppp和pppoe
term mo
term debug
debug ppp all
debug ppp lcp interface dialer 1
成功後可以看到dialer介面擷取到了地址。
<Huawei>dis int dialer1Dialer1 current state : UPLine protocol current state : UP (spoofing)Description:HUAWEI, AR Series, Dialer1 InterfaceRoute Port,The Maximum Transmit Unit is 1440, Hold timer is 10(sec)Internet Address is negotiated, 27.16.226.91/32Link layer protocol is PPPLCP initialPhysical is Dialer
本文出自 “mininer” 部落格,謝絕轉載!
家庭使用華為AR200 (AR207) ADSL PPPOEOA撥接