Re: dhcp issue

From: shekhar sharma <shekhar.sharma21_at_gmail.com>
Date: Tue, 7 Aug 2012 13:08:39 +0400

Hi swap,

yes it says ID didnt match & TIMEout:
State ACKsent?
Below is debug ppp logs on R1 :-

R1#
*Jan 4 12:43:48.583: Se0/1 PPP: Outbound cdp packet dropped
R1#
*Jan 4 12:43:49.711: %SYS-5-CONFIG_I: Configured from console by console
*Jan 4 12:43:50.583: %LINK-3-UPDOWN: Interface Serial0/1, changed state to
up
*Jan 4 12:43:50.583: Se0/1 PPP: Using default call direction
*Jan 4 12:43:50.583: Se0/1 PPP: Treating connection as a dedicated line
*Jan 4 12:43:50.583: Se0/1 PPP: Session handle[34000009] Session id[5]
*Jan 4 12:43:50.583: Se0/1 PPP: Phase is ESTABLISHING, Active Open
*Jan 4 12:43:50.583: Se0/1 LCP: O CONFREQ [Closed] id 4 len 10
*Jan 4 12:43:50.583: Se0/1 LCP: MagicNumber 0x17BE4760 (0x050617BE4760)
*Jan 4 12:43:50.583: Se0/1 LCP: I CONFREQ [REQsent] id 53 len 10
*Jan 4 12:43:50.583: Se0/1 LCP: MagicNumber 0x14D28C58 (0x050614D28C58)
*Jan 4 12:43:50.583: Se0/1 LCP: O CONFACK [REQsent] id 53 len 10
*Jan 4 12:43:50.583: Se0/1 LCP: MagicNumber 0x14D28C58 (0x050614D28C58)
*Jan 4 12:43:50.583: Se0/1 LCP: I CONFACK [ACKsent] id 4 len 10
*Jan 4 12:43:50.583: Se0/1 LCP: MagicNumber 0x17BE4760 (0x05061
R1#7BE4760)
*Jan 4 12:43:50.583: Se0/1 LCP: State is Open
*Jan 4 12:43:50.583: Se0/1 PPP: Phase is FORWARDING, Attempting Forward
*Jan 4 12:43:50.583: Se0/1 PPP: Queue IPCP code[1] id[1]
*Jan 4 12:43:50.583: Se0/1 PPP: Discarded CDPCP code[1] id[1]
*Jan 4 12:43:50.583: Se0/1 PPP: Phase is ESTABLISHING, Finish LCP
*Jan 4 12:43:50.583: Se0/1 PPP: Phase is UP
*Jan 4 12:43:50.583: Se0/1 IPCP: O CONFREQ [Closed] id 1 len 10
*Jan 4 12:43:50.583: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:43:50.587: Se0/1 CDPCP: O CONFREQ [Closed] id 1 len 4
*Jan 4 12:43:50.587: Se0/1 PPP: Process pending ncp packets
*Jan 4 12:43:50.587: Se0/1 IPCP: Redirect packet to Se0/1
*Jan 4 12:43:50.587: Se0/1 IPCP: I CONFREQ [REQsent] id 1 len 10
*Jan 4 12:43:50.587: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:50.587: Se0/1 IPCP: O CONFACK [REQsent] id 1 len 10
*Jan 4 12:43:50.587: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:50.587: Se0/1 CDPCP: I CONFACK [REQsent] id 1 len 4
*Jan 4 12:43:51.583: %LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial0/1, changed state to up
*Jan 4 12:43:52.575: Se0/1 IPCP: I CONFREQ [ACKsent] id 2 len 10
*Jan 4 12:43:52.575: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:52.575: Se0/1 IPCP: O CONFACK [ACKsent] id 2 len 10
*Jan 4 12:43:52.575: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:52.575: Se0/1 CDPCP: I CONFREQ [ACKrcvd] id 2 len 4
*Jan 4 12:43:52.575: Se0/1 CDPCP: O CONFACK [ACKrcvd] id 2 len 4
*Jan 4 12:43:52.575: Se0/1 CDPCP: State is Open
*Jan 4 12:43:52.599: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:43:52.599: Se0/1 IPCP: O CONFREQ [ACKsent] id 2 len 10
*Jan 4 12:43:52.599: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
R1#
R1#
*Jan 4 12:43:54.591: Se0/1 IPCP: I CONFREQ [ACKsent] id 3 len 10
*Jan 4 12:43:54.591: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:54.591: Se0/1 IPCP: O CONFACK [ACKsent] id 3 len 10
*Jan 4 12:43:54.591: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:54.615: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:43:54.615: Se0/1 IPCP: O CONFREQ [ACKsent] id 3 len 10
*Jan 4 12:43:54.615: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:43:54.683: Se0/1 IPCP: I CONFREJ [ACKsent] id 1 len 10
*Jan 4 12:43:54.683: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:43:54.683: Se0/1 IPCP: ID 1 didn't match 3, discarding packet
R1#
*Jan 4 12:43:56.607: Se0/1 IPCP: I CONFREQ [ACKsent] id 4 len 10
*Jan 4 12:43:56.607: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:56.607: Se0/1 IPCP: O CONFACK [ACKsent] id 4 len 10
*Jan 4 12:43:56.607: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:56.631: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:43:56.631: Se0/1 IPCP: O CONFREQ [ACKsent] id 4 len 10
*Jan 4 12:43:56.631: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
R1#
*Jan 4 12:43:58.623: Se0/1 IPCP: I CONFREQ [ACKsent] id 5 len 10
*Jan 4 12:43:58.623: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:58.623: Se0/1 IPCP: O CONFACK [ACKsent] id 5 len 10
*Jan 4 12:43:58.623: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:43:58.647: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:43:58.647: Se0/1 IPCP: O CONFREQ [ACKsent] id 5 len 10
*Jan 4 12:43:58.647: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:43:58.779: Se0/1 IPCP: I CONFREJ [ACKsent] id 3 len 10
*Jan 4 12:43:58.779: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:43:58.779: Se0/1 IPCP: ID 3 didn't match 5, discarding packet
R1#
*Jan 4 12:44:00.639: Se0/1 IPCP: I CONFREQ [ACKsent] id 6 len 10
*Jan 4 12:44:00.639: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:00.639: Se0/1 IPCP: O CONFACK [ACKsent] id 6 len 10
*Jan 4 12:44:00.639: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:00.663: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:44:00.663: Se0/1 IPCP: O CONFREQ [ACKsent] id 6 len 10
*Jan 4 12:44:00.663: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
R1#
*Jan 4 12:44:02.655: Se0/1 IPCP: I CONFREQ [ACKsent] id 7 len 10
*Jan 4 12:44:02.655: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:02.655: Se0/1 IPCP: O CONFACK [ACKsent] id 7 len 10
*Jan 4 12:44:02.655: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:02.679: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:44:02.679: Se0/1 IPCP: O CONFREQ [ACKsent] id 7 len 10
*Jan 4 12:44:02.679: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:44:02.875: Se0/1 IPCP: I CONFREJ [ACKsent] id 5 len 10
*Jan 4 12:44:02.875: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:44:02.875: Se0/1 IPCP: ID 5 didn't match 7, discarding packet
R1#
*Jan 4 12:44:04.671: Se0/1 IPCP: I CONFREQ [ACKsent] id 8 len 10
*Jan 4 12:44:04.671: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:04.671: Se0/1 IPCP: O CONFACK [ACKsent] id 8 len 10
*Jan 4 12:44:04.671: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:04.695: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:44:04.695: Se0/1 IPCP: O CONFREQ [ACKsent] id 8 len 10
*Jan 4 12:44:04.695: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
R1#
*Jan 4 12:44:06.687: Se0/1 IPCP: I CONFREQ [ACKsent] id 9 len 10
*Jan 4 12:44:06.687: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:06.687: Se0/1 IPCP: O CONFACK [ACKsent] id 9 len 10
*Jan 4 12:44:06.687: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:06.711: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:44:06.711: Se0/1 IPCP: O CONFREQ [ACKsent] id 9 len 10
*Jan 4 12:44:06.711: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:44:06.971: Se0/1 IPCP: I CONFREJ [ACKsent] id 7 len 10
*Jan 4 12:44:06.971: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:44:06.971: Se0/1 IPCP: ID 7 didn't match 9, discarding packet
R1#
*Jan 4 12:44:08.703: Se0/1 IPCP: I CONFREQ [ACKsent] id 10 len 10
*Jan 4 12:44:08.703: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:08.703: Se0/1 IPCP: O CONFACK [ACKsent] id 10 len 10
*Jan 4 12:44:08.703: Se0/1 IPCP: Address 180.1.31.3 (0x0306B4011F03)
*Jan 4 12:44:08.727: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:44:08.727: Se0/1 IPCP: O CONFREQ [ACKsent] id 10 len 10
*Jan 4 12:44:08.727: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
R1#undeb
*Jan 4 12:44:10.743: Se0/1 IPCP: Timeout: State ACKsent
*Jan 4 12:44:10.743: Se0/1 IPCP: State is ACKsent
*Jan 4 12:44:11.067: Se0/1 IPCP: I CONFREJ [ACKsent] id 9 len 10
*Jan 4 12:44:11.067: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:44:11.067: Se0/1 IPCP: ID 9 didn't match 10, discarding packet
R1#undeb
R1#undebug all
*Jan 4 12:44:15.163: Se0/1 IPCP: I CONFREJ [ACKsent] id 10 len 10
*Jan 4 12:44:15.163: Se0/1 IPCP: Address 0.0.0.0 (0x030600000000)
*Jan 4 12:44:15.163: Se0/1 IPCP: O CONFREQ [ACKsent] id 11 len 4
*Jan 4 12:44:15.163: Se0/1 IPCP: I CONFACK [ACKsent] id 11 len 4
*Jan 4 12:44:15.163: Se0/1 IPCP: State is Open
*Jan 4 12:44:15.163: Se0/1 IPCP: Install route to 180.1.31.3

On Tue, Aug 7, 2012 at 12:52 PM, swap m <ccie19804_at_gmail.com> wrote:

> wht does "debug ppp negotiation" point to ? ID didnt match & TIMEout:
> State ACKsent?
>
> On Tue, Aug 7, 2012 at 12:37 PM, shekhar sharma
> <shekhar.sharma21_at_gmail.com> wrote:
> >
> > same status :-
> >
> > R1#sh interfaces serial 0/1 | i add
> > Internet address will be negotiated using IPCP
> >
> > On Tue, Aug 7, 2012 at 12:35 PM, shekhar sharma <
> shekhar.sharma21_at_gmail.com>
> > wrote:
> >>
> >> doesn't help ,,, same isse
> >>
> >>
> >> R3#sh running-config | sec dhcp
> >> ip address-pool dhcp-proxy-client
> >> ip dhcp-server 180.1.23.2
> >>
> >> R2#sh ip dhcp binding
> >> Bindings from all pools not associated with VRF:
> >> IP address Client-ID/ Lease expiration Type
> >> Hardware address/
> >> User name
> >> 180.1.31.1 0063.6973.636f.2d31. Jan 04 2010 12:06 PM
> >> Automatic
> >> 3830.2e31.2e33.312e.
> >> 332d.5365.7269.616c.
> >> 312f.32
> >> R2#ping 180.1.31.3
> >> Type escape sequence to abort.
> >> Sending 5, 100-byte ICMP Echos to 180.1.31.3, timeout is 2 seconds:
> >> !!!!!
> >> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
> >> R2#sh ip ro
> >> R2#sh ip route 180.1.31.1
> >> Routing entry for 180.1.31.0/24
> >> Known via "eigrp 100", distance 90, metric 2681856, type internal
> >> Redistributing via eigrp 100, rip, ospf 1
> >> Advertised by rip metric 3
> >> ospf 1 subnets
> >> Last update from 180.1.23.3 on Serial0/1, 00:01:58 ago
> >> Routing Descriptor Blocks:
> >> * 180.1.23.3, from 180.1.23.3, 00:01:58 ago, via Serial0/1
> >> Route metric is 2681856, traffic share count is 1
> >> Total delay is 40000 microseconds, minimum bandwidth is 1544 Kbit
> >> Reliability 255/255, minimum MTU 1500 bytes
> >> Loading 1/255, Hops 1
> >>
> >>
> >> R1#sh interfaces serial 0/1 | i add
> >>
> >> Internet address will be negotiated using IPCP
> >>
> >> On Tue, Aug 7, 2012 at 12:11 PM, ccie19804_at_gmail.com <
> ccie19804_at_gmail.com>
> >> wrote:
> >>>
> >>> Two things -
> >>> 1. change the DHCP server IP to physical IP
> >>> 2. make sure DHCP Server has route to reach pool ip (180.1.31.0/24 in
> >>> this case)
> >>>
> >>> HTH
> >>>
> >>> Swap
> >>> #19804
> >>>
> >>> Sent from my iPhone
> >>> Plaese ingore seplling mistkaes
> >>> ___________________________
> >>>
> >>> On Aug 7, 2012, at 10:42, shekhar sharma <shekhar.sharma21_at_gmail.com>
> >>> wrote:
> >>>
> >>> > Hi,
> >>> >
> >>> > Anyone.....??
> >>> > I know I am missing something obvious......But not able to fiure it
> >>> > out.
> >>> >
> >>> >
> >>> > Regards,
> >>> > Shekhar
> >>> >
> >>> > On Sun, Aug 5, 2012 at 11:21 AM, shekhar sharma
> >>> > <shekhar.sharma21_at_gmail.com>wrote:
> >>> >
> >>> >> Hi All,
> >>> >>
> >>> >> got stuck in a small issue of DHCP.please help
> >>> >>
> >>> >> *Scenario* :-
> >>> >>
> >>> >> R1 & R3 are connected back2back via serial link running PPP.
> >>> >> R1 is requesting ip via IPCP, R3 is a dhcp-proxy pointing to Dhcp
> >>> >> server
> >>> >> pointing to R2.
> >>> >>
> >>> >> R3 & R2 are also connected back2back via serial link .
> >>> >>
> >>> >> *Issue* :-
> >>> >>
> >>> >> R3 is forwarding dhcp request from R1 to R2. That is as expected.
> >>> >> R2 is receving the requet & allocating 1 Ip address (I can see in
> >>> >> "show ip
> >>> >> dhcp binding").That is as expected.
> >>> >> But on R1 status is still "Internet address will be negotiated using
> >>> >> IPCP"
> >>> >> ....??
> >>> >> Also on R1 not able to see any dhcp debug logs.
> >>> >>
> >>> >> *Configs*:-
> >>> >>
> >>> >> R2#sh running-config | sec dhcp
> >>> >> no ip dhcp use vrf connected
> >>> >> ip dhcp pool R1_ip
> >>> >> network 180.1.31.0 255.255.255.0
> >>> >>
> >>> >> R2#sh ip dhcp binding
> >>> >> Bindings from all pools not associated with VRF:
> >>> >> IP address Client-ID/ Lease expiration
> >>> >> Type
> >>> >> Hardware address/
> >>> >> User name
> >>> >> 180.1.31.1 0063.6973.636f.2d31. Jan 04 2010 12:12 PM
> >>> >> Automatic
> >>> >> 3830.2e31.2e33.312e.
> >>> >> 332d.5365.7269.616c.
> >>> >> 312f.32
> >>> >>
> >>> >> ===================================
> >>> >> R3#sh running-config int se1/2
> >>> >> Building configuration...
> >>> >> Current configuration : 200 bytes
> >>> >> !
> >>> >> interface Serial1/2
> >>> >> ip address 180.1.31.3 255.255.255.0
> >>> >> ip accounting output-packets
> >>> >> ip flow ingress
> >>> >> ip flow egress
> >>> >> encapsulation ppp
> >>> >> peer default ip address dhcp
> >>> >> serial restart-delay 0
> >>> >> end
> >>> >>
> >>> >> R3#sh running-config | sec dhcp
> >>> >> ip address-pool dhcp-proxy-client
> >>> >> ip dhcp-server 150.1.2.2
> >>> >>
> >>> >> ===================
> >>> >> R1#sh run int se0/1
> >>> >> Building configuration...
> >>> >> Current configuration : 69 bytes
> >>> >> !
> >>> >> interface Serial0/1
> >>> >> ip address negotiated
> >>> >> encapsulation ppp
> >>> >> end
> >>> >>
> >>> >> R1#sh int serial 0/1 | i add
> >>> >> Internet address will be negotiated using IPCP
> >>> >>
> >>> >> Regards,
> >>> >> Shekhar
> >>> >
> >>> >
> >>> > Blogs and organic groups at http://www.ccie.net
> >>> >
> >>> >
> _______________________________________________________________________
> >>> > Subscription information may be found at:
> >>> > http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Tue Aug 07 2012 - 13:08:39 ART

This archive was generated by hypermail 2.2.0 : Sat Sep 01 2012 - 08:41:18 ART