I know this isn't pertaining to the exact scenario below however I was able to use dhcp to specify a certain IP address using the following: R1# ip dhcp pool R8 host 10.10.10.8 255.255.255.0 default-router 10.10.10.1 client-identifier 01aa.aabb.bbcc.c1 R1# R8# ! interface FastEthernet0/1 mac-address aaaa.bbbb.ccc1 ip address dhcp client-id FastEthernet0/1 ! R8# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- R1# *Mar 1 01:19:49.451: DHCPD: DHCPDISCOVER received from client 01aa.aabb.bbcc.c1 on interface FastEthernet0/0. *Mar 1 01:19:49.451: DHCPD: Sending DHCPOFFER to client 01aa.aabb.bbcc.c1 (10.10.10.8). *Mar 1 01:19:49.451: DHCPD: broadcasting BOOTREPLY to client aaaa.bbbb.ccc1. *Mar 1 01:19:49.543: DHCPD: DHCPREQUEST received from client 01aa.aabb.bbcc.c1. *Mar 1 01:19:49.543: DHCPD: Using hostname '01aa.aabb.bbcc.c1' for dynamic update (from hostname option) *Mar 1 01:19:49.543: DHCPD: Sending DHCPACK to client 01aa.aabb.bbcc.c1 (10.10.10.8). *Mar 1 01:19:49.543: DHCPD: broadcasting BOOTREPLY to client aaaa.bbbb.ccc1. R1#
R8#sh ip int bri | ex unass Interface IP-Address OK? Method Status Protocol FastEthernet0/1 10.10.10.8 YES DHCP up up -Randy From: marc abel <[email protected]> To: Don Lundquist <[email protected]> Cc: "[email protected]" <[email protected]> Sent: Wednesday, September 7, 2011 2:42 PM Subject: Re: [OSL | CCIE_RS] VRF aware DHCP host pool Thanks everyone who replied. It took me a couple days before I could circle back to this. The lab is IPExpert Vol 3 lab 7 configuration. I think who ever wrote it didn't really think this through though because the solutions guide says "make sure your DHCP is still working" after you configure the VRF. Well your DHCP appears to continue to work, until you actually reload the router and your bindings go away. So the requirement is that you have DHCP (not IPCP) configured to assign a specific address to R8, but that other hosts will be joined to the link. So I don't think you could just use excluded address to make sure that R8 gets the .8 address. Personally I don't see how it is possible to meet these requirements. Even if we take the requirement that other hosts will be assigned addresses out of the picture I still can't make it work. Like Christophe my routers (proctor labs 2800 series) don't support adding VRF to the excluded address command. R4(config)#ip dhcp excluded-address ? A.B.C.D Low IP address Putting in standard exclusions with a vrf aware pool doesn't seem to work either. It keeps handing out the excluded addresses. -Marc On Mon, Sep 5, 2011 at 8:40 AM, Don Lundquist <[email protected]> wrote: > To clarify and expand on my last response.. I have not physically > implemented this environment you provide below Marc but I am presuming > that you are saying the "client-identifier" command, when added to the > dhcp pool, is when you get the error message? If so, and presuming there > are specific requirements that state you can only exclude the ip addr of > the server, then Adams solution sounds like a viable option. If there are > no DHCP requirements you could also use the peer address command sequence > on R4 to be served to R8... ie, R8:"ip addr negotiated", R4: "peer default > ip address x.x.x.x" > > Thanks again for the thought provoking subject and discussion... I plan to > lab this myself this week with vrf... I also would presume that R4 is the > PE and R8 is the CE? > > Don > > On 9/5/11 3:21 AM, "Adam Booth" <[email protected]> wrote: > >>Hi Marc, >> >>Does it have to be DHCP assignment? Perhaps I'm misunderstanding what >>you're trying to do but it is possible to use ip local pool which I >>believe >>is the standard method for IPCP allocation. >> >>hostname R1 >>ip vrf A >> rd 1:1 >>bba-group pppoe global >> virtual-template 1 >>interface FastEthernet0/0 >> no ip address >> speed 100 >> full-duplex >> pppoe enable group global >>! >>interface Virtual-Template1 >> ip vrf forwarding A >> ip address 10.1.12.1 255.255.255.0 >> peer default ip address pool R2 >>! >>ip local pool R2 10.1.12.2 >> >> >>hostname R2 >>interface FastEthernet0/0 >> no ip address >> speed 100 >> full-duplex >> pppoe enable >> pppoe-client dial-pool-number 1 >>! >>interface Dialer1 >> ip address negotiated >> encapsulation ppp >> dialer pool 1 >> dialer idle-timeout 0 >> dialer persistent >> >>R1#sh ip local pool >> >> Pool Begin End Free In use >>Blocked >> R2 10.1.12.2 10.1.12.2 0 1 >>0 >>R1#sh ip vrf >> Name Default RD Interfaces >> A 1:1 Vt1 >> Vi1.1 >>R1#ping vrf A 10.1.12.2 >> >>Type escape sequence to abort. >>Sending 5, 100-byte ICMP Echos to 10.1.12.2, timeout is 2 seconds: >>!!!!! >>Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/12 ms >> >>Cheers, >>Adam >> >> >>On Mon, Sep 5, 2011 at 7:53 AM, marc abel <[email protected]> wrote: >> >>> I have a PPPoE connection between R4 and R8. R4 is the server and is >>> attempting to assign 10.8.45.8 to R8. It's interface facing R8 is in a >>> VRF called R8. >>> >>> If I configure the DHCP pool to that VRF it works and assigns it an >>> address, my problem is I need to give it a specific address. >>> >>> >>> R4(dhcp-config)#do show run | sec dhcp >>> ip dhcp excluded-address 10.8.45.4 >>> ip dhcp pool PPPOE >>> vrf R8 >>> network 10.8.45.0 255.255.255.0 >>> ip dhcp pool R8 >>> host 10.8.45.8 255.255.255.0 >>> client-identifier 0100.1bd5.0ff2.c9 >>> >>> if I try to add the vrf to the host pool I get this: >>> >>> >>> >>> R4(dhcp-config)#ip dhcp pool R8 >>> R4(dhcp-config)#vrf R8 >>> % This command may not be used with host pools. >>> >>> >>> Any ideas? Here is an example where R8 gets assigned 10.8.45.1 >>> _____________________________ >>> >>> R4(dhcp-config)#do show ip dhcp bind >>> Bindings from all pools not associated with VRF: >>> IP address Client-ID/ Lease expiration Type >>> Hardware address/ >>> User name >>> 10.8.45.8 0100.1bd5.0ff2.c9 Infinite >>>Manual >>> >>> Bindings from VRF pool PPPOE: >>> IP address Client-ID/ Lease expiration Type >>> Hardware address/ >>> User name >>> 10.8.45.1 0100.1bd5.0ff2.c9 Sep 05 2011 09:49 PM >>> Automatic >>> >>> >>> R8(config-if)#do show ip int br | exc unass >>> Interface IP-Address OK? Method Status >>> Proocol >>> Dialer1 10.8.45.1 YES DHCP up >>> up >>> _______________________________________________ >>> For more information regarding industry leading CCIE Lab training, >>>please >>> visit www.ipexpert.com >>> >>> Are you a CCNP or CCIE and looking for a job? Check out >>> www.PlatinumPlacement.com >>> >>_______________________________________________ >>For more information regarding industry leading CCIE Lab training, please >>visit www.ipexpert.com >> >>Are you a CCNP or CCIE and looking for a job? Check out >>www.PlatinumPlacement.com > > _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com
