Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Juniper ex4200 Bootp Setup Across Multiple Vlan for PXE DHCP
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Juniper ex4200 Bootp Setup Across Multiple Vlan for PXE DHCP

CoreyCorey Member

So I have intervlan routing setup on my juniper router and all vlans can talk to the DHCP server at 10.0.0.2 via ping etc and visa versa. The problem is that DHCP request packets are not forwarded to the DHCP server from all the other vlans. I stumbled upon juniper's bootp as this is supposed to be the answer to not having a DHCP server in every vlan and set this configuration -

forwarding-options {
helpers {
bootp {
server 10.0.0.2;
maximum-hop-count 10;
minimum-wait-time 8;
interface {
all;
}
}
}
}

Now when the pxe interface starts trying to send packets to the dhcp server it never gets a response. What do I not understand correctly here? Am I missing some configuration? Let me know if there is any other information needed.

Comments

  • gisadikgisadik Banned, Member
    edited January 2018

    You have to set the vlans for those ports that you want snooped/forwarded as assigned to the bootp helper like this;

    You also need to allow it through the RE depending on your FW config;

    Basically you're telling the switch that for those ports if no local dhcp offer then apply the helper.

    When you were on chat a while back looking for a provider this is the sort of help that we could have provided with our Juniper certified staff.

    I guess your http://www.bitaccel.com/robodeploy.php is trying to attempt this http://incero.com/autoservers

    Good luck ;-0

    Thanked by 1Aidan
  • MikePTMikePT Moderator, Patron Provider, Veteran
    edited January 2018

    @gisadik said:
    You have to set the vlans for those ports that you want snooped/forwarded as assigned to the bootp helper like this;

    You also need to allow it through the RE depending on your FW config;

    Basically you're telling the switch that for those ports if no local dhcp offer then apply the helper.

    When you were on chat a while back looking for a provider this is the sort of help that we could have provided with our Juniper certified staff.

    I guess your http://www.bitaccel.com/robodeploy.php is trying to attempt this http://incero.com/autoservers

    Good luck ;-0

    You are aware that you are not the first company to launch instant servers huh? :>

    Get noc-ps or dcimanager + whmcs = same thing, even more features.

    Edit looks like you removed vip and replaced with 36months instead? :o

    Edit, nvm just had to read properly :p

  • gisadikgisadik Banned, Member

    @MikePT said:

    Edit looks like you removed vip and replaced with 36months instead? :o

    VIP is still there, mouse over price. Unrelated to this thread tho. I was just here for juniper geekiness.

  • MikePTMikePT Moderator, Patron Provider, Veteran

    @gisadik said:

    @MikePT said:

    Edit looks like you removed vip and replaced with 36months instead? :o

    VIP is still there, mouse over price. Unrelated to this thread tho. I was just here for juniper geekiness.

    Got it!

    Ye definitely learnt something today as well :p

  • CoreyCorey Member
    edited January 2018

    @gisadik said:
    You have to set the vlans for those ports that you want snooped/forwarded as assigned to the bootp helper like this;

    You also need to allow it through the RE depending on your FW config;

    Basically you're telling the switch that for those ports if no local dhcp offer then apply the helper.

    When you were on chat a while back looking for a provider this is the sort of help that we could have provided with our Juniper certified staff.

    I guess your http://www.bitaccel.com/robodeploy.php is trying to attempt this http://incero.com/autoservers

    Good luck ;-0

    Yea I ended up figuring out the 'all' didnt work as I expected and added in each vlan manually last night before checking this thread :(. I also had some misconfiguration on my DHCP server causing it to not give an ip address to the target machine. DHCP is working great!

    Now the problem I'm having is that IPXE (after getting an address over dhcp from this same machine) can not talk from 10.0.14.3 to 10.0.0.2 even though there is a route, and if I assign the 10.0.14.3 address to a proper OS I can talk with 10.0.0.2. Due to this it can not pull the proper files over TFTP. Ever seen this?

  • qpsqps Member, Host Rep

    Corey said: Now the problem I'm having

    Could it be the netmask coming from your DHCP server is incorrect?

  • @qps said:

    Corey said: Now the problem I'm having

    Could it be the netmask coming from your DHCP server is incorrect?

    Yes the netmask was in fact wrong. My tired eyes left an old entry in that field. Good catch! Bad news though, now I'm getting 'Connection timed out.' when trying to tftp and ping from ipxe. Weird. I'll investigate further.

  • Just a follow up! The DHCPD server was not handing out the proper gateway address. I figured this out by using the 'config' command in the iPXE shell. I fixed this and all is working properly now. Hopefully someone on google finds this thread useful.

    Thanked by 1hostdare
Sign In or Register to comment.