Fog server dhcp issues



  • I finally got my fog server setup correctly on Ubuntu 11.4. I am able to get the client to boot up to nic and get the fog boot menu. The only problem is when I try to que an upload task in the management then boot the client to nic, I get the following error: PXE-E51: No DHCP or proxydhcp offers were available.

    I did setup the fog server for dhcp so i dont know why its not giving out ips.
    The only thing i can think of is that our domain is run only on static ips. we have a dns server and no dhcp server. Is there some special configuration i must do to get this to work?


  • Moderator

    Please start your own thread and link back to this one if it contains pertinent information.



  • Hi I set my Ubuntu 12.04 desktop up to be the DHCP server on the network as my Cisco Router didn’t respond to ARP request. But now when my clients boot up they don’t receive an IP addy from my fog server. When I put the router back it then gets so I know the network as such is working like it should. Can I just modify the dhcp config?? I know my server does work as I had a client connect to it and I was able to image this client but I had to insert the MAC address…This is my first go at FOG so please forgive the lack of knowledge on this matter. All help appreciated.


  • Moderator

    Well,…

    dhcp is easy to install and configure on Fog and you can have fog server IP addresses from an unused subnet for use when imaging, and then assign static IP addresses to the clients later on from a different subnet or block of addresses.

    Say you use 192.168.1.0 for servers, 192.168.2.0 for workstations, and 192.168.3.0 for all other devices (printers, etc). Your network is basically flat, just using different subnets for different devices or buildings. As long as everyone is setup with a matching subnet mask and the same default gateway, you should be fine.

    Install dhcp on Fog, configure it to serve addresses for 192.168.100.0/24. While PXE booting and imaging, the machines will not interfere with your static addressing scheme since they are on different subnets.

    Another way to do this is to use MAC filtering, where the DHCP server only hands out addresses to known MACs, but this is a lot of administrative overhead. See: http://www.fogproject.org/wiki/index.php?title=Integrating_FOG_into_an_Existing_Network_in_non_intrusive_mode

    Another way is to use ProxyDHCP to only answer DHCP requests that are requesting PXE Boot info, and use a different subnet than your static IP’s. See: http://www.fogproject.org/wiki/index.php?title=Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server



  • Can I please get some input on this? My boss would like to know asap



  • So is there a way to get this to work on my network? Is there a way to use my linux box running fog, as a dhcp service that wont affect the rest of my network? Or is this not really possible? I do not have a dhcp server currently on the network and we don’t really want one on our domain unless its very restricted to only be used with fog. As our domain uses certain static ips



  • AFAIK, you only have two options. Either dhcp server or a client that will allow you to modify pxe in bios. Problem is that this starts pre-OS. You need some way of handing out ips to specific macs before the OS even loads.


Log in to reply
 

478
Online

38916
Users

10686
Topics

101369
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.