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. And see here for current known issues.

New Member

Configuring DHCP on Cisco 1941 router

Hello Team,


i have been trying to configure DHCP server on cisco 1941 router but with no success.

This is quite easy on other cisco routers with fastethernet interfaces but i am having a problem with configuring DHCP on gigabitethernet interfaces on cisco 1941.

Here is part of the configs

ip dhcp pool LAN







interface GigabitEthernet0/1

ip address

duplex auto

speed auto




However; a pc on the LAN cannot get IP dynamically



Anyone with idea please post here as soon as possible












Hi there, Your configuration

Hi there, 

Your configuration is already all well and good and you should be able to get an IP address through that.

1. Verify if your PC/Computer settings are set to DHCP settings. a computer with no IP allocation and if set to pool from DHCP settings should have an IP of 169.254.X.X if wasn't able to get an IP from your DHCP server

2. Assign static IP address on your Laptop/PC, try to see if you can ping the IP of the g0/1 e.g.,

There a big chance you cant ping that IP address considering you cant get an IP address. Of course, if you can't ping it, troubleshoot why ^_^
Once you get a ping response, try to get IP through DHCP.

1. Dont forget to configure 'ip dhcp-exclude address' to set the range of IPs
2. Dont forget to configure 'dns-server' as well as 'lease-time' to further tweak your configuration

Rate for helpful posts :)


New Member

All clients on same VLAN ? 

All clients on same VLAN ? 

I would recommend also

I would recommend also checking the LAN switch.

- make sure that all affected ports are in Spanning-tree forwarding state and not err-disabled and that your VLAN is in active state

- verify any security configuration that might interfere with normal DHCP operation, like DHCP snooping, dynamic ARP inspection or ACLs blocking UDP ports 67, 68

- check whether IP Helper is configured anywhere (e.g. on the SVI on the switch)

- Finally clear counters on the GigabitEthernet interface on the router and enable debuging:
debug ip dhcp server packet

Please post the output of the debug session

New Member

The switchport that connects

The switchport that connects to your router needs to be on the same VLAN as the clients needing an address. This is most likely your issue.

New Member

Hello,As everyone else


As everyone else pointed out, the DHCP config seems good and the problem is most likely on the access switch (or switches), check the Trunking configuration on the uplinks and the vlan configuration on the access ports.

You can also do a debug ip dhcp server packet on the router to see if the router is getting the DHCP packets from the PC's, starting from the DHCP Discover.

New Member

Than you all for your replies

Than you all for your replies.

I figured it out. I had 3 vlans on my switch.

I had not configured the subinterfaces on the router.


I configured the subinterfaces,

Configured the DHCP pools for each VLAN and i was good to go.


It worked out