Related
Documentation
Grouping Interfaces with Common DHCP Configurations on page 89•
• Configuring Group-Specific DHCP Relay Options on page 92
• Overriding the Default DHCP Relay Configuration Settings on page 68
• Configuring Passwords for Usernames on page 102
• Creating Unique Usernames for DHCP Clients on page 103
• Example: Extended DHCPv6 Local Server Configuration
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.
When you configure option 18 support, you can optionally include the following additional
information:
•
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 include 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
Copyright © 2017, Juniper Networks, Inc.86
DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches