Juniper Networks JUNOS OS 10.4 User Manual
Page 100

For more information on configuring DHCP, see the Junos OS Subscriber Management,
Release 13.1.
Related
Documentation
DHCP Relay Agent
•
•
Example: Configuring DHCP Relay in a Bridge Domain VLAN Environment on page 80
•
Example: Configuring DHCP Relay in a VPLS Routing Instance Environment on page 81
Example: Configuring DHCP Relay in a Bridge Domain VLAN Environment
The following example configures DHCP relay in a VPLS environment to trust only the
MAC addresses learned on the listed interfaces.
NOTE:
This is not a complete router configuration.
[edit]
routing-instances {
classic-vpls {
instance-type vpls;
interface ge-1/1/1.0;
interface ge-1/1/2.0;
interface ge-1/1/3.0;
interface ge-1/1/4.0;
interface ge-1/1/5.0;
vlan-id 20;
forwarding-options {
dhcp-relay { # Here is where DHCP is configured.
group vlan-20–bridge {
interface ge-1/1/1.0;
interface ge-1/1/2.0;
interface ge-1/1/3.0;
interface ge-1/1/4.0;
interface ge-1/1/5.0;
}
}
}
protocol vpls {
site-id 567;
# Other VPLS configuration statements...
}
}
}
Only MAC addresses learned on the five listed Gigabit Ethernet interfaces will be trusted
for DHCP relay purposes.
For more information on configuring DHCP, see the Junos OS Subscriber Management,
Release 13.1.
Related
Documentation
DHCP Relay Agent
•
•
MX Series Router as a Layer 2 DHCP Relay Agent on page 79
Copyright © 2013, Juniper Networks, Inc.
80
Junos OS 13.1 MX Series 3D Universal Edge Routers Solutions Guide