We have multiple VLAN's with one DHCP server.
I have configured what I think is correct to get different VLAN's picking up a dhcp address from the VLAN with the DHCP server in but, it doesn't seem to be working.
Here is the config. (VLAN 10 has the DHCP server with address 192.168.1.20)
Ip address 192.168.1.1 /24
ip address 192.168.10.1 /24
ip-helper address 192.168.1.20
I have set a laptop with DHCP TURBO giving out address 192.168.10.0 but the clients are not picking up any address.
Could you let me know if I am doing something fundamentally wrong please?
Can you post the full config?
Is ip routing enabled?
If you manually specify the address can the client ping the dhcp server?
Can you issue this command:
ip dhcp relay information trust-all
then run the previous show command. Do you now get "All interfaces are trusted source of relay agent information option"
If you are still not get getting a DHCP lease can you post the switch config? Is the DHCP server and client on the same switch?
Would also be a good idea to install wireshark on the DHCP server so you can see what if anything is being received from clients on VLAN20. Might well be nothing to do with the switch config.
The DHCP server did not have a scope that was on the same subnet as itself.
As soon as I configured that it started giving out IP address.
Thanks for your help.