RE: peer default ip address dhcp

From: CCIE 19999 (ccie@iprimus.com.au)
Date: Thu Aug 23 2007 - 21:39:18 ART


Add the interface 139.1.45.5 to OSPF. R5 would be able to get the ip address
from R1. After getting the ip address, you can remove the network statement
from OSPF. But, if you bounce the serial interface, you will not get the ip
address again.

This is the only workaround I could work out for this.

Regards,
Shine

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
ISolveSystems
Sent: Friday, 24 August 2007 8:45 AM
To: bdennis@internetworkexpert.com
Cc: Cisco certification
Subject: Re: peer default ip address dhcp

Yes, this works, but this doesn't meet the IE workbook requirement of using
R1 as the DHCP server.....

On 8/23/07, Brian Dennis <bdennis@internetworkexpert.com> wrote:
>
> PPPoE will allow it but serial interfaces will not ;-)
>
> ip dhcp excluded-address 139.1.45.1 139.1.45.3
> ip dhcp excluded-address 139.1.45.5 139.1.45.255
> !
> ip dhcp pool R4
> network 139.1.45.0 255.255.255.0
> !
> interface Serial0/1
> ip address 139.1.45.5 255.255.255.0
> encapsulation ppp
> peer default ip address dhcp-pool R4
> clock rate 64000
> end
>
> Rack1R5(config-if)#shut
> Rack1R5(config-if)#no shut
> %LINK-5-CHANGED: Interface Serial0/1, changed state to administratively
> down
> DHCPD: Interface Serial0/1 is not associated with any VRF.
> DHCPD: freeing address for client
> 6369.7363.6f2d.3133.392e.312e.3435.2e35.2d53.6572.6961.6c30.2f31
> (139.1.45.4).
> DHCPD: returned 139.1.45.4 to address pool R4.
> %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state
> to down
> %LINK-3-UPDOWN: Interface Serial0/1, changed state to up
> DHCPD: allocate request for client cisco-139.1.45.5-Serial0/1 on
> Serial0/1.
> DHCPD: Pool R4 specified.
> DHCPD: Interface Serial0/1 is not associated with any VRF.
> DHCPD: found pool R4 for client cisco-139.1.45.5-Serial0/1.
> DHCPD: Allocate an address without class information (139.1.45.0)
> %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state
> to up
> DHCPD: Adding binding to radix tree (139.1.45.4)
> DHCPD: Adding binding to hash tree
> DHCPD: assigned IP address 139.1.45.4 to client
> 6369.7363.6f2d.3133.392e.312e.3435.2e35.2d53.6572.6961.6c30.2f31.
>
> Rack1R5(config-if)#do sho ip dhcp bind
> Bindings from all pools not associated with VRF:
> IP address Client-ID/ Lease expiration Type
> Hardware address/
> User name
> 139.1.45.4 6369.7363.6f2d.3133
> . Infinite On-demand
> 392e.312e.3435.2e35.
> 2d53.6572.6961.6c30.
> 2f31
> Rack1R5(config-if)#
>
> Rack1R4(config-if)#do sho ip int s0/1
> Serial0/1 is up, line protocol is up
> Internet address is 139.1.45.4/32
> Broadcast address is 255.255.255.255
> Address determined by IPCP
> Peer address is 139.1.45.5
>
> HTH,
>
> Brian Dennis, CCIE4 #2210 (R&S/ISP-Dial/Security/SP)
> bdennis@internetworkexpert.com
>
> Internetwork Expert, Inc.
> http://www.InternetworkExpert.com
> Toll Free: 877-224-8987
> Direct: 775-745-6404 (Outside the US and Canada)
>
>
> >----- Original Message -----
> Subject: Re: peer default ip address dhcp
> Date: Thu, August 23, 2007 14:57
> From: "ISolveSystems" <support@isolvesystems.com>
>
> > It doesn't take "ip address dhcp" since this is a PPP interface.
> >
> > I did a debug ip packet detail on R1 and confirm that the DHCP request
> > reaches R1.
> >
> > *Aug 23 22:13:12.205: IP: s=139.1.45.5 (Serial0/0/0),
> > d=139.1.15.1(Serial0/0/0), len 604, rcvd 3
> > *Aug 23 22:13:12.205: UDP src=68, dst=67
> > *Aug 23 22:13:12.205: IP: tableid=0, s=139.1.15.1 (local),
> > d=139.1.45.5(Serial0/0/0), routed via FIB
> > *Aug 23 22:13:12.205: IP: s=139.1.15.1 (local),
d=139.1.45.5(Serial0/0/0),
> > len 328, sending
> > *Aug 23 22:13:12.205: UDP src=67, dst=67
> >
> >
> >
> > On 8/23/07, Brian Dennis <bdennis@internetworkexpert.com> wrote:
> > >
> > > Change R4 to "ip address dhcp" and see if that makes a difference.
> > >
> > > Brian Dennis, CCIE4 #2210 (R&amp;S/ISP-Dial/Security/SP)
> > > bdennis@internetworkexpert.com
> > >
> > > Internetwork Expert, Inc.
> > > http://www.InternetworkExpert.com
> > > Toll Free: 877-224-8987
> > > Direct: 775-745-6404 (Outside the US and Canada)
> > >
> > >
> > > >----- Original Message -----
> > > Subject: peer default ip address dhcp
> > > Date: Thu, August 23, 2007 14:29
> > > From: "ISolveSystems" <support@isolvesystems.com>
> > >
> > > > R4 is connect to R5 via ppp and R5 is connected to R1 via ppp.
> > > >
> > > > R4----ppp----R5-----fr-----R1
> > > >
> > > > R4 is configured to obtain ip address from R1 via PPP
> negotiation. For
> > > some
> > > > reason, R4 is not getting the IP.
> > > >
> > > > Debug ppp neg on R4 shows:-(partial output)
> > > > *Aug 23 21:47:39.217: Se0/1/0 IPCP: Timeout: State ACKsent
> > > > *Aug 23 21:47:39.217: Se0/1/0 IPCP: O CONFREQ [ACKsent] id 3 len 10
> > > > *Aug 23 21:47:39.217: Se0/1/0 IPCP: Address
0.0.0.0(0x030600000000)
> > > > *Aug 23 21:47:39.217: Se0/1/0 IPCP: I CONFREQ [ACKsent] id 3 len 10
> > > > *Aug 23 21:47:39.217: Se0/1/0 IPCP: Address
> 139.1.45.5(0x03068B012D05)
> > > > *Aug 23 21:47:39.217: Se0/1/0 IPCP: O CONFACK [ACKsent] id 3 len 10
> > > > *Aug 23 21:47:39.217: Se0/1/0 IPCP: Address
> 139.1.45.5(0x03068B012D05)
> > > > *Aug 23 21:47:39.297: Se0/1/0 IPCP: I CONFREJ [ACKsent] id 1 len 10
> > > > *Aug 23 21:47:39.297: Se0/1/0 IPCP: Address
0.0.0.0(0x030600000000)
> > > > Rack1R4(config-if)#
> > > > *Aug 23 21:47:39.297: Se0/1/0 IPCP: ID 1 didn't match 3, discarding
> > > packet
> > > > Rack1R4(config-if)#
> > > > *Aug 23 21:47:41.233: Se0/1/0 IPCP: Timeout: State ACKsent
> > > > *Aug 23 21:47:41.233: Se0/1/0 IPCP: O CONFREQ [ACKsent] id 4 len 10
> > > > *Aug 23 21:47:41.233: Se0/1/0 IPCP: Address
0.0.0.0(0x030600000000)
> > > >
> > > > R1 has the following:-
> > > > ip dhcp pool R4
> > > > network 139.1.45.0 255.255.255.0
> > > > ip dhcp excluded-address 139.1.45.1 139.1.45.3
> > > > ip dhcp excluded-address 139.1.45.5 139.1.45.255
> > > >
> > > > R5 has the following:-
> > > > ip dhcp-server 139.1.15.1 --pointing to R1
> > > >
> > > > interface Serial0/1/0
> > > > ip address 139.1.45.5 255.255.255.0
> > > > ip rip advertise 3
> > > > encapsulation ppp
> > > > ip policy route-map FROM_VL43
> > > > peer default ip address dhcp
> > > > clock rate 2000000
> > > > end
> > > >
> > > > R4 has the follwoing:-
> > > > interface Serial0/1/0
> > > > ip address negotiated
> > > > ip rip advertise 3
> > > > encapsulation ppp
> > > > end
> > > >
> > > >
> _______________________________________________________________________
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:12 ART