cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
800
Views
0
Helpful
3
Replies

Internet configuration problem with cisco 1841 need help.

mauritius114
Level 1
Level 1

Hello,

I am new to cisco and i already loved it.

I am testing a cisco 1841 router with an adsl interface.

My goal is to enable DHCP on interface 0/0 in order for my LAN connected pc's to get ip and internet automatically.

I have followed this guide to setup my router.

http://www.cisco.com/en/US/tech/tk175/tk15/technologies_configuration_example09186a008071a601.shtml

My problem is a follow. The router connect to my ISP and to get dynamic IP addresse. But LAN pc's are not getting internet through DHCP Now, I don't know why its not working. Maybe somebody can help with the following details given below. I tried to put as much details possible.

This is what i can see on my normal DSL modem which i am going to replace with the router.

Encapsulation Mode:

VC/MUX

Authentication: CHap

IP optain automatically from ISP

MTU 1492


MY DSL wan summary

PORT / VPI / VCI:     0 / 8 / 35
Connection Type:     PPPoA
Service Name:     pppoa_0_8_35_1
Service Category:     UBR
IP Address:     Automatically Assigned
Service State:     Enabled
NAT:     Enabled
Firewall:     Disabled
IGMP Multicast:     Disabled
Quality Of Service:     Disabled
MTU:     1492


This information reflects the current status of your DSL connection.

Line Rate - Upstream (Kbps):    380
Line Rate - Downstream (Kbps):    5116
LAN IP Address:     192.168.1.1
Default Gateway:     197.224.160.1
Primary DNS Server:     196.192.110.11
Secondary DNS Server:     202.123.2.35

This is my cisco config

Current configuration : 1995 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
logging buffered 4096 debugging
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef   
!        
!        
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.1
!        
ip dhcp pool localpc
   network 192.168.1.0 255.255.255.0
   default-router 192.168.1.1
   dns-server 202.123.2.6 202.123.2.11
!        
!        
!        
username seb privilege 15 secret 5 $1$CHhW$AZtxmsGL.qxVCfwiHo./X1
!        
!        
!        
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!        
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!        
interface ATM0/0/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!        
interface ATM0/0/0.2 point-to-point
pvc 8/35
  encapsulation aal5mux ppp dialer
  dialer pool-member 1
!       
!        
interface Serial0/1/0
no ip address
shutdown
clockrate 2000000
!        
interface Dialer0
ip address negotiated
ip access-group sdm_dialer0_out out
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname craintec@tplus
ppp chap password 0 crains05
ppp pap sent-username craintec@tplus password 0 crains05
!        
ip classless
ip route 0.0.0.0 0.0.0.0 202.123.2.6
ip route 0.0.0.0 0.0.0.0 ATM0/0/0.2
!        
ip http server
ip nat inside source list 1 interface Dialer0 overload
!        
ip access-list extended sdm_dialer0_out
remark SDM_ACL Category=1
permit ip any any
!        
access-list 1 remark INSIDE_IF=FastEthernet0/0
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 permit 0.0.0.1 255.255.255.0
dialer-list 1 protocol ip permit
!        
control-plane
!        
!        
line con 0
line aux 0
line vty 0 4
privilege level 15
login local
line vty 5 15
privilege level 15
login local
!        
end


Here ppp logging session. As you can see, the router connect to my ISP and get IP address.

Router#
*Jan 28 19:41:57.534: %LINK-3-UPDOWN: Interface ATM0/0/0, changed state to up
*Jan 28 19:42:00.534: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0/0/0, changed state to up
*Jan 28 19:42:03.850: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to up
*Jan 28 19:42:03.850: %DIALER-6-BIND: Interface Vi2 bound to profile Di0
*Jan 28 19:42:03.850: Vi2 PPP: Using dialer call direction
*Jan 28 19:42:03.850: Vi2 PPP: Treating connection as a callout
*Jan 28 19:42:03.850: Vi2 PPP: Session handle[1B000012] Session id[87]
*Jan 28 19:42:03.850: Vi2 PPP: Phase is ESTABLISHING, Active Open
*Jan 28 19:42:03.850: Vi2 PPP: No remote authentication for call-out
*Jan 28 19:42:03.850: Vi2 LCP: O CONFREQ [Closed] id 26 len 10
*Jan 28 19:42:03.850: Vi2 LCP:    MagicNumber 0x1C4E0B9A (0x05061C4E0B9A)
*Jan 28 19:42:05.858: Vi2 LCP: TIMEout: State REQsent
*Jan 28 19:42:05.858: Vi2 LCP: O CONFREQ [REQsent] id 27 len 10
*Jan 28 19:42:05.858: Vi2 LCP:    MagicNumber 0x1C4E0B9A (0x05061C4E0B9A)
*Jan 28 19:42:07.874: Vi2 LCP: TIMEout: State REQsent
*Jan 28 19:42:07.874: Vi2 LCP: O CONFREQ [REQsent] id 28 len 10
*Jan 28 19:42:07.874: Vi2 LCP:    MagicNumber 0x1C4E0B9A (0x05061C4E0B9A)
*Jan 28 19:42:07.914: Vi2 LCP: I TERMREQ [REQsent] id 0 len 4
*Jan 28 19:42:07.914: Vi2 LCP: O TERMACK [REQsent] id 0 len 4
*Jan 28 19:42:09.890: Vi2 LCP: TIMEout: State REQsent
*Jan 28 19:42:09.890: Vi2 LCP: O CONFREQ [REQsent] id 29 len 10
*Jan 28 19:42:09.890: Vi2 LCP:    MagicNumber 0x1C4E0B9A (0x05061C4E0B9A)
*Jan 28 19:42:10.134: Vi2 LCP: I CONFREQ [REQsent] id 44 len 19
*Jan 28 19:42:10.134: Vi2 LCP:    MRU 1492 (0x010405D4)
*Jan 28 19:42:10.134: Vi2 LCP:    AuthProto CHAP (0x0305C22305)
*Jan 28 19:42:10.134: Vi2 LCP:    MagicNumber 0x4EF25365 (0x05064EF25365)
*Jan 28 19:42:10.134: Vi2 LCP: O CONFNAK [REQsent] id 44 len 8
*Jan 28 19:42:10.134: Vi2 LCP:    MRU 1500 (0x010405DC)
*Jan 28 19:42:10.134: Vi2 LCP: I CONFACK [REQsent] id 29 len 10
*Jan 28 19:42:10.134: Vi2 LCP:    MagicNumber 0x1C4E0B9A (0x05061C4E0B9A)
*Jan 28 19:42:10.174: Vi2 LCP: I CONFREQ [ACKrcvd] id 45 len 19
*Jan 28 19:42:10.174: Vi2 LCP:    MRU 1492 (0x010405D4)
*Jan 28 19:42:10.174: Vi2 LCP:    AuthProto CHAP (0x0305C22305)
*Jan 28 19:42:10.174: Vi2 LCP:    MagicNumber 0x4EF25365 (0x05064EF25365)
*Jan 28 19:42:10.174: Vi2 LCP: O CONFNAK [ACKrcvd] id 45 len 8
*Jan 28 19:42:10.174: Vi2 LCP:    MRU 1500 (0x010405DC)
*Jan 28 19:42:10.218: Vi2 LCP: I CONFREQ [ACKrcvd] id 46 len 19
*Jan 28 19:42:10.218: Vi2 LCP:    MRU 1492 (0x010405D4)
*Jan 28 19:42:10.218: Vi2 LCP:    AuthProto CHAP (0x0305C22305)
*Jan 28 19:42:10.218: Vi2 LCP:    MagicNumber 0x4EF25365 (0x05064EF25365)
*Jan 28 19:42:10.218: Vi2 LCP: O CONFNAK [ACKrcvd] id 46 len 8
*Jan 28 19:42:10.218: Vi2 LCP:    MRU 1500 (0x010405DC)
*Jan 28 19:42:10.258: Vi2 LCP: I CONFREQ [ACKrcvd] id 47 len 19
*Jan 28 19:42:10.258: Vi2 LCP:    MRU 1492 (0x010405D4)
*Jan 28 19:42:10.258: Vi2 LCP:    AuthProto CHAP (0x0305C22305)
*Jan 28 19:42:10.258: Vi2 LCP:    MagicNumber 0x4EF25365 (0x05064EF25365)
*Jan 28 19:42:10.258: Vi2 LCP: O CONFNAK [ACKrcvd] id 47 len 8
*Jan 28 19:42:10.258: Vi2 LCP:    MRU 1500 (0x010405DC)
*Jan 28 19:42:10.302: Vi2 LCP: I CONFREQ [ACKrcvd] id 48 len 19
*Jan 28 19:42:10.302: Vi2 LCP:    MRU 1492 (0x010405D4)
*Jan 28 19:42:10.302: Vi2 LCP:    AuthProto CHAP (0x0305C22305)
*Jan 28 19:42:10.302: Vi2 LCP:    MagicNumber 0x4EF25365 (0x05064EF25365)
*Jan 28 19:42:10.302: Vi2 LCP: O CONFNAK [ACKrcvd] id 48 len 8
*Jan 28 19:42:10.302: Vi2 LCP:    MRU 1500 (0x010405DC)
*Jan 28 19:42:10.346: Vi2 LCP: I CONFREQ [ACKrcvd] id 49 len 19
*Jan 28 19:42:10.346: Vi2 LCP:    MRU 1492 (0x010405D4)
*Jan 28 19:42:10.346: Vi2 LCP:    AuthProto CHAP (0x0305C22305)
*Jan 28 19:42:10.346: Vi2 LCP:    MagicNumber 0x4EF25365 (0x05064EF25365)
*Jan 28 19:42:10.346: Vi2 LCP: O CONFREJ [ACKrcvd] id 49 len 8
*Jan 28 19:42:10.346: Vi2 LCP:    MRU 1492 (0x010405D4)
*Jan 28 19:42:10.386: Vi2 LCP: I CONFREQ [ACKrcvd] id 50 len 15
*Jan 28 19:42:10.386: Vi2 LCP:    AuthProto CHAP (0x0305C22305)
*Jan 28 19:42:10.386: Vi2 LCP:    MagicNumber 0x4EF25365 (0x05064EF25365)
*Jan 28 19:42:10.390: Vi2 LCP: O CONFACK [ACKrcvd] id 50 len 15
*Jan 28 19:42:10.390: Vi2 LCP:    AuthProto CHAP (0x0305C22305)
*Jan 28 19:42:10.390: Vi2 LCP:    MagicNumber 0x4EF25365 (0x05064EF25365)
*Jan 28 19:42:10.390: Vi2 LCP: State is Open
*Jan 28 19:42:10.390: Vi2 PPP: Phase is AUTHENTICATING, by the peer
*Jan 28 19:42:10.430: Vi2 CHAP: I CHALLENGE id 1 len 26 from "SE-FL"
*Jan 28 19:42:10.430: Vi2 CHAP: Using hostname from interface CHAP
*Jan 28 19:42:10.430: Vi2 CHAP: Using password from interface CHAP
*Jan 28 19:42:10.430: Vi2 CHAP: O RESPONSE id 1 len 35 from "craintec@tplus"
*Jan 28 19:42:10.518: Vi2 CHAP: I SUCCESS id 1 len 42 msg is "CHAP authentication success, unit 2016"
*Jan 28 19:42:10.518: Vi2 PPP: Phase is FORWARDING, Attempting Forward
*Jan 28 19:42:10.518: Vi2 PPP: Queue IPCP code[1] id[219]
*Jan 28 19:42:10.518: Vi2 PPP: Phase is ESTABLISHING, Finish LCP
*Jan 28 19:42:10.518: Vi2 PPP: Phase is UP
*Jan 28 19:42:10.518: Vi2 IPCP: O CONFREQ [Closed] id 1 len 10
*Jan 28 19:42:10.518: Vi2 IPCP:    Address 0.0.0.0 (0x030600000000)
*Jan 28 19:42:10.518: Vi2 CDPCP: O CONFREQ [Closed] id 1 len 4
*Jan 28 19:42:10.518: Vi2 PPP: Process pending ncp packets
*Jan 28 19:42:10.522: Vi2 IPCP: Redirect packet to Vi2
*Jan 28 19:42:10.522: Vi2 IPCP: I CONFREQ [REQsent] id 219 len 10
*Jan 28 19:42:10.522: Vi2 IPCP:    Address 197.224.160.1 (0x0306C5E0A001)
*Jan 28 19:42:10.522: Vi2 IPCP: O CONFACK [REQsent] id 219 len 10
*Jan 28 19:42:10.522: Vi2 IPCP:    Address 197.224.160.1 (0x0306C5E0A001)
*Jan 28 19:42:10.562: Vi2 IPCP: I CONFNAK [ACKsent] id 1 len 10
*Jan 28 19:42:10.562: Vi2 IPCP:    Address 197.224.161.76 (0x0306C5E0A14C)
*Jan 28 19:42:10.562: Vi2 IPCP: O CONFREQ [ACKsent] id 2 len 10
*Jan 28 19:42:10.562: Vi2 IPCP:    Address 197.224.161.76 (0x0306C5E0A14C)
*Jan 28 19:42:10.562: Vi2 LCP: I PROTREJ [Open] id 51 len 10 protocol CDPCP (0x820701010004)
*Jan 28 19:42:10.562: Vi2 CDPCP: State is Closed
*Jan 28 19:42:10.562: Vi2 CDPCP: State is Listen
*Jan 28 19:42:10.606: Vi2 IPCP: I CONFACK [ACKsent] id 2 len 10
*Jan 28 19:42:10.606: Vi2 IPCP:    Address 197.224.161.76 (0x0306C5E0A14C)
*Jan 28 19:42:10.606: Vi2 IPCP: State is Open
*Jan 28 19:42:10.606: Di0 IPCP: Install negotiated IP interface address 197.224.161.76
*Jan 28 19:42:10.606: Di0 IPCP: Install route to 197.224.160.1
*Jan 28 19:42:10.610: Vi2 IPCP: Add link info for cef entry 197.224.160.1
*Jan 28 19:42:11.518: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to up

More info:

Router#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            192.168.1.1     YES NVRAM  up                    up     
FastEthernet0/1            unassigned      YES NVRAM  administratively down down   
ATM0/0/0                   unassigned      YES NVRAM  up                    up     
ATM0/0/0.1                 unassigned      YES unset  deleted               down   
ATM0/0/0.2                 unassigned      YES unset  up                    up     
Serial0/1/0                unassigned      YES NVRAM  administratively down down   
NVI0                       unassigned      YES unset  up                    up     
Virtual-Access1            unassigned      YES unset  up                    up     
Virtual-Access2            unassigned      YES unset  up                    up     
Dialer0                    197.224.161.76  YES IPCP   up                    up     
Router#
*Jan 28 19:43:49.190: Vi2 PPP: Outbound cdp packet dropped

thanks in advanced for your kind helps.

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

Hi,

Get rid of your 2 static routes prefixing them with no and then add this one if it isn't already supplied by IPCP  ---->

after deleting the 2 routes do a ship route static  if it is blank then add this route:

ip route 0.0.0.0 0.0.0.0 Default 197.224.160.1

Regards

Don't forget to rate helpful posts.

Hey, thank you for your prompt reply. My internet is working now finally thanks.

But I have only one problem. I can't browse site with SSL. This forum is SSL and it won't browse. I have to switched by to my old DSl to be able to connect again.

Any ideas what could be wrong??

Kind regards,

Sebastien

I don't see anything in your config explaining why you can't surf with https  do you have a nat translation when doing this?

---->  clear ip nat translation * then try to browse and sh ip nat translation

Regards.

Alain.

Don't forget to rate helpful posts.
Review Cisco Networking for a $25 gift card