apologies I know there are 20 million articles on DHCP relaying but I need to get this sorted.
We currently have a Windows 2012R2 DHCP server running and working just fine. I am retiring the 2012 server and replacing it with a 2019 based DHCP server (VM) based on a different host.
My current setup has the following;
ip helper-address 192.168.200.0 192.168.10.10 37 42 49 53 137 138
ip dhcp relay address 192.168.10.10
for reasons that I don't fully understand....
So by way of a test..I've setup the new DHCP server with a simple scope of 192.168.254.20 - 192.168.254.30.
I've then added
ip dhcp relay address 192.168.10.12 ip helper-address 192.168.254.0 192.168.10.12
to my config.
I've also configured a port on the 254 vlan (which has an ip address of 192.168.254.11)
if I connect a PC to that port however I'm unable to get an IP address.
If I set the IP address manually I can ping the gateway and the new DHCP server (192.168.10.12) so i'm just wondering if there's anything I'm missing.... or should that work from a cisco config point of view?
All you need is the
ip helper-address <ip of the DHCP server>
On the router interface or the SVI.
There is no need for the relay command.