Re: DHCP and VRF

From: Iwan Hoogendoorn <iwan_at_ipexpert.com>
Date: Thu, 3 Sep 2009 14:43:00 +0200

Martin,

There is more about DHCP servers and VRF here:
http://www.cisco.com/en/US/docs/ios/12_2t/12_2t8/feature/guide/ftondhcp.html#wp1017554

The exlude command will not work.

If you read the content of the link above the following is stated:

----------------------------------------------------------------------------------------------------------------------------------------------------------
Restrictions
Currently, the ip dhcp excluded-address global configuration command
cannot be used to exclude addresses from VRF associated pools.

The vrf DHCP pool configuration command is currently not supported for
host pools.

Attribute inheritance is not supported on VRF pools.
----------------------------------------------------------------------------------------------------------------------------------------------------------

-- 
Regards,
Iwan Hoogendoorn
CCIE #13084 (R&S / Security / SP)
Sr. Support Engineer  IPexpert, Inc.
URL: http://www.IPexpert.com
On Thu, Sep 3, 2009 at 12:34 PM, Martin Kiefer<martin_at_kiefer.dk> wrote:
> Hi.
>
>
>
> I am having a small problem. I wish to have a DHCP server on the router and
> having the DHCP scope inside a VRF.
>
>
>
> A small configuration example:
>
>
>
> the router:
>
> !
>
> ip dhcp excluded-address 10.1.1.1 10.1.1.10
>
> !
>
> ip dhcp pool TEST
>
>   vrf TEST
>
>   network 10.1.1.0 255.255.255.0
>
> !
>
> ip vrf TEST
>
> !
>
> !
>
> interface FastEthernet0/0
>
>  ip vrf forwarding TEST
>
>  ip address 10.1.1.1 255.255.255.0
>
>
>
> The problem is that the ip dhcp exluded... command does not work. The router
> stills assigns ip addresses within the excluded address scope:
>
>
>
> *Mar  1 00:16:55.717: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
>
> *Mar  1 00:16:55.726: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,
> changed state to up
>
> *Mar  1 00:16:58.754: %DHCP-6-ADDRESS_ASSIGN: Interface Vlan1 assigned DHCP
> address 10.1.1.4, mask 255.255.255.0, hostname Switch
>
>
>
> And from the router:
>
> R1#sh ip dhcp pool
>
>
>
> Pool TEST :
>
>  Utilization mark (high/low)    : 100 / 0
>
>  Subnet size (first/next)       : 0 / 0
>
>  VRF name                       : TEST
>
>  Total addresses                : 254
>
>  Leased addresses               : 1
>
>  Pending event                  : none
>
>  1 subnet is currently in the pool :
>
>  Current index        IP address range                    Leased addresses
>
>  10.1.1.5             10.1.1.1         - 10.1.1.254        1
>
>
>
> R1#sh ip vrf TEST
>
>  Name                             Default RD          Interfaces
>
>  TEST                             <not set>           Fa0/0
>
>
>
> Any good ideas here?
>
>
>
> /Martin Kiefer
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
-- 
Regards,
Iwan Hoogendoorn
CCIE #13084 (R&S / Security / SP)
Sr. Support Engineer  IPexpert, Inc.
URL: http://www.IPexpert.com
Blogs and organic groups at http://www.ccie.net
Received on Thu Sep 03 2009 - 14:43:00 ART

This archive was generated by hypermail 2.2.0 : Sun Oct 04 2009 - 07:42:02 ART