Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[MX] Error while configuring DHCP and BOOTP relay agents

0

0

Article ID: KB32705 KB Last Updated: 30 May 2018Version: 1.0
Summary:

When the Dynamic Host Configuration Protocol (DHCP) and Bootstrap Protocol (BOOTP) relay agents are configured on the same router, a configuration error is expected because the protocols are mutually exclusive. To resolve this error and commit your configuration, only one protocol must be used, as explained by this article.

 

Symptoms:

When configuring BOOTP and DHCP relay agents on the same router, the following error is encountered:

[edit forwarding-options dhcp-relay]
  'group'
    'group' statement cannot be included along with 'forwarding-options helpers bootp' statement

 

Cause:

The reason for the error is that the DHCP and BOOTP protocols are mutually exclusive.

If the requirement is for a basic deployment for a relay agent, BOOTP can be used, which is the same as DHCP but with fewer configuration options. If the requirement is to have a relay agent on multiple routing instances, it is more efficient to configure DHCP because BOOTP is more limited.

 

Solution:

The only way to make the relay agent to work is by deleting one of the two protocols. When one of the protocols is deleted, the commit will be successful:

TEST@R1# show forwarding-options
helpers {
    bootp {
        interface {
            ge-0/0/3.251 {
                server 172.16.1.6;
            }
        }
    }
}
dhcp-relay {
    relay-option;
    ##
    ## Warning: 'relay-option-82' statement cannot be included along with 'forwarding-options helpers bootp' statement
    ##
    relay-option-82;
    ##
    ## Warning: 'server-group' statement cannot be included along with 'forwarding-options helpers bootp' statement
    ##
    server-group {
        dhcp-server {
            172.16.1.7;
        }
    }
    ##
    ## Warning: 'group' statement cannot be included along with 'forwarding-options helpers bootp' statement
    ##
    group dhcp-clients {
        active-server-group dhcp-server;
        interface ge-0/0/3.250;
    }
}
TEST@R1# delete forwarding-options helpers bootp

TEST@R1# show forwarding-options
dhcp-relay {
    relay-option;
    relay-option-82;
    server-group {
        dhcp-server {
            172.16.1.7;
        }
    }
    group dhcp-clients {
        active-server-group dhcp-server;
        interface ge-0/0/3.250;
    }
}

 

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search