HP 6120G/XG HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 106

Example of Option 82 Configuration, mgmt-vlan, dhcp-relay option 82

Page 106 highlights

IP Routing Features Configuring DHCP Relay [ ip | mac | mgmt-vlan ] This option specifies the remote ID suboption that the switch uses in Option 82 fields added or appended to DHCP client packets. The type of remote ID defines DHCP policy areas in the client requests sent to the DHCP server. If a remote ID suboption is not configured, then the routing switch defaults to the mac option. (Refer to "Option 82 Field Content" on page 3-52.) ip: Specifies the IP address of the VLAN on which the client DHCP packet enters the switch. mac: Specifies the routing switch's MAC address. (The MAC address used is the same MAC address that is assigned to all VLANs configured on the routing switch.) This is the default setting. mgmt-vlan: Specifies the IP address of the (optional) Management VLAN configured on the routing switch. Requires that a Management VLAN is already configured on the switch. If the Management VLAN is multinetted, then the primary IP address configured for the Management VLAN is used for the remote ID. If you enter the dhcp-relay option 82 command without specifying either ip or mac, the MAC address of the switch on which the packet was received from the client is configured as the remote ID. For information about the Remote ID values used in the Option 82 field appended to client requests, see "Option 82 Field Content" on page 3-52. Example of Option 82 Configuration In the routing switch shown below, option 82 has been configured with mgmt­ vlan for the Remote ID. ProCurve(config)# dhcp-relay option 82 append mgmt-vlan 3-60

  • 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
[ ip | mac | mgmt-vlan ]
This option specifies the remote ID suboption that the
switch uses in Option 82 fields added or appended to
DHCP client packets. The type of remote ID defines
DHCP policy areas in the client requests sent to the
DHCP server. If a remote ID suboption is not configured,
then the routing switch defaults to the
mac
option. (Refer
to “Option 82 Field Content” on page 3-52.)
ip:
Specifies the IP address of the VLAN on which the
client DHCP packet enters the switch.
mac:
Specifies the routing switch’s MAC address. (The
MAC address used is the same MAC address that is
assigned to all VLANs configured on the routing
switch.) This is the default setting.
mgmt-vlan:
Specifies the IP address of the (optional)
Management VLAN configured on the routing
switch. Requires that a Management VLAN is
already configured on the switch. If the Management
VLAN is multinetted, then the primary IP address
configured for the Management VLAN is used for the
remote ID.
If you enter the
dhcp-relay option 82
command without
specifying either
ip
or
mac
, the MAC address of the
switch on which the packet was received from the client
is configured as the remote ID. For information about
the Remote ID values used in the Option 82 field
appended to client requests, see “Option 82 Field
Content” on page 3-52.
Example of Option 82 Configuration
In the routing switch shown below, option 82 has been configured with
mgmt-
vlan
for the Remote ID.
ProCurve(config)# dhcp-relay option 82 append mgmt-vlan
3-60