Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CISCO 1721, NAT and ADSL

Status
Not open for further replies.

xyz1213

Technical User
May 7, 2002
57
US
HI,

i'm trying to configure nat for internet access over adsl. i did configure the atm0 and dialer and i am getting an ip address from the ISP. My problem is that no one on the network can access the internet, so i'm guessing i have a nat problem. here's my config. any suggestions is appreciated. thanks.

current configuration: 1038 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router
!
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
!
!
!
ip audit notify log
ip audit po max-events 100
vpdn enable
!
vpdn-group pppoe
request dialin
protocol pppoe
!
!
!
interface atm0
no ip address
no atm ilmi-keepalive
pvc 0/35
pppoe-client dial-pool-number 1
!
dsl operating-mode auto
!
interface fastethernet0
ip address 192.168.1.1 255.255.255.0
ip tcp adjust-mss 1452
speed auto
!
interface dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp chap hostname x
ppp chap password 0
ppp pap sent-username x password 0
!
ip nat inside souce list 1 interface dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 dialer1
no ip http server
ip pim bidir-enable
!
!
access-list permit any
!
!
line con 0
line aux 0
line vty 0 4
no scheduler allocate
end

 
First thing I notice is there is no IP NAT INSIDE on your fastethernet0 interface

Dave
 
You got off to a good start.
Here's a sample from one of my routers.
Hope it helps.
Mike


!
ip name-server XXX.XXX.XXX.XXX
ip name-server XXX.XXX.XXX.XXX
!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
!
!
!
interface ATM0
no ip address
no ip mroute-cache
atm vc-per-vp 256
no atm ilmi-keepalive
dsl operating-mode auto
no fair-queue
!
interface ATM0.1 point-to-point
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
no ip mroute-cache
speed auto
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp pap sent-username xxxxxxx password 0 XXXXXXX
!
ip nat inside source list 101 interface Dialer1 overload
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
ip pim bidir-enable
!
logging history errors
logging trap debugging
logging facility local0
logging source-interface Dialer1
logging XXX.XXX.XXX.XXX (your logging server)
access-list 101 permit ip 192.168.1.0 0.0.255.255 any
dialer-list 1 protocol ip permit
!
 
thanks guys,

i rearranged the config and put "IP NAT INSIDE" statement in the interface fastethernet0.
here's the new deal:
i still can't access the internet, but with a new twist. when i ping a public address i always get 1 reply and 3 timeouts. when i run debug ppp negotiation, i get the following error ":VIL PPP: OUTBOUND CDP PACKET DROPPED, CDPCP STATE IS LISTEN.
any ideas? thanks.
 
pc2mike and dnels,

got it to work guys, thanks. i put "ip nat inside" of eth0 and and "dialer-pool 1" statement from pc2mike's config.
next step is the ipsec vpn and pix firewall. i'm sure i'll have many more questions.

p.s.
this is a great forum!!!!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top