SOLVED turning off DHCP on a standalone network
-
How do I turn off DHCP on a standalone fog server and add it to an existing network that will give out DHCP addresses (Windows server) ? Is there a command I can use to do that?
-
@fredlwal said:
@Wayne-Workman said:
undionly.k
So for option 67 do I still have to copy /tftpboot file undionly.kkpxe or just type that in the string value?
Just type in
undionly.kkpxe
for option 067 and the FOG server’s IP for 066. You don’t need to copy anything.@fredlwal said:
@Wayne-Workman and does this have to be placed on all dhcp servers at each building?
Only on the ones you want to use with FOG. If you have slow WAN speeds, you might want to setup a storage node at each location and setup the Location plugin.
-
@Wayne-Workman and does this have to be placed on all dhcp servers at each building?
-
@Wayne-Workman said:
undionly.k
So for option 67 do I still have to copy /tftpboot file undionly.kkpxe or just type that in the string value?
-
Sorry for the delayed response, I’ve been busy this morning.
@fredlwal said:
Where is this file located on the fog server for Option 67 to put on a windows server?
/tftpboot
I’d strongly advise against putting those files on your Windows DHCP server. If you did, everytime you update FOG, you’ll have to copy them all over again… Don’t do that. Just quite simply use Windows DHCP to point option 66 to the FOG Server’s IP address, and option 67 to point toundionly.kkpxe
@fredlwal said:
@Wayne-Workman If I change the IP address on the existing server will that affect my older images?
No. set/opt/fog/.fogsettings
-ipaddress =
correctly, reinstall, update your storage node’s IP address, and then update your FOG Configuration->FOG Settings->Web Server->FOG_WEB_HOST address.When the FOG server changes IPs, and the FOG server is also hosting the boot files, you would then need to adjust your Option 066 on your Windows DHCP server as well.
-
@Wayne-Workman If I change the IP address on the existing server will that affect my older images?
-
Where is this file located on the fog server for Option 67 to put on a windows server?
-
-
@fredlwal said:
How about after I stop it will the clients grab dhcp from the windows server and also how will the clients reach the fog server
you have to specify in your windows DHCP server the 66 and 67 option : https://wiki.fogproject.org/wiki/index.php/Windows_DHCP_Server
-
@fredlwal If DHCP on the Windows server is configured, it should serve DHCP to all hosts that request a lease.
The clients are told by the DHCP server what the next server is and what file to ask for. In windows, this is DHCP options 066 and 067.
We have a WiKi article on this…
https://wiki.fogproject.org/wiki/index.php/Modifying_existing_DHCP_server_to_work_with_FOG -
@ch3i How about after I stop it will the clients grab dhcp from the windows server and also how will the clients reach the fog server?
-
@fredlwal
sudo service isc-dhcp-server stop
? -
@Wayne-Workman umbutu 14.04 LTS
-
What OS is FOG running on? What version?