Søndag 14 januar 2007 19:30 skrev J. Paul Bissonnette:
> I am running Debian testing.
> I modified a line in dhcp3.conf  change an IP address
> on a restart I have an error, dhcpd3 refuses to start. With a reboot it
> it starts.
>
>
> **************************************
> maple:/home/jpb# ps -A |grep dhcpd3
>  3607 ?        00:00:00 dhcpd3
> maple:/home/jpb# kill 3607
> maple:/home/jpb# ps -A |grep dhcpd3
> maple:/home/jpb# dhcpd3 start
> Internet Systems Consortium DHCP Server V3.0.4
> Copyright 2004-2006 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/sw/dhcp/
> Wrote 0 deleted host decls to leases file.
> Wrote 0 new dynamic host decls to leases file.
> Wrote 1 leases to leases file.
>
> No subnet declaration for start (0.0.0.0).
> ** Ignoring requests on start.  If this is not what
>    you want, please write a subnet declaration
>    in your dhcpd.conf file for the network segment
>    to which interface start is attached. **
>
>
> Not configured to listen on any interfaces!
>
> **************************************************
>
> No subnet declaration for start (0.0.0.0). this has never been in the
> dhcpd.conf file
>
> dhcpd.conf looks like this
>
> ##   Beginning of file
> use-host-decl-names      on;
> ddns-update-style            none;
> default-lease-time           21600;
> max-lease-time               21600;
> option subnet-mask           255.255.255.0;
> option broadcast-address     192.168.0.255;     # <--Change IP
> option routers               192.168.0.1;       # <--Change IP
> option domain-name-servers   192.168.0.100;     # <--Change IP
> option domain-name           "ltsp";            # <--Change/Retain
> option root-path             "192.168.0.100:/opt/ltsp/i386";  # <--Change
> IP option option-128 code 128 = string;
> option option-129 code 129 = text;
> next-server            192.168.0.100;
> subnet 192.168.0.0 netmask 255.255.255.0 {       # <--Change IP
>     range  192.168.0.101  192.168.0.110;         # <--Change 2 IP's
>        option log-servers       192.168.0.100;   # <--Change IP
>     }
>     host ws101 {
>         fixed-address         192.168.0.101;         # <--Change IP
>         hardware ethernet     00:D0:59:DA:29:61;     # <--MAC IBM Think
> Pad A30 Karen
>         filename    "/tftpboot/lts/2.6.17.8-ltsp-1/pxelinux.0";
> #<--Check version
>     }
>
>     host ws102 {
>         fixed-address         192.168.0.102;         # <--Change IP
>         hardware ethernet     00:0d:dd:a2:a0:25;     # <--MAC TransMeta.
> Desknote
>         filename    "/tftpboot/lts/2.6.17.8-ltsp-1/pxelinux.0";
> #<--Check version
>     }
> host ws103 {
>         fixed-address         192.168.0.103;         # <--Change IP
>     hardware ethernet     00:15:F2:aa:26:64;     # <--MAC Asus Natascha
>        filename    "/tftpboot/lts/2.6.17.8-ltsp-1/pxelinux.0";
> #<--Check version
>     }
>
>
> #
> ##  End of file
>
>
> any suggestions??
>
> Paul
>
Hi,

- should your host declarations not go INSIDE the subnet declarations?
- ie., you need something like this:

subnet {
   some subnet bable...

   host ws103 {
   }
}


-- 
-------------------------------------------------------------------------
Med venlig hilsen/Best regards
Verner Kjærsgaard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
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

Reply via email to