The purpose of this guide is to demonstrate how to make the switch forward DHCP packets to the DHCP server for local subnets that it is routing for.
The switch must be on the routing firmware
This must be completed in privileged exec mode
Define the VLAN
- VLAN 10 name Production
- router-interface ve 10 <<< This creates a layer 3 interface
Define the Layer 3 Interface and Enable DHCP Forwarding
- interface ve 10
- ip address 10.10.0.1 255.255.255.0
- ip helper-address 1 10.10.0.254 <<< Defines the DHCP server
Explaining the command
- ip helper-address [ID] [IP Address]
The [ID] references the number of the DHCP server as there can be upto 16 DHCP servers referenced per layer 3 interface.