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..
Enter your email address below and click the Subscribe button to receive email notifications about new and exciting downloads available through our website at https://www.techygeekshome.com
You will also receive notifications about new technical guides, latest news and MSI installer downloads that are available through our blog here at https://blog.techygeekshome.info
We will not spam you and we will not pass on any of your details to anyone else. We tend to post new content once or twice a week.
You can unsubscribe any time you like.