Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / Juniper / Junos: Configuring bootp helper for all interfaces

Junos: Configuring bootp helper for all interfaces

June 25, 2016 by Marques Brownlee

This article explains a caveat when configuring bootp helper to forward BOOTP requests received on a specific interface to one server while all other interfaces forward BOOTP requests to another server.

Take, for example, the following configuration:

MX@root> show configuration forwarding-options helpers bootp 
relay-agent-option;
interface {
    irb.3612 {
        server 1.1.1.1;
    }

    all {
        server 2.2.2.2;
    }
}

With the previous configuration, it will be observed that DHCP requests received on interface irb.3612 will be forwarded to server 2.2.2.2 rather than 1.1.1.1.

However, the behavior will not be seen when the configuration is as follows:

MX@root> show configuration forwarding-options helpers bootp 
relay-agent-option;
interface {
    all {
        server 2.2.2.2;
    }
    irb.3612 {
        server 1.1.1.1;
    }
}

The observed behavior is related to the manner in which the BOOTP code parses the configuration.

For such a scenario, it is recommended to eliminate the “interface all” configuration stanza and use a configuration similar to the one shown as follows. With the following configuration, the system will automatically forward BOOTP requests to the server configured directly under the helpers bootp configuration stanza, while all BOOTP requests received on the explicitly configured interface will be forwarded to another server:

MX@root> show configuration forwarding-options helpers bootp 
relay-agent-option;
server 2.2.2.2;

interface {
     irb.3612 {
        server 1.1.1.1;
    }
}

In above configuration, all DHCP requests received on irb.3612 will be forwarded to 1.1.1.1 and requests received on all other interfaces will be forwarded to 2.2.2.2.

Related

Filed Under: Juniper

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in