Internet connection not routing?
oliverw
Member Posts: 64 ■■□□□□□□□□
in CCNA & CCENT
I'm studying towards my ccna at present and thought it a good idea to try some real life simulations. Unfortunately i'm failing on the first hurdle . For some reason my 827 router will not connect to the internet. I have bt adsl 512k here in the UK and have a filter between it and the router. Could some one have a look and maybe hint at where im going wrong. Booked the next 3 days off to get this and my subnetting cracked. My current linksys router can get the internet while i play with the config.
Thanks for any help what so ever
Current configuration : 1504 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ADSLRouter
!
enable secret 5 $1$yC8o$uKWXuGDCnnIDGMfa20H4U/
!
username CRWS_Bijoy privilege 15 password 0 $1$W1fA$o1oSEpa1964814404
ip subnet-zero
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool pool1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 194.72.0.114 194.72.9.34
!
!
!
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
no ip mroute-cache
hold-queue 100 out
!
interface ATM0
no ip address
no ip mroute-cache
atm vc-per-vp 64
no atm ilmi-keepalive
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
!
interface Dialer1
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname MyEmailaddress
ppp chap password 7 00031A08035E19
ppp pap sent-username MyEmailAddress password 7 15150202032F3
9
ppp ipcp dns request
ppp ipcp wins request
hold-queue 224 in
!
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
ip pim bidir-enable
!
!
access-list 1 permit 0.0.0.1 255.255.255.0
dialer-list 1 protocol ip permit
!
line con 0
stopbits 1
line vty 0 4
exec-timeout 120 0
password *******
login local
length 0
!
scheduler max-task-time 5000
end
Thanks for any help what so ever
Current configuration : 1504 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ADSLRouter
!
enable secret 5 $1$yC8o$uKWXuGDCnnIDGMfa20H4U/
!
username CRWS_Bijoy privilege 15 password 0 $1$W1fA$o1oSEpa1964814404
ip subnet-zero
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool pool1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 194.72.0.114 194.72.9.34
!
!
!
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
no ip mroute-cache
hold-queue 100 out
!
interface ATM0
no ip address
no ip mroute-cache
atm vc-per-vp 64
no atm ilmi-keepalive
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
!
interface Dialer1
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname MyEmailaddress
ppp chap password 7 00031A08035E19
ppp pap sent-username MyEmailAddress password 7 15150202032F3
9
ppp ipcp dns request
ppp ipcp wins request
hold-queue 224 in
!
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
ip pim bidir-enable
!
!
access-list 1 permit 0.0.0.1 255.255.255.0
dialer-list 1 protocol ip permit
!
line con 0
stopbits 1
line vty 0 4
exec-timeout 120 0
password *******
login local
length 0
!
scheduler max-task-time 5000
end
Comments
-
sprkymrk Member Posts: 4,884 ■■■□□□□□□□Might not be your config at all. Many ISP's will only assign the ip address to the original machine/router that was hooked up. On your Linksys you may have used the "cloned" the mac address of your computer or perhaps it was originally set up with the linksys and assigned an ip based on it's mac address.All things are possible, only believe.
-
oliverw Member Posts: 64 ■■□□□□□□□□Thanks for the reply, i have swapped the nic on my pc since signing up with BT a couple of times and this is my third adsl router (Have quite a few power cuts and beer spillage ).
I know 0/38 is the right vpi/vci setup but it may be down to the password? I tried what cisco recommended -
debug ppp negotiation but this returned PPP protocol negotiation debugging is on and no other info? I'm starting to worry as it was all going fine when i did some of the stickys now in real life its gone pear shaped -
throatchoker Member Posts: 2 ■□□□□□□□□□Well i'm not up and up with networking but why do you have a filter attached to it? I mean here in the states they give you filters for the other phone jacks to filter out the dsl noise. But, if you attach a filter to the phone line before plugging in the modem it won't work.
I figured the simplest anwer might work although i'm not familar with cisco equipment. -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□throatchoker wrote:Well i'm not up and up with networking but why do you have a filter attached to it? I mean here in the states they give you filters for the other phone jacks to filter out the dsl noise. But, if you attach a filter to the phone line before plugging in the modem it won't work.
I figured the simplest anwer might work although i'm not familar with cisco equipment.
The normal setup in europe is, the filter is connected to the wall jack, the filter has 2 ports, one for the phone and one for the dsl modem.I'm sure the low pass filter is enabled on the phone port and the dsl port is transparent.
With this setup you can relay the filtered line to the rest of the jacks throughout the house instead of using multiple filters.Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
oliverw Member Posts: 64 ■■□□□□□□□□Wasnt that clear sorry, It goes router+telephone plugged into dsl filter and the filter plugged into the wall jack. Pretty sure this is right as ive had a few linksys routers in the past all of which were configured like this.
-
oliverw Member Posts: 64 ■■□□□□□□□□Thats the one , ive been trying to draw pictures of how ive got it and you explain it in a couple of lines lol.
-
throatchoker Member Posts: 2 ■□□□□□□□□□why not try and remove the filter and plug it directly into the wall just as a test?
-
oliverw Member Posts: 64 ■■□□□□□□□□Just tried. Its a telephone jack in the wall socket. So the filter is needed to convert it into a dsl jack which is smaller and square.
-
mikej412 Member Posts: 10,086 ■■■■■■■■■■oliverw wrote:I know 0/38 is the right vpi/vci setup but it may be down to the password? I tried what cisco recommended -
debug ppp negotiation but this returned PPP protocol negotiation debugging is on and no other info?
Have you tried the debug dialer options?:mike: Cisco Certifications -- Collect the Entire Set! -
oliverw Member Posts: 64 ■■□□□□□□□□Not to sure what you mean by interesting traffic , i know the internet works when my linksys is plugged in if thats what you mean?
Just trying dialer thing, one mo -
mikej412 Member Posts: 10,086 ■■■■■■■■■■oliverw wrote:know the internet works when my linksys is plugged in if thats what you mean?
Did you use this configuration example as a starting point?:mike: Cisco Certifications -- Collect the Entire Set! -
oliverw Member Posts: 64 ■■□□□□□□□□I did the debug dialer events command among others and this returned a value of dial on demand events debugging is on. I also did a show interface dialer1 but can't work out how to add screen **** onto this It says dialer1 is up if thats good
Thanks for the link havent seen that page before cheers -
mikej412 Member Posts: 10,086 ■■■■■■■■■■It looks like you've got your DSL configuration, the NAT configuration, and a DHCP configuration.
Are you pinging or opening a web page from a PC thats getting its address by DHCP (is that working? have you tested that?). If that's working, have you checked the NAT translations?
Or are you pinging from the Router console to something on the internet? What does it tell you?
But it eventually comes down to -- is the traffic getting to the dialer which should cause the ATM0 interface to try and connect?
You could try the log option on the access list.
You could do a show interface on the ATM -- up up? up down? down down?:mike: Cisco Certifications -- Collect the Entire Set! -
oliverw Member Posts: 64 ■■□□□□□□□□Thanks Mike, Thanks for your help. I'll give them all a go. Think i tried pinging from both router and pc (ie ping www.google.com) and they werent get resolved. But will try again as i could be wrong. Give me abit as i have to unplug everything and plug in the cisco router
-
mikej412 Member Posts: 10,086 ■■■■■■■■■■oliverw wrote:Think i tried pinging from both router and pc (ie ping www.google.com) and they werent get resolved.
Ping from your PC using the linksys something that responds, like yahoo or google, and get the IP address, and then ping the numeric IP from the router (or PC).
Running the car into the shop..... hopefully you'll be up and running by the time I get back.:mike: Cisco Certifications -- Collect the Entire Set! -
oliverw Member Posts: 64 ■■□□□□□□□□Sorry just put config back on router i was playing with that website you gave me and had to reset config
Be two seconds this time -
oliverw Member Posts: 64 ■■□□□□□□□□Ok, i tried pinging the ip address of google and yahoo and these replied . Just can't get a webpage up my end. I looked again at my dns servers for the linkksys and they are right 194.72.9.34
DNS2: 194.72.0.114. -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□oliverw wrote:Ok, i tried pinging the ip address of google and yahoo and these replied . Just can't get a webpage up my end. I looked again at my dns servers for the linkksys and they are right 194.72.9.34
DNS2: 194.72.0.114.
Did you try pinging the dns? where are you pinging from the router or a pc?Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
oliverw Member Posts: 64 ■■□□□□□□□□Thanks for hanging in
Here is what i found out
ADSLRouter#ping 209.73.186.238
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.73.186.238, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 104/105/112 ms
ADSLRouter#ping www.yahoo.com
Translating "www.yahoo.com"
% Unrecognized host or address, or protocol not running.
cant ping both dns server from router or pc
cant ping anything from the pc except for the router (nic is set to dhcp)
Another thing i have just noticed is that now i have plugged my linksys back up, i double checked the dns in the firmware of the linksys and command line and these are still the same. But when i try to ping them i get no reply? I'm beginning to wonder whether im cursed -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□Ok, its not all bad.
You have an issue on your pc that needs to be resolved.Check and see are you receiving the dhcp info.It looks like ping is blocked to the dns servers so no big deal.If you can ping from the router and not the pc you must find the issue on the pc,maybe then everything will work.
Your access-list 1 looks off to me, maybe i'm wrong as i havent looked at dialup or nat for a while.But try
access-list 1 permit 192.168.1.0 0.0.0.255Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
oliverw Member Posts: 64 ■■□□□□□□□□Just ran round next door and borrowed his laptop and plugged it into my linksys. Even that can't ping these dns servers.
-
EdTheLad Member Posts: 2,111 ■■■■□□□□□□oliverw wrote:Just ran round next door and borrowed his laptop and plugged it into my linksys. Even that can't ping these dns servers.
Dont worry about your pc not pinging the dns, the dns probably has an access list blocking the ping.As i said in my previous post check your pc has the dhcp info i.e. ip address, default gateway, dns etc if yes, no problem on the pc.
My concern is with the access-list 1, you have permit 0.0.0.1 255.255.255.0,
this will only nat your 192.168.1.1 address, try changing it as i stated above.
Im off to bed!!Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
oliverw Member Posts: 64 ■■□□□□□□□□Ok i altered the access list and guess what.....
It works
If you guys are ever in the UK feel free to pop over for lots and lots of beer