Howdy, Stranger!

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

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

Juniper ex4200 Bootp Setup Across Multiple Vlan for PXE DHCP
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

Juniper ex4200 Bootp Setup Across Multiple Vlan for PXE DHCP

CoreyCorey Member, Provider

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.

BitAccel - OpenVZ VPS / IRC,VPN,Anything Legal & Unrivaled Support!

Comments

  • gisadikgisadik Member
    edited January 12

    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

    Disclaimer: I work at SpeedyKVM. Sorry, I don't answer PMs, use sales[at]speedykvm.com for policy and sales questions.

    Thanked by 1Aidan
  • MikePTMikePT Member, Provider
    edited January 12

    @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

    MXroute.io - SMTP Relay Service, powered by MailChannels, fully automated, LET plans

    MXroute.com - Email Hosting, powered by MailChannels

  • @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.

    Disclaimer: I work at SpeedyKVM. Sorry, I don't answer PMs, use sales[at]speedykvm.com for policy and sales questions.

  • MikePTMikePT Member, Provider

    @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

    MXroute.io - SMTP Relay Service, powered by MailChannels, fully automated, LET plans

    MXroute.com - Email Hosting, powered by MailChannels

  • CoreyCorey Member, Provider
    edited January 12

    @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?

    BitAccel - OpenVZ VPS / IRC,VPN,Anything Legal & Unrivaled Support!
  • qpsqps Member, Provider

    Corey said: Now the problem I'm having

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

  • CoreyCorey Member, Provider

    @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.

    BitAccel - OpenVZ VPS / IRC,VPN,Anything Legal & Unrivaled Support!
  • CoreyCorey Member, Provider

    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.

    BitAccel - OpenVZ VPS / IRC,VPN,Anything Legal & Unrivaled Support!
    Thanked by 1hostdare
Sign In or Register to comment.