relay-source
Syntax
relay-source interface-name;
Hierarchy Level
[edit forwarding-options dhcp-relay overrides], [edit forwarding-options dhcp-relay group group-name overrides], [edit forwarding-options dhcp-relay group group-name interface interface-name overrides], [edit logical-systems logical-system-name forwarding-options dhcp-relay overrides], [edit logical-systems logical-system-name forwarding-options dhcp-relay group group-name overrides], [edit logical-systems logical-system-name forwarding-options dhcp-relay group group-name interface interface-name overrides], [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay overrides], [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay group group-name overrides], [edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay group group-name interface interface-name overrides], [edit routing-instances routing-instance-name forwarding-options dhcp-relay overrides], [edit routing-instances routing-instance-name forwarding-options dhcp-relay group group-name overrides], [edit routing-instances routing-instance-name forwarding-options dhcp-relay group group-name interface interface-name overrides]
Description
Configure DHCP relay server to use the configured loopback address as the source address in both the IP header and in DHCP messages relayed to the server.
In network configurations where a firewall on the broadband network gateway (BNG) is between the DHCP relay agent and the DHCP server, only the BNG loopback address passes through the BNG firewall. In that case, DHCP unicast packets do not pass through the firewall and are discarded. This configuration statement places the loopback address in IP headers and DHCP messages, which enables DHCP unicast packets to pass through the firewall to the DHCP server.
Options
interface-name | Specify the loopback interface. The interface-name must be |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 16.1.