I have a cisco 2921 router connected to a cisco sg300-52 L3 switch. The switch is configured with several subnets and I need to use the router for DHCP. I setup DHCP on the router to assign addresses to a subnet on the switch but cannot get it to work.
Router:
gateway to LAN is xxx.16.10.1
ip dhcp excluded-address xxx.16.0.1 xxx.16.0.9
!
ip dhcp pool data
network xxx.16.0.0 255.255.254.0
default-router xxx.16.1.1
dns-server xxx.16.1.202
domain-name mydhcp.com
Switch to router xxx.16.10.2
Network on switch for DHCP is xxx.16.1.1
any idea?
GJN