[SLUG] /etc/dhcpd.conf

2004-11-09 Thread Adam Bogacki
Hi, I'm trying to configure /etc/dhcpd in order to set up a two machine 
home network using LTSP.
The P1 client boots with etherboot but I can't start dhcpd.
Below is my my most recent config attempt, together with the current 
error message when I try to start dhcpd.
My DNS is 203.79.110.81 and the server IP used in successful Win config 
is 192.168.0.1

Any constructive ideas ?
Adam Bogacki,
[EMAIL PROTECTED]
... lost in Confusia's tender mercies ...
default-lease-time   21600;
max-lease-time   21600;
option subnet-mask   255.255.255.0;
option broadcast-address 203.79.110.255;
option routers   203.79.110.81;
option domain-name-servers   203.79.110.81;
option domain-name   paradise.net.nz;  # --Fix this 
domain name
option root-path 203.79.110.81:/opt/ltsp/i386;

subnet  192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.1 192.168.0.253;
}
subnet 203.79.110.0 netmask 255.255.255.0 {
use-host-decl-names  on;
option log-servers   203.79.110.81;

Tux:/etc# dhcpd start
Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
No subnet declaration for start (0.0.0.0).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface start is attached.
exiting.
Tux:/etc#


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] /etc/dhcpd.conf

2004-11-08 Thread Adam Bogacki
Thanks, when I try that I get the message
No subnet declaration for start (0.0.0.0).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface start is attached.
exiting.

and when I try the network calculator it gives a netmask of 
255.255.255.24 ...

My /etc/dhcp.conf currently looks like that below; everything else 
commented out.

When I write a subnet declaration for 192.168.0.0 and for 192.168.0.1 
(server -
presumably the network segment to which interface start is attached) I 
get the
message that the two conflict.

Any ideas ?
Adam
[EMAIL PROTECTED]
subnet 192.168.0.0 netmask 255.255.255.252 {
  option domain-name paradise.net.nz;
  option broadcast-address 192.168.0.1;
  option routers 192.168.0.1;
  option subnet-mask 255.255.255.224;
  range 192.168.0.1 192.168.0.2;
  default-lease-time 21600;
  max-lease-time 21600;
}
#subnet 192.168.0.1 netmask 255.255.255.24 {
#  option domain-name paradise.net.nz;
#  option broadcast-address 192.168.0.1;
#  option routers 192.168.0.1;
#  option subnet-mask 255.255.255.24;
#  range 192.168.0.2 192.168.0.2;
#  default-lease-time 21600;
#  max-lease-time 21600;
#}
host tux
{ fixed-address tux.paradise.net.nz ; }
# The other subnet that shares this physical network
#subnet 192.168.0.1 netmask 255.255.255.224 {


John A. Smith wrote:
Adam,
Your subnet should be 192.168.0.0/255.255.255.252 for one client, with 
range 192.168.0.1 192.168.0.2. Change the following lines

 

subnet 192.168.0.2 netmask 255.255.255.224 {
 range 192.168.0.3 192.168.0.10;


Anyone feel free to correct me if wrong. . . This isn't my strong 
suit. Also, here's a link to a network calculator

http://www.telusplanet.net/public/sparkman/netcalc.htm
-john smith
- Original Message -
Adam Bogacki wrote:
 

I can  boot from eb*zdsk with CONFIG_PCI_DIRECT but can't find dhcpd,
probably because it is not correctly configured.
I am currently getting the error message
  

Address range 192.168.0.3 to 192.168.0.10 not on net
192.168.0.2/255.255.255.224!
exiting.

My current /etc/dhcpd.conf file is below. The server is 192.168.0.1 and
the client is 192.168.0.2 What am I missing here ?
Adam Bogacki.
[EMAIL PROTECTED]
  

option domain-name paradise.net.nz;
option domain-name-servers tux.paradise.net.nz;
option subnet-mask 255.255.255.224;
default-lease-time 21600;
max-lease-time 21600;
subnet 192.168.0.2 netmask 255.255.255.224 {
 range 192.168.0.3 192.168.0.10;
#  option broadcast-address 204.254.239.31;
#  option routers prelude.fugue.com;
#}
# The other subnet that shares this physical network
#subnet 192.168.0.1 netmask 255.255.255.224 {
#  range dynamic-bootp 204.254.239.10 204.254.239.20;
#  option broadcast-address 204.254.239.31;
#  option routers snarg.fugue.com;
#subnet 192.168.0.2 netmask 255.255.255.224 {
#  range 192.5.5.26 192.5.5.30;
#  option name-servers bb.home.vix.com, gw.home.vix.com;
 option domain-name paradise.net.nz;
 option routers 192.168.0.1;
 option subnet-mask 255.255.255.224;
 option broadcast-address 192.168.0.1;
 range 192.168.0.3 192.168.0.10;
 default-lease-time 600;
 max-lease-time 7200;
#}



---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
 https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net
  

-=-=-=-=-=-=-=-=-=-=-=-
John A. Smith
Director of Administration
Breakthrough Urban Ministries
5243 N. Ashland Ave.
Chicago, IL 60640-2001
PH: 773.989.4382, x230
FAX: 773.989.7329
http://www.breakthroughministries.com


 

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html