HP 6120XG HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 88

DHCP Packet Forwarding, Unicast Forwarding, Prerequisites for DHCP Relay Operation

Page 88 highlights

IP Routing Features Configuring DHCP Relay The DHCP relay agent is transparent to both the client and the server. Neither side is aware of the communications that pass through the DHCP relay agent. As DHCP clients broadcast requests, the DHCP relay agent receives the packets and forwards them to the DHCP server. During this process, the DHCP relay agent increases the hop count by one before forwarding the DHCP message to the server. A DHCP server includes the hop count from the DHCP request that it receives in the response that it returns to the client. DHCP Packet Forwarding The DHCP relay agent on the routing switch forwards DHCP client packets to all DHCP servers that are configured in the table administrated for each VLAN. Unicast Forwarding The packets are forwarded using unicast forwarding if the IP address of the DHCP server is a specific host address. The DHCP relay agent sets the destination IP address of the packet to the IP address of the DHCP server and forwards the message. Broadcast Forwarding The packets are forwarded using broadcast forwarding if the IP address of the DHCP server is a subnet address or IP broadcast address (255.255.255.255). The DHCP relay agent sets the DHCP server IP address to broadcast IP address and will be forwarded to all VLANs with configured IP interfaces (except the source VLAN). Prerequisites for DHCP Relay Operation For the DHCP Relay agent to work on the switch, you must complete the following steps: 1. Enable DHCP Relay on the routing switch (the default setting). 2. Ensure that a DHCP server is servicing the routing switch. 3. Enable IP Routing on the routing switch. 4. Ensure that there is a route from the DHCP server to the routing switch and back. 5. Configure one or more IP helper addresses for specified VLANs to forward DHCP requests to DHCP servers on other subnets. 3-42

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122

IP Routing Features
Configuring DHCP Relay
The DHCP relay agent is transparent to both the client and the server. Neither
side is aware of the communications that pass through the DHCP relay agent.
As DHCP clients broadcast requests, the DHCP relay agent receives the
packets and forwards them to the DHCP server. During this process, the DHCP
relay agent increases the hop count by one before forwarding the DHCP
message to the server. A DHCP server includes the hop count from the DHCP
request that it receives in the response that it returns to the client.
DHCP Packet Forwarding
The DHCP relay agent on the routing switch forwards DHCP client packets to
all DHCP servers that are configured in the table administrated for each VLAN.
Unicast Forwarding
The packets are forwarded using unicast forwarding if the IP address of the
DHCP server is a specific host address. The DHCP relay agent sets the
destination IP address of the packet to the IP address of the DHCP server and
forwards the message.
Broadcast Forwarding
The packets are forwarded using broadcast forwarding if the IP address of the
DHCP server is a subnet address or IP broadcast address (255.255.255.255).
The DHCP relay agent sets the DHCP server IP address to broadcast IP address
and will be forwarded to all VLANs with configured IP interfaces (except the
source VLAN).
Prerequisites for DHCP Relay Operation
For the DHCP Relay agent to work on the switch, you must complete the
following steps:
1.
Enable DHCP Relay on the routing switch (the default setting).
2.
Ensure that a DHCP server is servicing the routing switch.
3.
Enable IP Routing on the routing switch.
4.
Ensure that there is a route from the DHCP server to the routing switch
and back.
5.
Configure one or more IP helper addresses for specified VLANs to forward
DHCP requests to DHCP servers on other subnets.
3-42