Configuring DHCP Service
DHCP relay state: enabled
...
DHCP relay helper address is configured on the following interfaces:
Interface
------------
VLAN2
...
View port settings:
Switch#show ip dhcp relay information interface
Interface Option 82 Status Operation Strategy Format Circuit ID
--------- ----------------
Gi1/0/1
Gi1/0/2
...
5.4.4 Configuring the DHCP Server
Note:
•
Make sure the DHCP server supports Option 82 and more than one DHCP address pool.
•
To make sure the DHCP server can reach the computers, you can create static routes or enable
dynamic routing protocol like RIP on the DHCP server.
•
In this section, we use different notations to distinguish ASCII strings from hexadecimal
numbers. An ASCII string is enclosed with quotation marks, such as "123", while a hexadecimal
number is divided by colon into parts of two digits, such as 31:32:33.
On the DHCP server, you need to create two DHCP classes to identify the Option 82
payloads of DHCP request packets from Group 1 and Group 2, respectively.
In this example, the DHCP relay agent uses the default circuit ID and remote ID in TLV
format. According to packet formats described in
of the two groups are as shown in the following table.
Table 5-1
Sub-options of Group1 and Group 2
Group
Sub-option
Circuit ID
1
Remote ID
Helper address
-------------------
192.168.0.59
------------------
Enable
Replace
Enable
Replace
Type (Hex)
00
00
-------
Normal Default:VLAN-PORT ...
Normal Default:VLAN-PORT ...
Table 1-1
Length (Hex)
Value (Hex)
04
00:02:00:01
06
00:00:FF:FF:27:12
Configuration Examples
---------
and
Table
1-2, the sub-options
User Guide
...
...
489