Fog managing static dhcp -> ip assignment possible?

  • Hi,
    I am just evaluating fog.
    I have a setup where dhcp gives static leases returning the same ip address to a host all the time. Ie. there is alike like
    [CODE]host tux2 {
    hardware ethernet 00:ac:6f:3c:b0:20:00;

    for each host.(The dhcp server also updates dns)

    Is there a way to create/manage these host lines via fog?

    This sounds like a faq, but I wasn’t able to find an answer. Please point me to that information should it exist! 😉

  • Moderator

    Not at this time. But you can modify the web scripts to do it.

  • Thanks for your reply!
    But that is not quite my question. I have that part working fine.

    Let me try again:
    Basically I want to use the fog web interface to manage my static dhcp entries, i.e. (re-) create the dhcp file whenever I add/modify hosts. Is there a hook for that in the web UI?


  • Moderator

    If your clients are using DCHP to get their IP address leases, then you should be able to use Fog. DHCP with static lease information is still DHCP, and that enables you to use Fog. You can update your DHCP to use Option 66 & 67 (windows dhcp) or next-server and filename (linux).

    If you can’t modify your DHCP server, or don’t want to mess with it, you can use ProxyDHCP to handle the PXE Boot requests, and your regular DHCP can handle the IP address leasing.