LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 10-31-2003, 11:13 AM   #1
peok
Member
 
Registered: Aug 2003
Location: CA, USA
Distribution: (Almost) LFS 6.1.1
Posts: 91
Thanked: 0
dhcpd configuration


[Log in to get rid of this advertisement]
just trying to setup dhcpd using bootp from a RH9 box. I've been reading the dhcpd and dhcpd.conf man pages and these are my questions:

the parameter filename. in the dhcpd man page the "simple bootp client declaration" looks like

host haagen {
hardware ethernet 08:00:2b:4c:59:23;
fixed-address 239.252.197.9;
filename "/tftpboot/haagen.boot;"
}

but its explination of what that .boot file is isn't too clear to me.

and the "hardware ethernet" parameter doesn't seem to be right. from reading the dhcpd.conf man page, it seems it should be "hardware-address" Is this right?
peok is offline     Reply With Quote
Old 10-31-2003, 11:29 AM   #2
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280
Thanked: 0
not sure about needing the filename part at all as i've never seen it. as for hardware ethernet vs. hardware-address, try em both out see if both work
Robert0380 is offline     Reply With Quote
Old 10-31-2003, 12:43 PM   #3
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112
Thanked: 0
The ethernet parameter is the MAC address of an ethernet card. When a machine with that MAC makes a DHCP request, it will be given the address, hostname, and filename from this entry.

The filename is the name of the file which the client will download via tftpd. It must be a bootable image. Normally this is created by using 'mknbi' of some flavor to add the necessary headers to a linux kernel.
musrum is offline     Reply With Quote
Old 10-31-2003, 02:37 PM   #4
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 571
Thanked: 3
I believe the filename parameter is used with disk-less station which are booting through the net (for boot file specification).
dorian33 is offline     Reply With Quote
Old 10-31-2003, 02:53 PM   #5
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112
Thanked: 0
That is correct, though the strictly speaking, the workstation doesn't have to be diskless, it's the most common use.
musrum is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
DHCPD configuration help sleepisforwimps Linux - Networking 2 08-22-2005 08:05 PM
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 11:32 AM
DHCPD startup failure, mdk 9.2, dhcpd v3.0.1rc11 fuzzyworm Linux - Networking 1 02-14-2004 04:58 AM
dhcpd configuration brijesh Linux - Networking 2 12-17-2003 05:33 AM
dhcpd.master or dhcpd.conf rickg Linux - Networking 0 04-11-2002 04:34 PM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration