ip dhcp relay information option vpn (S-, K-Series)

Use this command to force the DHCP server to send the VPN option (82) to the client.

Syntax

ip dhcp relay information option vpn
no ip dhcp relay information option vpn

Parameters

None.

Defaults

None.

Mode

VRF Configuration command mode.

Usage

When forwarding the local UDP broadcasts from a VRF to a destination address on the global router or a different VRF, the DHCP relay agent must include information about itself that the DHCP server will forward to the client. Including Option 82 in the DHCP relay information provides the required DHCP relay information. Use the ip dhcp relay information option vpn command to include DHCP relay agent information in the packet sent to the client by the DHCP server. See ip helper-address for details on changing the destination address for the forwarding of local UDP broadcasts.

The “no” form of this command removes the sending of Option 82 in the DHCP relay information.

Example

The following example:

  • Enables IP forwarding for the UPD protocol on VRF “Alpha-Group”
  • Enables DHCP/BOOTP relay on VLAN 10 of VRF “Alpha-Group” and sets the new destination address to 134.141.95.105 on VRF “Internet-Access”
  • Configures the inclusion of DHCP relay agent information in the packet sent from the DHCP server to the client
    System(su)->router Alpha-Group
    System(su-*ha-Group)->configure
    System(su-*ha-Group-config)->ip forward-protocol udp
    System(su-*ha-Group-config)->interface vlan.0.10
    System(su-*ha-Group-config-intf-vlan.0.10)->ip helper-address 134.141.95.105 vrf Internet-Access
    System(su-*ha-Group-config-intf-vlan.0.10)->exit
    System(su-*ha-Group-config)->ip dhcp relay information option vpn
    System(su-*ha-Group-config)->