D-Link DGS-3130 Emulator - Page 188
relay destination
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 188 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Usage Guideline The local relay relays the DHCP message to all local VLAN member ports based on the relay option setting. The local relay does not change the destination IP, destination MAC, and the gateway field of the packet. NOTE: When the ip dhcp relay command is disabled on an interface, the interface will not relay or locally relay received DHCP packets. Example This example shows how to enable the local relay function on VLAN 100. Switch# configure terminal Switch(config)# ip dhcp local-relay vlan 100 Switch(config)# 18-15 relay destination This command is used to specify the DHCP relay destination IP address associated with a relay pool. Use the no form of this command to delete a DHCP relay destination from the DHCP relay pool. relay destination IP-ADDRESS no relay destination IP-ADDRESS Parameters IP-ADDRESS Specifies the relay destination DHCP server IP address. Default None. Command Mode DHCP Pool Configuration Mode. Command Default Level Level: 12. Usage Guideline In addition to the relay DHCP packet based on ip helper-address, the relay destination of the DHCP server can be specified in the DHCP relay pool. To do this, use the ip dhcp pool command to enter the DHCP pool configuration mode and then use the relay source command to specify the source subnet of the client requests. Use the relay destination command to specify the relay destination server address. Multiple relay sources and multiple relay destinations can be specified in a pool. If a packet matches anyone of the relay sources, the packet will be forwarded to all of the relay destinations. When receiving a DHCP request packet, if the subnet that the packet comes from matches the relay source of a relay pool, the packet will be relayed based on this relay pool. Otherwise, the packet is relayed based on the IP helper address configured for the received interface. To relay a packet based on the relay pool, if the request packet is a relayed packet, the GIADDR of the packet is the source of the request. If the request packet is not a relayed packet, the subnet of the received interface is the source of the packet. In a DHCP relay pool, administrators can further use the class command and the relay target command to associate a list of relay target addresses with a DHCP class. 184