D-Link DGS-6600-48TS Configuration Guide - Page 501
Configuring the Relay Agent Information Option, Specifying a DHCP Relay Address
View all D-Link DGS-6600-48TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 501 highlights
Volume 9-Network Application / Chapter 50-DHCP Relay Configuration DHCP Relay Configuration Commands In the following example, the user sets the maximum number of relay hops that a DHCP packet can traverse to 5: DGS-6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#ip dhcp relay hops 5 DGS-6600:15(config)#end Specifying a DHCP Relay Address The user can configure DHCP relay addresses on IP interfaces that need to relay DHCP client messages. When the IP addresses of DHCP servers are configured on an interface, any DHCP client messages received on this interface will be relayed to all the DHCP servers specified in this command. Enter the following command in interface VLAN mode to specify the IP address of a DHCP server that will be forwarded all DHCP request packets received on the specified VLAN interface: Command ip dhcp relay address IP-ADDRESS Explanation Specifies the IP address of a DHCP server that will be forwarded all DHCP request packets received on the specified VLAN interface. In the following example, the user enables the DHCP relay function and configures interface VLAN 100 to use a DHCP server with the IP address 10.1.1.1. After configuring this command, all DHCP packets received on VLAN 100 will also be relayed to the DHCP server with the IP address 10.1.1.1: DGS-6600:2>enable DGS-6600:15#configure terminal DGS-6600:15(config)#ip dhcp relay DGS-6600:15(config)#interface vlan100 DGS-6600:15(config-if)#ip dhcp relay address 10.1.1.1 DGS-6600:15(config-if)#end Configuring the Relay Agent Information Option The following topics are included in this section: • Enabling the Insertion of the Relay Agent Information Option • Specifying the Policy for Inserting the Relay Agent Information Option • Checking the Validity of Reply Messages Enabling the Insertion of the Relay Agent Information Option The user can enable the insertion of the option-82 field in a message when relaying a DHCP message. DGS-6600 Configuration Guide 501