![Huawei AR200-S Series Quick Start Manual Download Page 28](http://html.mh-extra.com/html/huawei/ar200-s-series/ar200-s-series_quick-start-manual_169295028.webp)
Procedure
Step 1
Configure a dialer interface and ACL.
<Huawei>
system-view
[Huawei]
sysname Router
[Router]
dialer-rule
[Router-dialer-rule]
dialer-rule 10 ip permit
[Router-dialer-rule]
quit
[Router]
acl 2000
[Router-acl-basic-2000]
rule 5 permit source 192.168.1.0 0.0.0.255
[Router]
interface dialer 0
NOTE
If a private address is used, configure an ACL referenced by NAT.
Step 2
Configure a dialer user. Obtain the user name and password from the carrier.
NOTE
Ensure that
group-number
in the
dialer-group
command is the same as
group-number
in the
dialer-rule
command.
Both ends must use the same PPP authentication mode.
[Router-Dialer0]
dialer user adsluser1
[Router-Dialer0]
dialer-group 10
[Router-Dialer0]
dialer bundle 12
[Router-Dialer0]
dialer number 6666
[Router-Dialer0]
ip address ppp-negotiate
[Router-Dialer0]
ppp chap user adsluser1
[Router-Dialer0]
ppp chap password simple huawei
[Router-Dialer0]
nat outbound 2000
[Router-Dialer0]
quit
Step 3
Configure the ATM interface.
[Router]
interface atm 0/0/0
[RouterA-Atm0/0/0]
pvc pppoa 2/40
[RouterA-atm-pvc-Atm0/0/0-2/40-pppoa]
map ppp dialer 0
[RouterA-atm-pvc-Atm0/0/0-2/40-pppoa]
quit
[RouterA-Atm0/0/0]
quit
Step 4
Configure a static route to the PPPoA server.
[Router]
ip route-static 0.0.0.0 0.0.0.0 dialer 0
# Run the
display interface dialer
command to check whether the dialer interface has been
assigned a correct IP address.
<Router>
display interface Dialer 0
The following information indicates that the dialer interface has been assigned a correct IP
address.
Step 5
Configure the DHCP server function so that users can automatically obtain IP addresses from
the router.
# Configure the DHCP server function.
<Router>
system-view
[Router]
dhcp enable
[Router]
interface vlanif 1
[Router-Vlanif1]
dhcp select interface
Step 6
Verify the configuration.
Huawei AR200-S Series Enterprise Routers
Quick Start Guide
4 Connecting to the Internet
Issue 01 (2011-12-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
23