@george1421 hello am am back home and gave this a try
https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server
but for some reason it just timesout and does not seem to give a IP address
sudo systemctl status dnsmasq
says it is all runing the output of this is as followed
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-10-12 20:39:52 UTC; 6s ago
Process: 52409 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
Process: 52413 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
Process: 52433 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
Main PID: 52432 (dnsmasq)
Tasks: 1 (limit: 6837)
Memory: 1.9M
CGroup: /system.slice/dnsmasq.service
└─52432 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-ne>
Oct 12 20:39:52 optiplex-pxe systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Oct 12 20:39:52 optiplex-pxe dnsmasq[52409]: dnsmasq: syntax check OK.
Oct 12 20:39:52 optiplex-pxe dnsmasq[52432]: started, version 2.80 DNS disabled
Oct 12 20:39:52 optiplex-pxe dnsmasq[52432]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conn>
Oct 12 20:39:52 optiplex-pxe dnsmasq-dhcp[52432]: DHCP, proxy on subnet 172.16.120.200
Oct 12 20:39:52 optiplex-pxe systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
lines 1-18/18 (END)
Edit. i found out how to fix it.
in your tutorial it says
dhcp-range=<fog_server_IP>,proxy
in my case i changed this to
dhcp-range=172.16.120.10,172.16.120.199