jeandias
(usa Debian)
Enviado em 29/11/2007 - 11:16h
olha so elgio, meu dhcpd.conf agora:
default-lease-time 2592000;
max-lease-time 36000;
#ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.44 ;
option domain-name-servers 200.165.132.147,200.165.132.155;
option netbios-name-servers 192.168.1.44;
option domain-name "Linux";
#deny unknown-clients;
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
# range 192.168.1.10 192.168.1.50;
}
subnet 10.0.0.0 netmask 255.0.0.0 {
range 10.0.0.2 10.0.0.100;
}
olha minhas interfaces ai:
bian:~# clear
debian:~# ifconfig
eth0 Encapsulamento do Link: Ethernet Endereço de HW 00:17:31:7A:32:0A
inet end.: 10.0.0.1 Bcast:10.255.255.255 Masc:255.0.0.0
endereço inet6: fe80::217:31ff:fe7a:320a/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:818 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:68773 (67.1 KiB) TX bytes:3088 (3.0 KiB)
IRQ:201
eth1 Encapsulamento do Link: Ethernet Endereço de HW 00:06:4F:3B:67:38
inet end.: 192.168.1.44 Bcast:192.168.1.255 Masc:255.255.255.0
endereço inet6: fe80::206:4fff:fe3b:6738/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:4886 errors:0 dropped:0 overruns:0 frame:0
TX packets:3244 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:357334 (348.9 KiB) TX bytes:391864 (382.6 KiB)
IRQ:193 Endereço de E/S:0xe800
lo Encapsulamento do Link: Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACKRUNNING MTU:16436 Métrica:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
e o mesmo erro:
debian:~# dhcpd restart
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 restart (0.0.0.0).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface restart is attached.
exiting.
valew pela boa vontade =) fico muito grato.