Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Related Documentation
- MX Series
- Extended DHCP Relay Agent Overview
- DHCP Relay Proxy Overview
- Configuring Passwords for Usernames
- Creating Unique Usernames for DHCP Clients
- Overriding the Default DHCP Relay Configuration Settings
- PTX Series
- Extended DHCP Relay Agent Overview
- DHCP Relay Proxy Overview
- Overriding the Default DHCP Relay Configuration Settings
Configure Default Forwarding Options for the DHCPv4 Wholesale Network Solution
You can use DHCP Relay, DHCP Relay Proxy, or DHCP Local Server configuration in a DHCP wholesale network. DHCP configuration is defined at the [edit forwarding-options] hierarchy level.
![]() | Note: The configuration for this wholesale solution uses DHCP Relay. |
To configure DHCPv4 Relay forwarding options:
- Access the [edit forwarding-options dhcp-relay] hierarchy.[edit]user@host# edit forwarding-options dhcp-relay
- Specify that you want to configure authentication options
and use external AAA authentication services.[edit forwarding-options dhcp-relay]user@host# edit authentication
- (Optional) Configure a password that authenticates the username to the external authentication service.
- (Optional) Configure optional features to create a unique username.
- Specify the default dynamic profile that you want to attach
to all DHCP subscriber that access the router.[edit forwarding-options dhcp-relay]user@host# set dynamic-profile Wholesaler_Profile
- Specify any overrides for the default DHCP Relay configuration.
See Overriding the Default DHCP Relay Configuration Settings.
- Configure a named server group for default (wholesaler)
DHCP server access.[edit forwarding-options dhcp-relay]user@host# edit server-group Wholesaler_Group
- Specify the DHCP server address for the default (wholesale)
group.[edit forwarding-options dhcp-relay server-group “Wholesaler_Group”]user@host# set 192.168.100.1
- Specify the default (wholesale) group as the active server
group.[edit forwarding-options dhcp-relay]user@host# set active-server-group Wholesaler_Group
- Configure a group you can use to define the wholesale
DHCP access interface.[edit forwarding-options dhcp-relay]user@host# edit group Wholesaler_Group
- Specify the default (wholesale) interface that all DHCP
subscribers use when first accessing the router.[edit forwarding-options dhcp-relay group “Wholesaler_Group”]user@host# set interface ge-2/3/0.1
- Configure a group you can use to define a retail DHCP
interface.[edit forwarding-options dhcp-relay]user@host# edit group Retailer1_Group
- Specify the logical interface the DHCP subscribers use
once redirected.[edit forwarding-options dhcp-relay group “Retailer1_Group”]user@host# set interface ge-2/3/0.2
- Repeat steps 12 and 13 for other retailer groups.
In this solution example, you configure another group name of “Retailer2_Group” and specify ge-2/3/0.3 for the logical interface.
- (Optional) Configure any passwords that authenticate the username to the external authentication service for any of the groups that you created.
- (Optional) Configure optional features to create a unique username for any of the groups that you created.
- (Optional) Specify any overrides for any of the DHCP Relay
group configurations that you created.
See Overriding the Default DHCP Relay Configuration Settings.
Related Documentation
- MX Series
- Extended DHCP Relay Agent Overview
- DHCP Relay Proxy Overview
- Configuring Passwords for Usernames
- Creating Unique Usernames for DHCP Clients
- Overriding the Default DHCP Relay Configuration Settings
- PTX Series
- Extended DHCP Relay Agent Overview
- DHCP Relay Proxy Overview
- Overriding the Default DHCP Relay Configuration Settings


