LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-02-2003, 03:47 PM   #1
BaerRS
Member
 
Registered: Oct 2001
Location: Columbus, Ohio
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119

Rep: Reputation: 15
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.

Here's my setup:
PXE Boot:
MotherBoard: Intel 815i
eth0: 3Com 35905b
PXE ver: 2.0

DHCP Server:
SuSE 7.3
192.168.202.100

TFTP Server:
Red Hat 9.0
192.168.200.57

/ect/dhcpd.conf:
option netbios-name-servers 192.168.200.31;
option time-servers timserv.testnet.mydomain.com;
option domain-name-servers 192.168.200.31;
option domain-name "testnet.mydomain.com";
option broadcast-address 192.168.202.255;
option subnet-mask 255.255.255.0;
option routers 192.168.202.5;
ddns-update-style none;
allow booting;
allow bootp;
subnet 192.168.202.0 netmask 255.255.255.0 {
}
group {
host stg20 {
ddns-updates off;
hardware ethernet 00:01:02:23:31:EB;
next-server 192.168.200.57;
filename "pxelinux.0";
fixed-address 192.168.202.120;
}
}

/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.

Last edited by BaerRS; 05-02-2003 at 03:49 PM.
 
Old 07-02-2003, 12:24 PM   #2
RHrulz
Member
 
Registered: Jul 2002
Location: Troy, KS
Distribution: Mandrake 10.1
Posts: 57

Rep: Reputation: 15
TFTPD

I am trying something similar, but I can't get TFTPD to start. How do I get it running?

Any other advice would be great
 
Old 07-02-2003, 11:01 PM   #3
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
I don't understand your sentence

"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.

Hope it helps,
mlp
 
Old 07-02-2003, 11:36 PM   #4
pbaumgar
Member
 
Registered: Feb 2003
Distribution: gentoo, ubuntu
Posts: 43

Rep: Reputation: 15
Read:

http://www.tldp.org/HOWTO/Network-boot-HOWTO/index.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to install LTSP, config problem (tftp, xdmcp) yokim Linux - Networking 2 10-10-2005 11:11 PM
help with dhcpd.config file to assign address's to clients on another subnet ccammack Linux - Networking 2 10-03-2005 09:42 AM
Dhcpd config - 2 things I can't find shurka Linux - Networking 0 11-30-2004 01:51 AM
Config DHCPD for non-direct connected subnet desmondwck Linux - Software 0 05-14-2004 09:36 AM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration