Networking Forums

Networking Forums > Computer Networking > Linux Networking > Trouble with dhcp

Reply
Thread Tools Display Modes

Trouble with dhcp

 
 
mickey
Guest
Posts: n/a

 
      01-10-2005, 01:39 AM
Hi,

I wonder if anyone here can help me with this.

I am trying to get a diskless workstation to boot up. It is supposed
to obtain its IP address via DHCP which is where I run into trouble.
The computer reports it is 'unable to get filename from boot server'
or something of that nature. The server which runs the dhcpd gives
these lines in the log file:

---
Jan 9 01:26:42 obiwan dhcpd: DHCPDISCOVER from 00:e0:81:2d:22:4d via
eth0: network xxx.xxx.78.0/24: no free leases
Jan 9 01:31:06 obiwan dhcpd: DHCPDISCOVER from 00:e0:81:2d:22:4d via
eth0: network xxx.xxx.78.0/24: no free leases
---

The dhcp.conf file is this:

#
# Sample configuration file for ISC dhcpd
#
# Make changes to this file and copy it to /etc/dhcpd.conf.sample
#

ddns-update-style none;

default-lease-time 21600;
max-lease-time 21600;

option subnet-mask 255.255.255.0;
option broadcast-address xxx.xxx.78.255;
option routers xxx.xxx.78.16;
option domain-name-servers xxx.xxx.78.16;
option domain-name "ltsp"; # <--Fix this domain name

option root-path "xxx.xxx.78.16:/opt/ltsp-4.1/i386";

option option-128 code 128 = string;
option option-129 code 129 = text;

subnet xxx.xxx.78.0 netmask 255.255.255.0 {
use-host-decl-names on;
option log-servers xxx.xxx.78.16;

##
## If you want to use static IP address for your workstations, then
un-comment
## the following section and modify to suit your network.
## Then, duplicate this section for each workstation that needs a static
## IP address.
##
host ws001 {
hardware ethernet 00:E0:81:2D:22:4D;
fixed-address 192.168.0.1;
filename "lts/vmlinuz-2.4.26-ltsp-2";
}

##
## If you want to use a dynamic pool of addresses, then un-comment the
following
## lines and modify to match your network.
##
## subnet 192.168.0.0 netmask 255.255.255.0 {
## range dynamic-bootp 192.168.0.1 192.168.0.253;
## }
##

}

#
# If you need to pass parameters on the kernel command line, you can
# do it with option-129. In order for Etherboot to look at option-129,
# you MUST have option-128 set to a specific value. The value is a
# special Etherboot signature of 'e4:45:74:68:00:00'.
#
# Add these two lines to the host entry that needs kernel parameters
#
# option option-128 e4:45:74:68:00:00; # NOT a mac address
# option option-129 "NIC=ne IO=0x300";
#
----

Any help will be appreciated.

Thanks,

-M

--

If you wind up with a boring, miserable life because you listened to
your mom, your dad, your teacher, your priest or some guy on TV telling
you how to do your shit, then YOU DESERVE IT. --Frank Zappa
 
Reply With Quote
 
 
 
 
Allen McIntosh
Guest
Posts: n/a

 
      01-10-2005, 02:31 AM
30 second look says you're missing a range statement.
 
Reply With Quote
 
Yves Junqueira
Guest
Posts: n/a

 
      01-10-2005, 04:34 AM
I agree.
Missing range statement.

 
Reply With Quote
 
Mark South
Guest
Posts: n/a

 
      01-10-2005, 04:42 PM
On Sun, 09 Jan 2005 21:34:13 -0800, Yves Junqueira wrote:

> I agree.
> Missing range statement.


In fact, it's there, but commented out :-)
--
Mark South: World Citizen, Net Denizen

 
Reply With Quote
 
mickey
Guest
Posts: n/a

 
      01-11-2005, 07:40 PM
Yves Junqueira wrote:
> I agree.
> Missing range statement.
>


Thanks for helping. It is working now.

-M
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
moved dhcp from w2k to w2k3-clients unable to connect to dhcp server Tony Villani Windows Networking 8 04-17-2008 12:09 PM
WAG54G and ZoneAlarm..... trouble trouble trouble... MP Wireless Internet 4 07-28-2004 10:42 AM
Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn client? Here is the output of the install script: # uname -rviosm Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64 GNU/Linux JSH Linux Networking 4 07-02-2004 12:48 PM
Redhat 9.0 dhcp client & windows 2003 dhcp server: dynamic dns update Mads Ravn Linux Networking 0 06-29-2004 05:27 PM
Trouble with DHCP and encryprytion 3Com JosteinA Wireless Internet 5 01-08-2004 12:43 PM



1 2 3 4 5 6 7 8 9 10 11