Bonjour ,
Un petit soucis avec la config de mon serveur dhcp3, suite à la commande /etc/init.d/dhcp3-server start j’ai une erreur :
[code]dhcpd3 failed to start - check syslog for diagnostics ,suite à ceci, je fais un cat /var/log/syslog | grep dhcp et j’obiens ceci :
==>
Feb 29 12:59:15 localhost dhcpd: Internet Systems Consortium DHCP Server V3.0.4
Feb 29 12:59:15 localhost dhcpd: Copyright 2004-2006 Internet Systems Consortium .
Feb 29 12:59:15 localhost dhcpd: All rights reserved.
Feb 29 12:59:15 localhost dhcpd: For info, please visit http://www.isc.org/sw/dh cp/
Feb 29 12:59:15 localhost dhcpd: Wrote 0 deleted host decls to leases file.
Feb 29 12:59:15 localhost dhcpd: Wrote 0 new dynamic host decls to leases file.
Feb 29 12:59:15 localhost dhcpd: Wrote 0 leases to leases file.
Feb 29 12:59:15 localhost dhcpd:
Feb 29 12:59:15 localhost dhcpd: No subnet declaration for eth0 (192.168.1.10).
Feb 29 12:59:15 localhost dhcpd: ** Ignoring requests on eth0. If this is not w hat
Feb 29 12:59:15 localhost dhcpd: you want, please write a subnet declaration
Feb 29 12:59:15 localhost dhcpd: in your dhcpd.conf file for the network segm ent
Feb 29 12:59:15 localhost dhcpd: to which interface eth0 is attached. **
Feb 29 12:59:15 localhost dhcpd:
Feb 29 12:59:15 localhost dhcpd:
Feb 29 12:59:15 localhost dhcpd: Not configured to listen on any interfaces!
srv-debian:/home/serveur# dhcp3
[/code]
Mon /etc/interfaces est comme suit :
[code]# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
auto eth0
Secondary network interface
allow-hotplug eth1
iface eth1 inet static
address 200.190.180.1
netmask 255.255.255.0
[/code]
Mon /etc/dhcp3/dhcp3.conf est comme suit :
option routers 200.190.180.1;
default-lease-time 3600;
subnet 200.190.180.0 netmask 255.255.255.0 {
range 200.190.180.2 200.190.180.40; }
host chris {
hardware ethernet 00:08:a1:6d:4b:dc;
fixed-address 200.190.180.2;
}
Dans /etc/sysctl.conf j’ai décommenté la ligne
net.ipv4.conf.default.forwarding=1
Eth1 doit me servir de passerelle pour mes PC1 et PC2
Merçi encore une fois de votre aide .


