Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

IOS DHCP server configuration

Good morning,

I have question regarding the configuration of a dhcp server on a router :

ip dhcp pool TEST

   vrf GuestWifi
   subnet prefix-length 25
   lease 30
   class Test
      address range

dhcp service is on

interface GigabitEthernet0/

description Wireless guest Access
encapsulation dot1Q xxx

ip dhcp relay information trusted
ip vrf forwarding GuestWifi
ip address
no ip proxy-arp
ip nat inside
ip virtual-reassembly
standby 1 ip
standby 1 timers msec 100 msec 400
standby 1 priority 110
standby 1 preempt

Pool TEST :
Utilization mark (high/low)    : 100 / 0
Subnet size (first/next)       : 0 / 0
VRF name                       : GuestWifi
Total addresses                : 128
Leased addresses               : 0
Pending event                  : none
1 subnet is currently in the pool :
Current index        IP address range                    Leased addresses    -     0
No relay targets associated with class Test

when a dhcp discover is forwarded from the relay, I get the following debug output :

Apr 22 14:13:37.733: DHCPD: DHCPDISCOVER received from client 0100.14a5.7564.f2 through relay
Apr 22 14:13:37.733: DHCPD: Seeing if there is an internally specified pool class:
Apr 22 14:13:37.733:   DHCPD: htype 1 chaddr 0014.a575.64f2
Apr 22 14:13:37.733:   DHCPD: remote id 020a00000a20fd8200000155
Apr 22 14:13:37.733:   DHCPD: circuit id 00000000
Apr 22 14:13:37.733:   DHCPD: table id 4 = vrf GuestWifi
Apr 22 14:13:37.733: DHCPD: there is no address pool for

I don't see why it doesn't work, the same setup with a linux based dhcp server works fine. I guess I must configure the dhcp server to accept request that have been relayed.

Any help appreciated.



New Member

Re: IOS DHCP server configuration

Seems like it's looking for a global pool instead of the one assigned to vrf GuestWifi.  What address is the relay pointing to? Have you tried removing the VRF from your test pool? Just shooting in the dark here.

New Member

Re: IOS DHCP server configuration


Removing the vrf in the pool configuration doesn't change the behaviour. but the idea was good.

I don't know if anything particular need to be done for the router to accept relayed requests.

I will keep looking and check for any known bug in the release.