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

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
   network 10.32.253.128 255.255.255.128
   subnet prefix-length 25
   domain-name smals-mvm.be
   default-router 10.32.253.129
   dns-server 8.8.8.8
   lease 30
   class Test
      address range 10.32.253.192 10.32.253.254

dhcp service is on

interface GigabitEthernet0/0.xxx

description Wireless guest Access
encapsulation dot1Q xxx

ip dhcp relay information trusted
ip vrf forwarding GuestWifi
ip address 10.32.253.130 255.255.255.128
no ip proxy-arp
ip nat inside
ip virtual-reassembly
standby 1 ip 10.32.253.129
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
10.32.253.128        10.32.253.128    - 10.32.253.255     0
No relay targets associated with class Test

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

Apr 22 14:13:37.733: DHCPD: DHCPDISCOVER received from client 0100.14a5.7564.f2 through relay 10.32.253.132.
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 10.32.253.132.

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.

Regards,

Luc

2 REPLIES
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

Hello,

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.

Luc

1405
Views
0
Helpful
2
Replies