[cisco-nas] "ppp ipcp address required" command

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Wed May 5 01:44:54 EDT 2004


> It doesn't seem to do anything for this particular user...

This particular connection never reaches IPCP open state, so the
connection is torn down by IPCP timing out. 

Here an example:

without "ppp ipcp address required":

00:02:44: Se2/0 PPP: Phase is UP [0 sess, 1 load]
00:02:44: Se2/0 IPCP: O CONFREQ [Closed] id 30 len 10
00:02:44: Se2/0 IPCP:    Address 1.1.1.2 (0x030601010102)
00:02:44: Se2/0 IPCP: I CONFREQ [REQsent] id 33 len 10
00:02:44: Se2/0 IPCP:    Address 0.0.0.0 (0x030600000000)
00:02:44: Se2/0 IPCP: No peer address configured
00:02:44: Se2/0 IPCP: Neither side knows remote address
00:02:44: Se2/0 IPCP: O CONFREJ [REQsent] id 33 len 10
00:02:44: Se2/0 IPCP:    Address 0.0.0.0 (0x030600000000)
00:02:44: Se2/0 IPCP: I CONFACK [REQsent] id 30 len 10
00:02:44: Se2/0 IPCP:    Address 1.1.1.2 (0x030601010102)
00:02:44: Se2/0 IPCP: I CONFREQ [ACKrcvd] id 34 len 4
00:02:44: Se2/0 IPCP: O CONFACK [ACKrcvd] id 34 len 4
00:02:44: Se2/0 IPCP: State is Open
[...]

after enabling "ppp ipcp address required":

00:04:30: Se2/0 IPCP: O CONFREQ [Closed] id 36 len 10
00:04:30: Se2/0 IPCP:    Address 1.1.1.2 (0x030601010102)
00:04:30: Se2/0 IPCP: I CONFREQ [REQsent] id 42 len 10
00:04:30: Se2/0 IPCP:    Address 0.0.0.0 (0x030600000000)
00:04:30: Se2/0 IPCP: No peer address configured
00:04:30: Se2/0 IPCP: Neither side knows remote address
00:04:30: Se2/0 IPCP: Peer address required, closing connection
00:04:30: Se2/0 IPCP: State is Closed
00:04:30: Se2/0 PPP: Phase is TERMINATING [0 sess, 1 load]
00:04:30: Se2/0 LCP: O TERMREQ [Open] id 98 len 4
00:04:30: Se2/0 LCP: O PROTREJ [TERMsent] id 99 len 16 protocol IPCP
(0x8021012A000A030600000000)
00:04:30: Se2/0 IPCP: State is Closed
00:04:30: Se2/0 IPCP: Interface transitioned, discarding packet
00:04:30: Se2/0 LCP: I TERMACK [TERMsent] id 98 len 4
00:04:30: Se2/0 LCP: State is Closed
00:04:30: Se2/0 PPP: Phase is DOWN [0 sess, 1 load]

	oli
 
> May  5 04:23:08.239: Vi34 IPCP: TIMEout: State REQsent
> May  5 04:23:08.239: Vi34 IPCP: O CONFREQ [REQsent] id 136 len 10
> May  5 04:23:08.239: Vi34 IPCP:    Address x.x.x.x (0x0306C2DBEF02)
> May  5 04:23:08.251: Vi34 IPCP: I TERMACK [REQsent] id 136 len 4
> May  5 04:23:10.255: Vi34 IPCP: TIMEout: State REQsent
> May  5 04:23:10.255: Vi34 IPCP: O CONFREQ [REQsent] id 137 len 10
> May  5 04:23:10.255: Vi34 IPCP:    Address x.x.x.x (0x0306C2DBEF02)
> May  5 04:23:10.267: Vi34 IPCP: I TERMACK [REQsent] id 137 len 4
> May  5 04:23:12.271: Vi34 IPCP: TIMEout: State REQsent
> May  5 04:23:12.271: Vi34 IPCP: O CONFREQ [REQsent] id 138 len 10
> May  5 04:23:12.271: Vi34 IPCP:    Address x.x.x.x (0x0306C2DBEF02)
> May  5 04:23:12.287: Vi34 IPCP: I TERMACK [REQsent] id 138 len 4
> May  5 04:23:14.291: Vi34 IPCP: TIMEout: State REQsent
> May  5 04:23:14.291: Vi34 IPCP: O CONFREQ [REQsent] id 139 len 10
> May  5 04:23:14.295: Vi34 IPCP:    Address x.x.x.x (0x0306C2DBEF02)
> May  5 04:23:14.315: Vi34 IPCP: I TERMACK [REQsent] id 139 len 4
> May  5 04:23:16.303: Vi34 IPCP: TIMEout: State REQsent
> May  5 04:23:16.303: Vi34 IPCP: O CONFREQ [REQsent] id 140 len 10
> May  5 04:23:16.303: Vi34 IPCP:    Address x.x.x.x (0x0306C2DBEF02)
> May  5 04:23:16.315: Vi34 IPCP: I TERMACK [REQsent] id 140 len 4
> May  5 04:23:18.379: Vi34 IPCP: TIMEout: State REQsent
> May  5 04:23:18.379: Vi34 IPCP: O CONFREQ [REQsent] id 141 len 10
> May  5 04:23:18.379: Vi34 IPCP:    Address x.x.x.x (0x0306C2DBEF02)
> May  5 04:23:18.439: Vi34 IPCP: I TERMACK [REQsent] id 141 len 4
> May  5 04:23:20.423: Vi34 IPCP: TIMEout: State REQsent
> May  5 04:23:20.423: Vi34 IPCP: O CONFREQ [REQsent] id 142 len 10
> May  5 04:23:20.423: Vi34 IPCP:    Address x.x.x.x (0x0306C2DBEF02)
> May  5 04:23:20.443: Vi34 IPCP: I TERMACK [REQsent] id 142 len 4
> May  5 04:23:22.351: Vi34 IPCP: TIMEout: State REQsent
> May  5 04:23:22.351: Vi34 IPCP: O CONFREQ [REQsent] id 143 len 10
> May  5 04:23:22.351: Vi34 IPCP:    Address x.x.x.x (0x0306C2DBEF02)
> May  5 04:23:22.367: Vi34 IPCP: I TERMACK [REQsent] id 143 len 4
> May  5 04:23:24.367: Vi34 IPCP: TIMEout: State REQsent
> May  5 04:23:24.367: Vi34 IPCP: State is REQsent
> 
> PS: x.x.x.x is the router's address.
> 
> Oliver Boehmer (oboehmer) wrote:
> 
> > > What exactly does this command ("ppp ipcp address required") do?
> > 
> > 
> > It disconnects the PPP session (takes LCP down) unless we were able
> > to negotiate an IP address. Without this command, 0.0.0.0 is
> > "assigned" and IPCP is open (not that the client is able to do much
> > with it). Introduced by CSCdr92864. 
> > 
> > 	oli



More information about the cisco-nas mailing list