DHCP Issues communicating with FOG
-
hi tom, ive tried running that command from the DHCP Server and it comes back failed, is that definately the command that needs to be used?
-
The tftp command is not available by default in Windows 7 but can be enabled by turning on the [I]TFTP Client[/I] Windows feature from Programs and Features in Control Panel.
tftp will also be blocked by default by the windows firewall -
Hi all,
Thanks in advance for your help, ive tried the tftp -I and its come back successful. and ive checked ports 66 and 67 are both correct. is there anything else that I will need to check?
-
If your tftp command comes back as successful, then the server is operating normally, and the problem lies in the environment.
Try setting up the dnsmasq service to dole out proxydhcp information, it can sometimes help in getting your pxelinux file where it needds to be by supplying the tftpboot information that the clients need. I use this in my environment set ups and it solves the issues you are experiencing.
-
[quote=“Jaymes Driver, post: 24848, member: 3582”]If your tftp command comes back as successful, then the server is operating normally, and the problem lies in the environment.
Try setting up the dnsmasq service to dole out proxydhcp information, it can sometimes help in getting your pxelinux file where it needds to be by supplying the tftpboot information that the clients need. I use this in my environment set ups and it solves the issues you are experiencing.[/quote]
Hi Jaymes, thanks for your help and input, unfortunately im not much of a Linux user really just trying to get the fog server up and running again haha, how would I go about doing this dnsmasq service? also is the pxelinux.0 file editable ? what is actually in that file?
-
Look here, this is a guide to help you accomplish your task at hand.
The pxelinux.0, to my understanding, is a file that will boot linux from a network server with a linux ROM that will allow you to load and transfer data via the PXE environment such as, communicating with a TFTP server to acquire an image for upload or deployment.
I have never edited one in the past, I don’t even know what the file is encoded as so I am going to say that it CAN be modified but I have no expertise how. Tom does all the major work with the PXE system, he has a much better grasp on the files, I am sure he would be willing to offer some help if you let us know what it is you are trying to achieve.
-
[quote=“westontech, post: 24845, member: 23261”]Hi all,
Thanks in advance for your help, ive tried the tftp -I and its come back successful. and ive checked ports 66 and 67 are both correct. is there anything else that I will need to check?[/quote]
As you say this is working now I don’t know where to go.
The only thing, I imagine, that’s keeping your systems from booting the pxelinux.0 (it’s a binary file so not something you can just edit.) is the IP address the option 66 part of the DHCP scope. Option 66 should be the IP address pointing at your new FOG Server’s IP address.
You state they appear to be correct. This may be true, the only other thing you may need to look at is the DHCP ip-helper commands from the switch that’s passing the main network’s routing information. My guess is the ip-helper is currently pointing DHCP to go to your old DHCP server address. Systems within the layer 2 of your network are working fine because it’s passing straight to the new DHCP server (I’m just guessing) where systems on separate subnets and switches are probably having issues as well, they just haven’t quite cropped up yet.
-
hey guys, thanks again for all your help,
we have found that within the fog web interface under:-
Other information -> Fog settings -> TFTP Server -> FOG_PXE_IMAGE_DNSADDRESS
was incorrect due to the change, after changing this to the correct address fog is now up and running. -
Awesome, at least it was less troublesome than networking issues as a whole right?
-
haha yeah indeed, definitely a setting worth knowing about though. thanks again for all your help tom + Community
-
Glad you got it sorted!!!