Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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:

  1. Access the [edit forwarding-options dhcp-relay] hierarchy.
    [edit]user@host# edit forwarding-options dhcp-relay
  2. Specify that you want to configure authentication options and use external AAA authentication services.
    [edit forwarding-options dhcp-relay]user@host# edit authentication
  3. (Optional) Configure a password that authenticates the username to the external authentication service.

    See Configuring Passwords for Usernames.

  4. (Optional) Configure optional features to create a unique username.

    See Creating Unique Usernames for DHCP Clients.

  5. 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
  6. Specify any overrides for the default DHCP Relay configuration.

    See Overriding the Default DHCP Relay Configuration Settings.

  7. Configure a named server group for default (wholesaler) DHCP server access.
    [edit forwarding-options dhcp-relay]user@host# edit server-group Wholesaler_Group
  8. 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
  9. Specify the default (wholesale) group as the active server group.
    [edit forwarding-options dhcp-relay]user@host# set active-server-group Wholesaler_Group
  10. Configure a group you can use to define the wholesale DHCP access interface.
    [edit forwarding-options dhcp-relay]user@host# edit group Wholesaler_Group
  11. 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
  12. Configure a group you can use to define a retail DHCP interface.
    [edit forwarding-options dhcp-relay]user@host# edit group Retailer1_Group
  13. 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
  14. 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.

  15. (Optional) Configure any passwords that authenticate the username to the external authentication service for any of the groups that you created.

    See Configuring Passwords for Usernames.

  16. (Optional) Configure optional features to create a unique username for any of the groups that you created.

    See Creating Unique Usernames for DHCP Clients.

  17. (Optional) Specify any overrides for any of the DHCP Relay group configurations that you created.

    See Overriding the Default DHCP Relay Configuration Settings.

Published: 2013-07-31