For example, you might have an environment in which some DHCP clients require only
Internet access, while other clients require IPTV service. The clients that need Internet
access get their addresses assigned by the DHCP local server on the router (in
equal-access mode). Clients requiring IPTV must be relayed to a specific DHCP server
that provides the service. To support both types of clients, you configure two option 60
strings on the DHCP relay. Now, when any DHCP client packets are received with option
60 strings configured, the strings are matched against all strings configured on the DHCP
relay. If the client string matches the first string you configured, that client is directed to
the DHCP local server and gains Internet access. Client traffic with an option 60 string
that matches your second string is relayed to the DHCP server that provides the IPTV
service. In addition, you can configure a default action, which DHCP relay performs when
a client option 60 string does not match any strings you have configured—for example,
you might specify that all clients with non-matching strings be dropped.
Related
Documentation
dhcp-relay on page 1491•
• overrides on page 1647
DHCPv6 Relay Agent on ACX Series Routers
The DHCPv6 relay agent enhances the extended DHCP relay agent by providing DHCP
support in an IPv6 network. DHCPv6 relay agents eliminate the necessity of having a
DHCPv6 server on each physical network. An ACX Series router configured as a DHCPv6
relay agent passes messages between the DHCPv6 client and the DHCPv6 server, similar
to the way a DHCP relay agent supports an IPv4 network.
The DHCPv6 relay agent is compatible with the extended DHCP local server and the
extended DHCP relay agent, and can be enabled on the same interface as either the
extended DHCP local server or DHCP relay agent.
To configure a DHCPv6 relay agent on the ACX Series routers, include the dhcpv6
statement at the [edit forwarding-options dhcp-relay] hierarchy level. You can also include
the dhcpv6 statement at the [edit routing-instances routing-instance-name
forwarding-options] hierarchy level.
Use the following operational commands to verify and manage DHCPv6 relay agent
settings:
•
clear dhcpv6 relay binding
•
clear dhcpv6 relay binding routing-instance routing-instance-name
•
clear dhcpv6 relay statistics
•
clear dhcpv6 relay statistics routing-instance routing-instance-name
•
show dhcpv6 relay binding
•
show dhcpv6 relay binding routing-instance routing-instance-name
•
show dhcpv6 relay statistics
•
show dhcpv6 relay statistics routing-instance routing-instance-name
Copyright © 2017, Juniper Networks, Inc.370
ACX Series Universal Access Router Configuration Guide