Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119
Rep:
dhcpd / tftp Config help please
I've been trying to set up a dhcpd / tftp server that would deliver the
kernel and corefs to a system on a PXE boot.. but I'm having problems,
that I believe are in the dhcpd config, included below.
/etc/xinit.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -v -l -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
-----------------------
The target does a pxe boot boot, and receives the correct address, subnet,
and gateway... though it displays the DHCP IP: 192.168.200.57 (which is
the tftp server, not the dhcp server.. but maybe that's what it should
read I don't know)
Then it will time out waiting for a response from the tftp server.
I can do a netstat -a |grep tftp and see the service running
I did a tcpdump: tcpdump port 69 on the tftp server, and receive no traffic
I then changed the dhcpd.conf so the tftp server would be in the same
subnet.. and (this time on a RH8 box).. and still no traffic on port 69.
I did not set up the tftp servcie on this second test box.. I was just
looking for trafic at this point.
Can anyone see anything obviously wrong with my dhcpd.conf, or on what I
have done here to get it to work.
"and receives the correct address, subnet,
and gateway... though it displays the DHCP IP: 192.168.200.57 (which is
the tftp server, not the dhcp server.. but maybe that's what it should
read I don't know)"
As I read your conf file, and if that 00:01:02:23:31:EB mac is that board, it should get the IP 192.168.202.120, not .57.
Then try from another box (or your server itself) if you can actually tftp the file in the first place.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.