Purpose
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.
Pre-Requisite
The switch must be on the routing firmware
This must be completed in privileged exec mode
Configuration
Define the VLAN
- VLAN 10 name Production
- router-interface ve 10 <<< This creates a layer 3 interface
- exit
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
- exit
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.
Comments
0 comments
Please sign in to leave a comment.