Comware

 View Only
last person joined: yesterday 

Expand all | Collapse all

PXE DHCP forwarding

This thread has been viewed 0 times
  • 1.  PXE DHCP forwarding

    Posted Jul 13, 2015 06:48 PM

    We're transitioning from using DHCP options 66 and 67 for PXE booting as it's unsupported and problematic.

     

    Apparently the right way to do this is to forward the DHCP requests to the DHCP server and the PXE server. This will let the DHCP server reply an IP and the PXE server respond to option 60 and negotiate the NBP and all that.

     

    Refer to this post for a better sum up of the PXE DHCP process.

     

     

    I'm struggling to determine the best way to accomplish this across different VLANs. My go-to attempt was to do this:

     

    ip helper-address <ip of DHCP server>

    ip helper-address <ip of PXE server>

     

     

    But it didn't seem to like this approach. My thought was that having multiple IP helper-addresses defined would query both simultaneously. Maybe it just picks one at random though? That wouldn't work since the PXE client would need DHCP replies from both servers.

     

    If I pass the ip-helper to the broadcast IP of the VLAN with both servers:

     

    ip helper-address 10.1.50.255

     

    It works. But I don't really like this approach because it seems like it would pass a lot of broadcast traffic onto the server VLAN if I had to set it up for each client VLAN.

     

    Is there a better way to accomplish this goal on the switching? What method(s) do you guys use?


    #PXE
    #DHCP
    #broadcast
    #ip-helper


  • 2.  RE: PXE DHCP forwarding

    Posted Jul 13, 2015 10:22 PM

    2 IP-helper addresses.

    The DHCP broadcast gets forwarded to both.



  • 3.  RE: PXE DHCP forwarding

    Posted Jul 14, 2015 03:16 PM

    That's what I tried first but wasn't working. However, I just retried it for sanity and it's fine now.

     

    Not sure if I originally mistyped an IP or maybe there was just some residual stuff on the client or networking. Either way, it looks like it's working as intended now.