Troubleshooting guide
no ip directed−broadcast
ip nat outside
encapsulation ppp
dialer pool 1
ppp chap hostname <username>
ppp chap password <password>
ppp pap sent−username <username> password <password>
!
ip nat inside source list 1 interface dialer1 overload
!−−− If you have a pool (a range) of public IP addresses provided
!−−− by your ISP, you can use a NAT Pool. Replace
!−−− ip nat inside source list 1 interface dialer1 overload
!−−− with the following two configuration statements:
!−−− ip nat inside source list 1 pool <nat pool name> overload
!−−− ip nat pool <nat pool name> <first ip address> <last ip address>
!−−− netmask <subnet mask>
!−−− If Internet users require access to an internal server, you can
!−−− add the following static NAT configuration statement:
!−−− ip nat inside source static tcp <inside ip address of server> {80 or 25}
!−−− <outside well−known ip address of server> {80 or 25} extendable
!−−− Note: TCP port 80 (HTTP/web) and TCP port 25 (SMTP/mail) are used
!−−− for this example. You can open other TCP or UDP ports, if needed.
!
ip classless
ip route 0.0.0.0 0.0.0.0 dialer1
access−list 1 permit <ip network address of ethernet0> <wildcard mask>
!−−− In this configuration, access−list 1 defines a standard access list
!−−− permitting the addresses that NAT will translate. For example, if
!−−− your private IP network was 10.10.10.0, configuring
!−−− access−list 1 permit 10.10.10.0 0.0.0.255 would allow NAT to translate
!−−− packets with source addresses between 10.10.10.0 and 10.10.10.255.
!
end
Troubleshoot Your Configuration
If your ADSL service is not working properly, see Troubleshooting PPPoA.
Previous Page Main Page
All contents are Copyright © 1992−−2003 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.
Cisco DSL Router Configuration and Troubleshooting
Guide
Cisco DSL Router − PPPoA with a Dynamic IP Address
Your Internet Service Provider (ISP) has assigned a dynamic public IP address to your Cisco Digital
Subscriber Line (DSL) Router.
Cisco DSL Router Configuration and Troubleshooting Guide