[c-nsp] IOS DHCP server and VRF

Robert Blayzor rblayzor at inoc.net
Fri Feb 10 10:03:46 EST 2006


I am having a problem getting IOS DHCP server to operate correctly with
interfaces in different VRF's.

Assume the config below:

ip dhcp excluded-address 10.100.8.1
!
ip dhcp pool rg0
   vrf mot1
   network 10.100.8.0 255.255.248.0
   default-router 10.100.8.1
!
interface BVI5
 ip vrf forwarding mot1
 ip address 10.100.8.1 255.255.248.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 load-interval 30


When a client tries to DHCP an address, the IOS DHCP server gets it, but
then I get this error:

Feb  9 17:00:39.590: DHCPD: DHCPDISCOVER received from client
0100.0f1f.9e36.cd on interface BVI5.
Feb  9 17:00:39.590: DHCPD: there is no address pool for 10.100.8.1.


Even though a pool actually exists:

Pool rg0 :
 Utilization mark (high/low)    : 100 / 0
 Subnet size (first/next)       : 0 / 0
 VRF name                       : mot1
 Total addresses                : 2046
 Leased addresses               : 0
 Pending event                  : none
 1 subnet is currently in the pool :
 Current index        IP address range                    Leased addresses
 10.100.8.1           10.100.8.1       - 10.100.15.254     0


If I remove the "vrf mot1" from the DHCP pool, the DHCP server will then
find the pool and try to reply, but the reply seems to never make it
back to the client.

-- 
Robert Blayzor, BOFH
INOC, LLC
rblayzor\@(inoc.net|gmail.com)
PGP: 0x66F90BFC @ http://pgp.mit.edu
Key fingerprint = 6296 F715 038B 44C1 2720  292A 8580 500E 66F9 0BFC

My opinion is neither copyrighted nor trademarked, and it's price
competitive. If you like, I'll trade for one of yours.


More information about the cisco-nsp mailing list