I'm not a network admin, but I have an old Cisco Catalyst 3560 for my network. I've successfully set up a DHCP Pool:
ip dhcp pool 192.168.0.0 network 192.168.0.0 255.255.255.0 default-router 192.168.0.254 dns-server 188.8.131.52 184.108.40.206
And my computers can happily connect and get an IP address. However my step is that I'd like to assign some static IP addresses within that same subnet. Here's what I started with:
ip dhcp pool Static host 192.168.0.11 255.255.255.0 hardware-address xxxx.xxxx.xxxx default-router 192.168.0.254 dns-server 220.127.116.11 18.104.22.168
However, when I try an ipconfig /renew on the PC with MAC address xxxx.xxxx.xxxx, I get the following:
An error occurred while renewing interface Ethernet : unable to contact your DHCP server. Request has timed out.
I feel like I'm probably missing something simple. It definitely seems to be recognising the MAC address since the behaviour is different with the Static pool configured, can anyone help me work out why DHCP is timing out? Any help would be much appreciated!
Full config (slightly truncated for readability/security):
Current configuration : 3839 bytes ! version 12.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Switch ! boot-start-marker boot-end-marker ! enable secret 5 xxxx ! ! ! no aaa new-model clock timezone UTC 10 clock summer-time UTC recurring last Sun Oct 2:00 last Sun Mar 3:00 system mtu routing 1500 ip name-server 22.214.171.124 ip name-server 126.96.36.199 ! ip dhcp pool 192.168.0.0 network 192.168.0.0 255.255.255.0 default-router 192.168.0.254 dns-server 188.8.131.52 184.108.40.206 ! ip dhcp pool Static1 host 192.168.0.1 255.255.255.0 hardware-address aaaa.bbbb.cccc default-router 192.168.0.254 dns-server 220.127.116.11 18.104.22.168 ! ip dhcp pool Static2 host 192.168.0.11 255.255.255.0 hardware-address dddd.eeee.ffff default-router 192.168.0.254 dns-server 22.214.171.124 126.96.36.199 ! ! ! ! crypto pki trustpoint TP-self-signed-<snip> ! ! crypto pki certificate chain TP-self-signed-<snip> quit ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! ! interface GigabitEthernet0/1 ! <snip> ! interface GigabitEthernet0/28 ! interface Vlan1 ip address 192.168.0.253 255.255.255.0 ! ip default-gateway 192.168.0.254 ip classless ip http server ip http secure-server ! ! vstack ! line con 0 line vty 0 4 password xxxx login line vty 5 15 password xxxx login ! end