Für die Einrichtung/Aktivierung des DHCP Relay für VLANs bzw. Konfiguration der Helper-IP sind folgende Sachen notwendig:
Prerequisites for DHCP Relay Operation:
For the DHCP Relay agent to work on the switch, the following steps need to be completed:
-
Enable DHCP Relay on the routing switch (the default setting).
-
Ensure that a DHCP server is servicing the routing switch.
-
Enable IP Routing on the routing switch.
-
Ensure that there is a route from the DHCP server to the routing switch and back.
-
Configure one or more IP helper addresses for specified VLANs to forward DHCP requests to DHCP servers on other subnets.
To enable the DHCP Relay:
The DHCP Relay function is enabled by default on a ProCurve routing switch. However, if DHCP has been disabled, you can re-enable it by entering the following command at the global configuration level:
ProCurve(config)# dhcp-relay
To disable the DHCP Relay:
To disable the DHCP Relay function, enter the no form of the command:
ProCurve(config)# no dhcp-relay
Example to configure the „ip helper-address“ on vlan 33:
ProCurve# configure
ProCurve(config)# vlan 33 ip helper-address 192.168.0.10 (adress of DHCP Server)
ProCurve(config)# show ip helper-address vlan 33
IP Helper Addresses
IP Helper Address
—————–
192.168.0.10