If you are using Cisco switches, you may find that you need to configure IP helper addresses to give devices on different VLAN’s the correct direction to your DHCP server.
To do this, you can use the following commands:
To view the current vlan configuration:
- Show ip int vlan # (# being the number of your VLAN)
This will bring back all the information about your current VLAN, including where (if at all) your IP helper address is pointing to and should look similar to this:
To configure or change where your switch is pointing its IP helper addresses to, you can use the following command:
NOTE: These commands assume that your current IP helper address is 192.168.0.1 and you want to change it to 192.168.0.2:
- Config t
- Int vlan #
- TO REMOVE IP HELPER: no ip helper-address 192.168.0.1
- TO ADD IP HELPER: ip helper-address 192.168.0.2
- Wr mem
If you have any questions about this guide, please feel free to leave us a message below using our comments section below..
If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.
No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.