Hello,
We are successfully using Fog for 5 years, as a standalone [FOG+dhcp+tftp] server (xx.yy.20.221
).
Now, we would like to stop using the embedded dhcp server, and use a different external dhcp server (```xx.yy.0.4``). We are using this ISC KEA server for years as well, so we have setup our network to allow the dhcp relay between the FOG clients subnets to our KEA DHCP server.
On the FOG server, we have stopped the dhcpd server, we have reconfigured the .fogsettings
to make sure it won’t run on the local FOG server :
dodhcp='n'
bldhcp='0'
dhcpd=''
and we have re-launched the installfog.sh
script.
On the KEA DHCP external server, we have setup a dedicated subnet with the specific options :
...
"option-data": [
{
"name": "routers",
"data": "xx.yy.20.250"
},
{
"code": 66,
"data": "xx.yy.20.221",
"always-send": true,
"name": "tftp-server-name"
},
{
"code": 67,
"data": "undionly.kkpxe",
"always-send": true,
"name": "boot-file-name"
}
]
...
When trying to boot a FOG client host, which is located in the fog client hosts subnet, I can see that the DHCP traffic is correctly done, the client is getting an ip from the server, through the relay. The KEA DHCP is correctly sending the client the 66 and 67 options (tftp-server-name and bootfile name), but I can also see (tcpdump sniffing) that the fog host client host is requesting the tftp bootfile to the KEA dhcp server, though the tftp server has not changed its location, and still resides on the FOG server!
Through the FOG project documentation, I’ve found information about using an external DHCP server, but there where nothing about changing the TFTP, which I don’t want.
In the FOG system settings, I have double checked that the TFTP server is pointing to the FOG server.
If someone is using an external DHCP to server dhcp queries : are you also hosting the tftp service on the dhcp server, or did you add an additional setup I may have forgotten?
Thank you.