[SOLVED] Your help need running TFTP on Guest OS of Virtualbox.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Your help need running TFTP on Guest OS of Virtualbox.
Hi
I am trying to run TFTP between two Guest OS ( CentOS 7 ) on virtualbox but I have not been able to do the tftp from the client to the server. I can connect between two server using ssh, I tested the tftp on the server itself and I can put and get files locally. Netstat show the udp ports 69 is open and listening on the server but everytime I try to tftp from the client I get the following message on the server
in.tftpd:WRQ from 192.168.1.2 filename test
in.tftpd:tftpd:read: No route to host
I can ping between the two Guest OS but why it is giving No route to host.
There are two network card on the Guest OS. One is running as NAT and the other is running as internal network. The Guest server and Guest client communicate using internal network IP.
netstat can't show that. Most likely the firewall prevents you from accessing port 69. Use firewall-cmd list-ports to check, and firewall-cmd add-port 69/udp to open the port.
It is in the same 192.168.1.0/24 subnet and firewall is not running. I am trying to create TFTP server on virtualbox Guest OS running Centos 7. Netstat shows tftp is open to all.
I did the tcpdump on the server and it showed the client unreachable - admin prohibited, so I knew I was not looking into the client side I made the changes and the tftp worked . Thank you
It is in the same 192.168.1.0/24 subnet and firewall is not running. I am trying to create TFTP server on virtualbox Guest OS running Centos 7. Netstat shows tftp is open to all.
Even though you have solved this, let me say again: Netstat doesn't show whether a given port is reachable from outside. It only shows that there is a process listening on that port.
In your case, my guess is that the tftp daemon is listening on port 69 on all IP addresses, which leads you to think that it's open for all.
I did the tcpdump on the server and it showed the client unreachable - admin prohibited, so I knew I was not looking into the client side I made the changes and the tftp worked . Thank you
Can you share your changes? Other people with similar problems would benefit from knowing what you did.
@berndbausch I know Netstat doesn't show whether a given port is reachable from outside. It only shows that there is a process listening on that port.
This is what I did on the client side to make tftp work
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.