Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell SmartFabric OS10 User Guide Release 10.5.3

PDF

ip dhcp-relay source-interface

Configures the source interface to be used by the DHCP relay agent to decide the Gateway IP address used for forwarding a DHCP packet received on the VRF.

Syntax
ip dhcp-relay {source-interface [ethernet node/slot/port | loopback loopback-id | port-channel id-number | vlan vlan-id | virtual-network vn-id]
Parameters
  • ethernet node/ slot/port - Enter the ethernet interface type.
  • loopback loopback-id - Enter the Loopback interface type.
  • port-channel id-number - Enter the port channel interface type.
  • vlan vlan-id - Enter the VLAN interface type.
  • virtual-network vn-id - Enter the virtual network type.
Defaults
No source-interface configuration on the VRF and the client connected interface IP address is used by the relay for forwarding.
Command Mode
IP VRF
Usage Information

When you configure the DHCP-relay source interface for a given VRF, all the DHCP client-facing interfaces associated with the VRF use this interface IP in the giaddr field to forward the packets to and from the DHCP server.

The DHCP server uses the IP address of that source interface as destination for RELAY-REPLY packets. We can configure a unique source-interface for the DHCP client facing interfaces (apart from the one configured at the VRF level), by using the interface level source-interface command.

The source-interface IP address takes precedence for the giaddr field even if an interface IP address or virtual anycast gateway IP address is present on the interface.

NOTE: You must enable the link-selection option globally to allocate the IP address on the client subnet if the client-connected interface IP address and source interface IP address are in different network domain.

This command is restricted to netadmin and sysadmin role users.

Example
OS10(conf-vrf)# ip dhcp-relay source-interface
ethernet        Ethernet interface type
loopback        Loopback interface type
port-channel    Port-channel interface type
vlan            Vlan interface type
virtual-network virtual network type

OS10(conf-vrf)# ip dhcp-relay source-interface loopback 1

Supported Releases
10.5.2 or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\