Pb avec dhcp

bathie -  
 kgb -
salut
quand je tape la commande dhcpd3; voici ce que j'ai comme message d'erreur:
debian:~# dhcpd3
Internet Systems Consortium DHCP Server V3.0.1rc14
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
/etc/dhcp3/dhcpd.conf line 31: semicolon expected.
subnet
^
Configuration file errors encountered -- exiting

il dit je crois que j'ai oblie un point virgule à la lingne 30 dans mon fichier de configuration:
voici mon fichier:
******debut******

# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.4 2002/05/05 21:28:06 peloy Exp $
#

# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;

# option definitions common to all supported networks...
option domain-name "lanlea.org";
option domain-name-servers debian.lanlea.org;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
#log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
#subnet 10.152.187.0 netmask 255.255.255.0 {
#}
#This is a very basic subnet declaration.
subnet 196.1.100.0 netmask 255.255.255.0 {
range 196.1.100.240 196.1.100.250;
option routers 196.1.100.246;
option subnet-mask 255.255.255.0;
option broadcast-address 196.1.100.255;
}
host debian {
hardware ethernet 00:E0:00:C2:3A:61;
fixed-address 196.1.100.246;}
*****fin***

voici mes lignes 29,30 et 31
#This is a very basic subnet declaration.
subnet 196.1.100.0 netmask 255.255.255.0 {
range 196.1.100.240 196.1.100.250;

1 réponse

kgb
 
bonsoir,

c koi le but de la manip ?

cordialement,

Le K.G.B
0