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

Configuring Option 82, dhcp-relay option, append, mgmt-vlan, replace

Page 104 highlights

IP Routing Features Configuring DHCP Relay ID option and a DHCP client request packet is received on a multinetted VLAN, the IP address used in the Option 82 field will identify the subnet on which the packet was received instead of the IP address for the VLAN. This enables an Option 82 DHCP server to support more narrowly defined DHCP policy boundaries instead of defining the boundaries at the VLAN or whole routing switch levels. If the MAC address option (the default) is configured instead, then the routing switch MAC address will be used regardless of which subnet was the source of the client request. (The MAC address is the same for all VLANs configured on the routing switch.) Note that all request packets from DHCP clients in the different subnets in the VLAN must be able to reach any DHCP server identified by the IP Helper Address(es) configured on that VLAN. Configuring Option 82 To configure DHCP Option 82 on a routing switch, enter the dhcp-relay option 82 command. Syntax: dhcp-relay option 82 < append [validate] | replace [validate] | drop [validate] | keep > [ip | mac | mgmt-vlan] append: Configures the switch to append an Option 82 field to the client DHCP packet. If the client packet has existing Option 82 field(s) assigned by another device, the new field is appended to the existing field(s). The appended Option 82 field includes the switch Circuit ID (inbound port number*) associated with the client DHCP packet, and the switch Remote ID. The default switch remote ID is the MAC address of the switch on which the packet was received from the client. To use the incoming VLAN's IP address or the Management VLAN IP address (if configured) for the remote ID instead of the switch MAC address, use the ip or mgmt-vlan option (below). replace: Configures the switch to replace existing Option 82 field(s) in an inbound client DHCP packet with an Option 82 field for the switch. The replacement Option 82 field includes the switch circuit ID (inbound port number*) associated with the client DHCP packet, and the switch remote ID. The default switch remote ID is the MAC address of the switch on which the packet was received from the client. To use the incoming VLAN's IP address or the Management VLAN IP address (if configured) for the remote ID instead of the switch MAC address, use the ip or mgmt-vlan option (below). 3-58

  • 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
ID option and a DHCP client request packet is received on a multinetted VLAN,
the IP address used in the Option 82 field will identify the subnet on which the
packet was received instead of the IP address for the VLAN. This enables an
Option 82 DHCP server to support more narrowly defined DHCP policy
boundaries instead of defining the boundaries at the VLAN or whole routing
switch levels. If the MAC address option (the default) is configured instead,
then the routing switch MAC address will be used regardless of which subnet
was the source of the client request. (The MAC address is the same for all
VLANs configured on the routing switch.)
Note that all request packets from DHCP clients in the different subnets in the
VLAN must be able to reach any DHCP server identified by the IP Helper
Address(es) configured on that VLAN.
Configuring Option 82
To configure DHCP Option 82 on a routing switch, enter the
dhcp-relay option
82
command.
Syntax
:
dhcp-relay option 82 < append [validate] | replace [validate] | drop [validate]
| keep > [ip | mac | mgmt-vlan]
append:
Configures the switch to append an Option 82 field to the
client DHCP packet. If the client packet has existing Option
82 field(s) assigned by another device, the new field is
appended to the existing field(s).
The appended Option 82 field includes the switch Circuit ID
(inbound port number*) associated with the client DHCP
packet, and the switch Remote ID. The default switch remote
ID is the MAC address of the switch on which the packet was
received from the client. To use the incoming VLAN’s IP
address or the Management VLAN IP address (if configured)
for the remote ID instead of the switch MAC address, use the
ip
or
mgmt-vlan
option (below).
replace:
Configures the switch to replace existing Option 82
field(s) in an inbound client DHCP packet with an Option 82
field for the switch.
The replacement Option 82 field includes the switch circuit
ID (inbound port number*) associated with the client DHCP
packet, and the switch remote ID. The default switch remote
ID is the MAC address of the switch on which the packet was
received from the client. To use the incoming VLAN’s IP
address or the Management VLAN IP address (if configured)
for the remote ID instead of the switch MAC address, use the
ip
or
mgmt-vlan
option (below).
3-58