I have a Cisco SR520w-ADSL-K9 router and I cannot connect it to the internet and also I need to configure Wifi on it as well, please could someone help me.
I can ping my default-gateway, but cannot ping any other websites out there. I am receiving packets from my ISP so that is all setup, I cant assign IP addresses to my ethernets, so I will need to assign an IP on my vlan 1 and assign that to my ethernet port if somebody could help me with the commands for all this so I can learn.
Heres my current config:
Current configuration : 1963 bytes ! version 12.4 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname (Username...) ! boot-start-marker boot-end-marker ! logging message-counter syslog logging buffered 4096 enable secret 5 $1$qnqr$8HiSGNN52LIokMezQBvW5. ! no aaa new-model ! ! dot11 syslog ip source-route ! ! ! ip dhcp pool inside import all network 192.168.1.0 255.255.255.0 default-router 192.168.1.254 dns-server 192.168.1.254 8.8.8.8 ! ! ip cef no ip domain lookup no ipv6 cef ! multilink bundle-name authenticated ! ! username (username....) privilege 15 password 0 (Password...) ! ! ! archive log config hidekeys ! ! ! ! ! interface ATM0 no ip address no atm ilmi-keepalive bundle-enable ! interface ATM0.1 point-to-point description WAN via ADSL ip nat inside ip virtual-reassembly pvc 0/100 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface FastEthernet0 ! interface FastEthernet1 ! interface FastEthernet2 ! interface FastEthernet3 ! interface Dot11Radio0 no ip address shutdown speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0 station-role root ! interface Vlan1 ip address 192.168.1.254 255.255.255.0 ip nat inside ip virtual-reassembly ! interface Dialer0 ip address negotiated ip nat outside no ip virtual-reassembly encapsulation ppp dialer pool 1 dialer-group 1 no cdp enable ppp authentication chap pap callin ppp chap hostname (Username....) ppp chap password 0 (password...) ppp pap sent-username (Username....) password 0 (password...) ppp ipcp dns request ppp ipcp route default ! ip forward-protocol nd ! no ip http server no ip http secure-server ip nat inside source list 1 interface Dialer0 overload ! ! ! ! ! ! control-plane ! ! line con 0 exec-timeout 5 0 password (password...) login no modem enable line aux 0 line vty 0 4 exec-timeout 5 0 password (Password...) login ! scheduler max-task-time 5000 end
Again can you turn on some debug? Sorry I'm not cisco expert, but if I were looking at it I'd try and figure out if you're exchanging any PPP packets. So can you turn on PPP negotiation debug? I.e. debug ppp negotiation. If you're sending, but getting nothing back, then I'd be looking at the ATM layer and port config on your WAN port.
Post some debug output here, and I'll take a look at it. As I say, I'm not a cisco guru though.
My views are my own, and may not necessarily represent those of my employer.
Hi thank you for your responses, I have removed the ip nat from the ATM0.1 interface, I am indeed getting a ip address from my dialer0 interface from the sh ip int br command. I have issued the ip route 0.0.0.0 0.0.0.0 dialer0 command and lastly created my access-list, however I am not able to ping my default gateway now and there is nothing in my routing table:
#sh ip route Default gateway is not set
Host Gateway Last Use Total Uses Interface ICMP redirect cache is empty
I think it may have to do with the nat overload command?
I am receiving the correct authentication from the debug ppp packets. This is really messy but will be please once Its figured out :)
Agree that the new default route should be there, config looks like mine as well.
you may want to; change dns-server 192.168.1.254 8.8.8.8 to dns-server 202.27.158.40 202.27.156.72 from your DHCP configuration.
remove ppp chap hostname (Username....) ppp chap password 0 (password...) from your dialer interface
the ACL 1 for nat should be - access-list 1 permit 192.168.1.0 0.0.0.255
and as well as a new running config - when you say you can't ping your gateway - do you mean your 192.168.1.254 router IP address from your PC ? you haven't got your old DSL router plugged into your LAN at the same time with same address ?
My comments and remarks are not necessarily of my employer.
here is my latest config, still no 0.0.0.0 in routing table? I am able to ping my default gateway on router 192.168.1.254, but cannot ping anything outside of that eg 8.8.8.8. sh ip nat translations is showing nothing, i am receiving an p address from my ISP so no problems there.
sh run Building configuration...
Current configuration : 2122 bytes ! version 12.4 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname (name) ! boot-start-marker boot-end-marker ! logging message-counter syslog logging buffered 4096 enable secret 5 $1$qnqr$8HiSGNN52LIokMezQBvW5. ! no aaa new-model ! ! dot11 syslog ip source-route no ip routing ! ! ip dhcp excluded-address 192.168.1.40 192.168.1.254 ! ip dhcp pool inside import all network 192.168.1.0 255.255.255.0 default-router 192.168.1.254 dns-server 192.168.1.254 8.8.8.8 ! ! no ip cef no ipv6 cef ! multilink bundle-name authenticated ! ! username (name) privilege 15 password 0 (password) ! ! ! archive log config hidekeys ! ! ! ! ! interface ATM0 no ip address no ip route-cache no atm ilmi-keepalive bundle-enable ! interface ATM0.1 point-to-point description WAN via ADSL ip virtual-reassembly no ip route-cache pvc 0/100 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface FastEthernet0 ! interface FastEthernet1 ! interface FastEthernet2 ! interface FastEthernet3 ! interface Dot11Radio0 no ip address no ip route-cache shutdown speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0 station-role root ! interface Vlan1 ip address 192.168.1.254 255.255.255.0 ip nat inside ip virtual-reassembly no ip route-cache ! interface Dialer0 ip address negotiated ip nat outside no ip virtual-reassembly encapsulation ppp no ip route-cache dialer pool 1 dialer-group 1 no cdp enable ppp authentication chap pap callin ppp chap hostname (Name) ppp chap password 0 (Password) ppp pap sent-username (username) password 0 (Password) ppp ipcp dns request ! ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 Dialer0 ! no ip http server no ip http secure-server ip nat inside source list 1 interface Dialer0 overload ! access-list 1 permit 192.168.1.0 0.0.0.255 ! ! ! ! ! control-plane ! ! line con 0 exec-timeout 5 0 password (password) login no modem enable line aux 0 line vty 0 4 exec-timeout 5 0 password (password) login
that would be bad. remove it. no wonder nothing is going anywhere!
Once that is removed, add in your ip route 0.0.0.0 Dialer0
That should get you up and running.
Second: You don't want this line: no ip cef
you want ip cef.
Third: As has been said before, your clients are pointing to your router for DNS - which I don't believe it will be providing (if you do an nslookup and lookup google.com you will probably get no response), but you have 8.8.8.8 as a backup, but just add your ISP DNS in there.
You are getitng an IP, so your adsl and ppp must be ok.
Thank you very much for the help much appreciated, it now works.
Now Ill try setup the wifi :)
I need to setup a password for my wifi and make my authentication type as WPA-2, then broadcast my SSID so it is hidden, and lastly is there anything else I need to make the configuration work via wifi and ADSL?
Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly
to your computer or smartphone by using a feed reader.