No tftpd access after changing ubuntu IP

I had to change the IP and dhcp scope of a Ubuntu server that is acting as a PXE server. Since changing the IP I now get an error when clients PXE boot. PXE-E11- ARP timeout ....and then tftp cannot open connection.
Client machines can get an ip ok. Is there somewhere else I need to edit in addition to the ip and dhcp scope for this to work . thanks
LVL 6
Sid_FAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Daniel HelgenbergerCommented:
So DHCP is working?
But all computers get no TFTP boot IP?
Or rather they get an IP but cannot connect. If so, this might fix it:

If you changed the IP of your DHCP and TFTP boot server, did you also configure DHCP Option 67, 'next-server' TFTP boot server IP to the new IP of the DHCP server? This option is static and needs to be configured manually when changing the TFTPboot Server's IP in /etc/dhcpd.conf, for instance if your subnet is 192.168.0.0/24 and the tftp server 192.168.0.1:
subnet 192.168.0.0 netmask 255.255.255.0 {
...
# PXE Parameters
next-server 192.168.0.1;
filename "pxelinux.0";
...
}

Open in new window

0
Sid_FAuthor Commented:
Yes I did configure this. Even though I restarted the service it didn't work until I rebooted the machine for some reason.
0
Daniel HelgenbergerCommented:
So is it working after the reboot?
If not, can you check TFTP is working with a tftp client and 69/UDP is not firewall blocked?
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

vivigattCommented:
You don't have to specify "next-server" if the TFTP server is running on the BOOTP/DHCP server. In that case, PXE clients (rom) assume that the "next-server" is the dhcp/bootp server.
You may find some useful details in my article
http://www.experts-exchange.com/Networking/Misc/A_2978-PXEClient-what-is-it-for-Can-I-use-PXE-without-it.html
(and the comments I wrote to it afterwards)
0
Daniel HelgenbergerCommented:
You don't have to specify "next-server" if the TFTP server is running on the BOOTP/DHCP server.
True! But since you always need to define the filename parameter, I like configs to be clear. But the dhcpd.conf does not seem to be the problem here anyway.
0
vivigattCommented:
In that particular case, not specifying the next-server would have been a "good" thing after the IP address changed.
However, I think the problem was solved by rebooting the server (at least this is what I seem to understand from what the author wrote lately)
0
Sid_FAuthor Commented:
Yes everything is working. Can anyone tell me the command to actually reboot. I couldn't find this and had to pull the plug!
0
Daniel HelgenbergerCommented:
A good thing to try

shutdown -r now #reboots, the same thing:
reboot
shutdown -h now #halts the system, switch off

Open in new window

0
vivigattCommented:
The commands that helge000 wrote are to be entered in a terminal window  (xterm if you have a window manager) and may have to be prefixed by sudo:
sudo reboot
sudo shutdown -h now

more details here:
http://linux.die.net/man/8/reboot
http://linux.die.net/man/8/shutdown
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sid_FAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.