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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cisco 1720 ADSL config problem 2

Status
Not open for further replies.

swimonb

Technical User
Joined
Jan 8, 2007
Messages
1
Location
GB
Hi

I am a newbie to the wild world of configuring cisco routers and need some help with my first config.
I have a cisco 1720 router with an adsl module and 2 lan ports. I have battled with my config for weeks - it now seems to connect to the adsl but my routing seems to be wrong (maybe)

Any help will be gratefully accepted - thanks in advance!
Is this a good config? Do i need to do anything else? Are there any security issues i should worry about?

heres my config:

version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
no service dhcp
hostname sol-router
logging queue-limit 100
logging buffered 16384 debugging
enable secret 5 xxxxxxxxxxxxx
enable password 7 xxxxxxxxxxxxx
ip subnet-zero
no ip domain lookup
ip domain name local.local
no ip bootp server


interface ATM0
mtu 1458
no ip address
no atm ilmi-keepalive
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
dsl operating-mode auto

interface Ethernet0
ip address 192.168.0.1 255.255.0.0
ip nat inside
half-duplex
no cdp enable
hold-queue 100 out

interface FastEthernet0
ip address 10.10.0.1 255.255.0.0
ip nat inside
speed auto
fair-queue
no cdp enable
hold-queue 100 out

interface Dialer0
mtu 1458
ip address negotiated
encapsulation ppp
dialer pool 1
dialer idle-timeout 86400
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname xxxxxxxxxxxxxxxxxxxxxx
ppp chap password xxxxxxxxxxxxxxxxxxxxxx
ip classless

ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
access-list 1 permit 192.168.0.0 0.0.0.255
access-list 1 permit 10.10.0.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run

line con 0
exec-timeout 0 0
password 7
logging synchronous
login
line aux 0
logging synchronous
line vty 0 4
password 7
login
no scheduler allocate
end
 
The DSL config does fine. You can verify that yourself with the "show ip interface brief" command. You should be getting an IP address assigned to the Dialer0 interface if everything works correctly.

The one thing I have noticed which may affect your ability to use the router is the absence of the "ip nat outside" command on the Dialer0 interface. You've defined the inside nat interfaces but not the outside interface.
 
as well there is no nat statement to allow the overloading of the internal clients which will also need to be added.

ip nat inside source list 1 interface dialer 0 overload

without these statements your rotuer will try to route your internal addressing (192.168.0.0 or 10.10.0.0) and the isp will not allow that.
 
hello guys

thanks for you prompt responses

i have been having great "fun" with my router - i know know more about rommon than i wanted to - but its going again now!

i have tried your suggestions - but have had no joy.
it connects to the adsl ok - i get an ip address on my dialer0 interface - but i cannot ping it from my pc - i dont know if i should be able to? also of i try a show ip route" i get an "ip route not set" - is this correct?

heres my config again - i have been tryng anything i can

if anyone has any further ideas - i will be very grateful

thanks again guys

simon

version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
no service dhcp

hostname sol-router1
!
logging buffered 16384 debugging
enable secret 5
enable password 7
!
ip subnet-zero
no ip routing
!
!
no ip domain lookup
ip domain name local.local
ip name-server xxx.74.112.xx
ip name-server xxx.74.112.xx
!
no ip bootp server
ip audit notify log
ip audit po max-events 100
!
!
!
!
!
interface ATM0
mtu 1458
no ip address
no ip route-cache
no ip mroute-cache
no atm ilmi-keepalive
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
no fair-queue
!
interface Ethernet0
ip address 192.168.0.1 255.255.0.0
ip nat inside
no ip route-cache
no ip mroute-cache
half-duplex
no cdp enable
hold-queue 100 out
!
interface FastEthernet0
ip address 10.10.0.1 255.255.0.0
ip nat inside
no ip route-cache
no ip mroute-cache
speed auto
full-duplex
fair-queue
no cdp enable
hold-queue 100 out
!
interface Dialer0
mtu 1458
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer idle-timeout 86400
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname xxxxxxxxxxxxxx
ppp chap password 7 xxxxxxxxx
!
ip nat inside source list 1 interface Dialer0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
!
!
access-list 1 permit 192.168.0.0 0.0.0.255
access-list 1 permit 10.10.0.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
!
line con 0
exec-timeout 0 0
password 7 045D19070231584107
logging synchronous
login
line aux 0
logging synchronous
line vty 0 4
password 7 1440412D1E05273B30273D
login
!
end
 
show ip route will nto give you any output from your pc..
and from your router it wont show you much either asyou simply have a default route out your d0 interface.
was 1452 given to you by the telco as the mtu?

can you ping anything on the net from the router sourcing off the d0 interface?

when you try to trace out.. does it die at the wan interface?
i know its probably a stupid question but do you have the pcs gateway assigned to your ethernet address?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top