Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Inserting DHCPv6 Interface-ID Option (Option 18) In DHCPv6 Packets

You can configure DHCPv6 relay agent to insert the DHCPv6 Interface-ID (option 18) in the packets that the relay sends to a DHCPv6 server. You can configure the option 18 support at either the DHCPv6 global or group level.

  • Prefix—Specify the prefix option to add a prefix to the interface identifier. The prefix can be any combination of hostname, logical system name, and routing instance name.
  • Interface description—Specify the use-interface-description option to include the textual interface description instead of the interface identifier. You can include either the device interface description or the logical interface description.
  • Option 82 Agent Circuit ID suboption (suboption 1)—Specify the use-option-82 option to use the DHCPv4 Option 82 Agent Circuit ID suboption (suboption 1). This configuration is useful in a dual-stack environment, which has both DHCPv4 and DHCPv6 subscribers that reside over the same underlying logical interface. The router checks for the option 82 suboption 1 value and inserts it into the outgoing packets. If no DHCPv4 binding exists or if the binding does not have an option 82 suboption 1 value, the router sends the packets without adding an option 18.

Note: If you specify one of the optional configurations, and the specified information does not exist (for example, there is no interface description), DHCPv6 relay ignores the optional configuration and inserts the default interface identifier in the packets.

To insert the DHCPv6 Interface-ID option (option 18) in DHCPv6 packets:

  1. Configure the DHCPv6 relay to include option 18.
    [edit forwarding-options dhcp-relay dhcpv6]user@host# edit relay-agent-interface-id
  2. (Optional) Specify the prefix to include in option 18.
    [edit forwarding-options dhcp-relay dhcpv6 relay-agent-interface-id]user@host# set prefix prefix
  3. (Optional) Specify that option 18 include the textual description of the interface. You can specify either the logical interface description or the device interface description.
    [edit forwarding-options dhcp-relay dhcpv6 relay-agent-interface-id]user@host# set use-interface-description (logical | device)
  4. (Optional) Specify that option 18 use the DHCPv4 Option 82 Agent Circuit ID suboption (suboption 1) value.
    [edit forwarding-options dhcp-relay dhcpv6 relay-agent-interface-id]user@host# set use-option-82

Published: 2014-04-23

Supported Platforms

Published: 2014-04-23