Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
/etc/dhcp3/dhcpd.conf
log-facility local7; ddns-update-style ad-hoc; subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.10 192.168.2.20; default-lease-time 3600; option domain-name "ble.pl"; option domain-name-servers 150.254.175.1; option netbios-name-servers 192.168.2.1; option routers 192.168.2.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.2.255; } host asus { hardware ethernet 00:18:de:a0:5b:17; fixed-address 192.168.2.10; }
w rsyslog.conf dodane
local7.* /var/log/dhcpd.log
a /var/log/dhcpd.log pokazuje:
Dec 22 20:25:49 debian dhcpd: Internet Systems Consortium DHCP Server V3.1.3 Dec 22 20:25:49 debian dhcpd: Copyright 2004-2009 Internet Systems Consortium. Dec 22 20:25:49 debian dhcpd: All rights reserved. Dec 22 20:25:49 debian dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Dec 22 20:25:51 debian dhcpd: Internet Systems Consortium DHCP Server V3.1.3 Dec 22 20:25:51 debian dhcpd: Copyright 2004-2009 Internet Systems Consortium. Dec 22 20:25:51 debian dhcpd: All rights reserved. Dec 22 20:25:51 debian dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Dec 22 20:25:52 debian dhcpd: Internet Systems Consortium DHCP Server V3.1.3 Dec 22 20:25:52 debian dhcpd: Copyright 2004-2009 Internet Systems Consortium. Dec 22 20:25:52 debian dhcpd: All rights reserved. Dec 22 20:25:52 debian dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Dec 22 20:25:52 debian dhcpd: Wrote 0 deleted host decls to leases file. Dec 22 20:25:52 debian dhcpd: Wrote 0 new dynamic host decls to leases file. Dec 22 20:25:52 debian dhcpd: Wrote 2 leases to leases file. Dec 22 20:25:52 debian dhcpd: Dec 22 20:25:52 debian dhcpd: No subnet declaration for eth0 (192.168.1.100). Dec 22 20:25:52 debian dhcpd: ** Ignoring requests on eth0. If this is not what Dec 22 20:25:52 debian dhcpd: you want, please write a subnet declaration Dec 22 20:25:52 debian dhcpd: in your dhcpd.conf file for the network segment Dec 22 20:25:52 debian dhcpd: to which interface eth0 is attached. ** Dec 22 20:25:52 debian dhcpd:
ath0 mam na 192.168.2.1
Nie moge rozwiązania znaleźć ;/ pozdro
Ostatnio edytowany przez giegiel (2009-12-22 23:48:30)
Offline
Restartowałem usługę ale dopiero po restarcie kompa zadziałało ;) więc rozwiązane.
Offline