Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Preventing DHCP from Installing Access, Access-Internal, and Destination Routes by Default

    You can configure both DHCP local server and DHCP relay agent to override the default installation of access, access-internal, and destination routes. For DHCPv4 you can override the installation of destination routes only or access-internal routes (the access-internal option prevents installation of both destination and access-internal routes). For DHCPv6 you can specify access routes, access-internal routes, or both. You can configure the override globally or for named interface groups.

    Note: In Junos OS releases prior to Release 13.2, the no-arp statement was used to override the default installation of host routes. In Junos OS Release 13.2 and later, the no-arp statement is deprecated and the function is replaced by the route-suppression statement.

    To configure route suppression and prevent DHCP from installing specific types of routes:

    • For DHCP local server route suppression (for example, a global configuration):
      [edit system services dhcp-local-server]user@host# set route-suppression access-internal
    • For DHCP relay (for example, a group-specific configuration):
      [edit forwarding-options dhcp-relay group southeast]user@host# set route-suppression destination
    • For DHCPv6 local server (for example, a group-specific configuration):
      [edit system services dhcp-local-server group southern3]user@host# set dhcpv6 route-suppression access access-internal
    • For DHCPv6 relay (for example, a global configuration):
      [edit forwarding-options dhcp-relay]user@host# set dhcpv6 route-suppression access

    Published: 2013-08-27