Freesco, NND, CDN, EOS

http://www.freesco.pl
Dzisiaj jest niedziela, 22 czerwca 2025, 09:20

Strefa czasowa UTC+2godz.




Nowy temat Odpowiedz w temacie  [ Posty: 4 ] 
Autor Wiadomość
 Tytuł: problem z dhcpd
Post: czwartek, 1 marca 2007, 09:57 
Offline

Rejestracja: sobota, 5 lutego 2005, 09:18
Posty: 63
Lokalizacja: Malbork
Witam. przeinstalowałem nnd (nowe) i nie moge sobie poradzić z serwerem dhcp, albo nie przydziela adresów, albo przydziela tylko kilka a reszcie uzytkownikom nie przydziela. Mam 2 podsieci n 2 kartach sieciowych. Jeśli zchaszuje 2 podsieć w dhcpd to działa ok. proszę o konfigurację confa, lub podpowiedź co jest nie tak. poniżej dhcpd.conf
: [/] [] ()
# /etc/dhcp.conf

# Plik konfiguracyjny deamona dhcpd


ddns-update-style=ad-hoc;
option domain-name "centrum";
option domain-name-servers 194.204.159.1,194.204.152.34;
option subnet-mask 255.255.255.0;
default-lease-time 21600;
max-lease-time 86400;

#Je┐eli chcesz dodaŠ statyczne wpisy dla komputerˇw
#musisz zmieni przedzia│ podany przy zmiennej range
#tak aby komputery ze sta│ym IP nie zawiera│y siŕ w przedziale
subnet 192.168.0.0 netmask 255.255.255.0 {
#range 192.168.0.25 192.168.0.26; #Zakres przydzielanych adresˇw
option broadcast-address 192.168.0.255; #Adres rozg│oszeniowy
option routers 192.168.0.1; #Brama domyÂlna
authoritative;
}

host Sekretariat {
hardware ethernet 00:13:8F:C8:E9:3E;
fixed-address 192.168.0.2;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Goska {
hardware ethernet 00:50:BF:9C:03:D2;
fixed-address 192.168.0.3;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Pawel {
hardware ethernet 00:0C:F1:7E:C4:00;
fixed-address 192.168.0.4;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Ewa {
hardware ethernet 00:0C:F1:7E:C6:A1;
fixed-address 192.168.0.5;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Terapia {
hardware ethernet 00:13:8F:1D:34:AF;
fixed-address 192.168.0.6;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Brygida {
hardware ethernet 00:0C:F1:6B:46:AD;
fixed-address 192.168.0.7;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Rosi {
hardware ethernet 00:40:D0:75:9F:E3;
fixed-address 192.168.0.8;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Agnieszka {
hardware ethernet 00:0B:6A:D8:CA:C0;
fixed-address 192.168.0.9;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Asia {
hardware ethernet 00:0C:F1:7F:F2:FF;
fixed-address 192.168.0.10;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Poldek_laptop {
hardware ethernet 00:40:Ca:BD:AA:3B;
fixed-address 192.168.0.11;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Poradnia {
hardware ethernet 00:50:BF:9C:2B:4C;
fixed-address 192.168.0.12;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Piotr_laptop {
hardware ethernet 00:0f:b0:97:8b:f4;
fixed-address 192.168.0.13;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Mazur_laptop {
hardware ethernet 00:0a:e4:e9:58:1c;
fixed-address 192.168.0.14;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Pawel_rut_komp {
hardware ethernet 00:48:54:1f:3e:9b;
fixed-address 192.168.0.15;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Seba_laptop {
hardware ethernet 00:16:ec:00:83:3c;
fixed-address 192.168.0.16;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host Vc_Prezes {
hardware ethernet 00:16:36:ae:fa:e5;
fixed-address 192.168.0.18;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

#podsiec 1.1
subnet 192.168.1.0 netmask 255.255.255.240 {
#range 192.168.1.20 192.168.1.21; #Zakres przydzielanych adresˇw
option broadcast-address 192.168.1.255; #Adres rozg│oszeniowy
option routers 192.168.1.241; #Brama domyÂlna
authoritative;
}

host Terapia_parter {
hardware ethernet 00:0e:2E:80:c1:d6;
fixed-address 192.168.1.2;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}

host Terapia_pietro {
hardware ethernet 00:13:8f:ad:e1:1b;
fixed-address 192.168.1.3;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}


tu jest wycinek z pliku errors
: [/] [] ()
Mar  1 07:58:07 router last message repeated 16 times
Mar  1 07:58:08 router dhcpd: There's already a DHCP server running.
Mar  1 07:58:08 router dhcpd:
Mar  1 07:58:08 router dhcpd: If you did not get this software from ftp.isc.org, please
Mar  1 07:58:08 router dhcpd: get the latest from ftp.isc.org and install that before
Mar  1 07:58:08 router dhcpd: requesting help.
Mar  1 07:58:08 router dhcpd:
Mar  1 07:58:08 router dhcpd: If you did get this software from ftp.isc.org and have not
Mar  1 07:58:08 router dhcpd: DHCPDISCOVER from 00:50:bf:9c:03:d2 via eth2: network 192.168.1.0/28: no free leases
Mar  1 07:58:08 router dhcpd: yet read the README, please read it before requesting help.
Mar  1 07:58:09 router dhcpd: If you intend to request help from the dhcp-server@isc.org
Mar  1 07:58:09 router dhcpd: mailing list, please read the section on the README about
Mar  1 07:58:09 router dhcpd: submitting bug reports and requests for help.
Mar  1 07:58:09 router dhcpd:
Mar  1 07:58:09 router dhcpd: Please do not under any circumstances send requests for
Mar  1 07:58:10 router dhcpd: help directly to the authors of this software - please
Mar  1 07:58:10 router dhcpd: send them to the appropriate mailing list as described in
Mar  1 07:58:10 router dhcpd: the README file.
Mar  1 07:58:10 router dhcpd:
Mar  1 07:58:10 router dhcpd: exiting.
Mar  1 07:58:10 router dhcpd: DHCPDISCOVER from 00:50:bf:9c:03:d2 via eth2: network 192.168.1.0/28: no free leases
Mar  1 07:58:42 router last message repeated 31 times
Mar  1 07:59:43 router last message repeated 61 times
Mar  1 08:00:44 router last message repeated 60 times
Mar  1 08:01:45 router last message repeated 61 times
Mar  1 08:02:46 router last message repeated 61 times
Mar  1 08:03:47 router last message repeated 60 times
Mar  1 08:04:48 router last message repeated 61 times
Mar  1 08:05:49 router last message repeated 61 times
Mar  1 08:06:50 router last message repeated 60 times
Mar  1 08:06:57 router last message repeated 7 times
Mar  1 08:06:58 router dhcpd: DHCPDISCOVER from 00:13:8f:ad:e1:1b via eth1: network 192.168.0/24: no free leases
Mar  1 08:06:58 router dhcpd: DHCPDISCOVER from 00:50:bf:9c:03:d2 via eth2: network 192.168.1.0/28: no free leases
Mar  1 08:07:29 router last message repeated 31 times
Mar  1 08:08:30 router last message repeated 61 times
Mar  1 08:09:31 router last message repeated 60 times
Mar  1 08:10:32 router last message repeated 61 times
Mar  1 08:11:33 router last message repeated 61 times
Mar  1 08:12:34 router last message repeated 60 times
Mar  1 08:13:35 router last message repeated 61 times
Mar  1 08:14:00 router last message repeated 22 times
Mar  1 08:14:01 router dhcpd: DHCPDISCOVER from 00:40:d0:75:9f:e3 via eth2: network 192.168.1.0/28: no free leases
Mar  1 08:14:01 router dhcpd: DHCPDISCOVER from 00:50:bf:9c:03:d2 via eth2: network 192.168.1.0/28: no free leases
Mar  1 08:14:02 router dhcpd: DHCPDISCOVER from 00:40:d0:75:9f:e3 via eth2: network 192.168.1.0/28: no free leases
Mar  1 08:21:30 router dhcpd: DHCPDISCOVER from 00:0f:b0:97:8b:f4 via eth2: network 192.168.1.0/28: no free leases
Mar  1 08:21:31 router dhcpd: DHCPDISCOVER from 00:50:bf:9c:03:d2 via eth2: network 192.168.1.0/28: no free leases
Mar  1 08:21:46 router last message repeated 15 times
Mar  1 08:22:44 router kernel: Error: only one processor found.
Mar  1 08:30:00 router dhcpd: DHCPDISCOVER from 00:50:bf:9c:03:d2 via eth2: network 192.168.1.0/28: no free leases
Mar  1 08:47:48 router last message repeated 61 times
Mar  1 08:48:49 router last message repeated 61 times
Mar  1 08:49:50 router last message repeated 60 times
Mar  1 08:50:24 router last message repeated 34 times
Mar  1 08:50:25 router dhcpd: DHCPDISCOVER from 00:0e:2e:80:c1:d6 via eth1: network 192.168.0/24: no free leases
Mar  1 08:50:25 router dhcpd: DHCPDISCOVER from 00:50:bf:9c:03:d2 via eth2: network 192.168.1.0/28: no free leases
Mar  1 08:50:57 router last message repeated 32 times

i wycinek z pliku messages
: [/] [] ()
Mar  1 07:27:00 router dhcpd: DHCPREQUEST for 192.168.0.5 (192.168.0.1) from 00:0c:f1:7e:c6:a1 via eth2: wrong network.
Mar  1 07:27:00 router dhcpd: DHCPNAK on 192.168.0.5 to 00:0c:f1:7e:c6:a1 via eth2
Mar  1 07:27:00 router dhcpd: DHCPREQUEST for 192.168.0.5 (192.168.0.1) from 00:0c:f1:7e:c6:a1 via eth1
Mar  1 07:27:00 router dhcpd: DHCPACK on 192.168.0.5 to 00:0c:f1:7e:c6:a1 via eth1
Mar  1 07:34:56 router dhcpd: DHCPDISCOVER from 00:50:bf:9c:03:d2 via eth1
Mar  1 07:34:56 router dhcpd: DHCPOFFER on 192.168.0.3 to 00:50:bf:9c:03:d2 via eth1
Mar  1 07:34:56 router dhcpd: DHCPREQUEST for 192.168.0.3 (192.168.0.1) from 00:50:bf:9c:03:d2 via eth2: wrong network.
Mar  1 07:34:56 router dhcpd: DHCPNAK on 192.168.0.3 to 00:50:bf:9c:03:d2 via eth2


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: czwartek, 1 marca 2007, 11:13 
Offline
PGF

Rejestracja: piątek, 25 lutego 2005, 18:22
Posty: 1430
Lokalizacja: Elbląg
ddns-update-style=ad-hoc;
option domain-name "centrum";
option domain-name-servers 194.204.159.1,194.204.152.34;
option subnet-mask 255.255.255.0;
default-lease-time 21600;
max-lease-time 86400;
authoritative;

shared-network SIEC {

subnet 192.168.0.0 netmask 255.255.255.0 {
#range 192.168.0.25 192.168.0.26; #Zakres przydzielanych adresˇw
option broadcast-address 192.168.0.255; #Adres rozg│oszeniowy
option routers 192.168.0.1; #Brama domyÂlna
}

subnet 192.168.1.0 netmask 255.255.255.240 {
#range 192.168.1.20 192.168.1.21; #Zakres przydzielanych adresˇw
option broadcast-address 192.168.1.255; #Adres rozg│oszeniowy
option routers 192.168.1.241; #Brama domyÂlna
}
}

#statyczne
host Sekretariat {
hardware ethernet 00:13:8F:C8:E9:3E;
fixed-address 192.168.0.2;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host.... { ... }

etc.

_________________
F33/F07,F11,F13,F17
ObrazekObrazek


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: piątek, 2 marca 2007, 10:40 
Offline

Rejestracja: sobota, 5 lutego 2005, 09:18
Posty: 63
Lokalizacja: Malbork
podziękowania dla Viater :) wszystko już działa . Dziękuje jeszcze raz i pozdrawiam


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: piątek, 2 marca 2007, 12:29 
Offline
PGF

Rejestracja: piątek, 25 lutego 2005, 18:22
Posty: 1430
Lokalizacja: Elbląg
telrad1 pisze:
podziękowania dla Viater :) wszystko już działa

Nie wyobrażam sobie, żeby mogło być inaczej 8)
telrad1 pisze:
Dziękuje jeszcze raz i pozdrawiam

Eeee tam, (nie) ma za co :wink:

_________________
F33/F07,F11,F13,F17
ObrazekObrazek


Na górę
 Wyświetl profil  
 
Wyświetl posty nie starsze niż:  Sortuj wg  
Nowy temat Odpowiedz w temacie  [ Posty: 4 ] 

Strefa czasowa UTC+2godz.


Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 2 gości


Nie możesz tworzyć nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz dodawać załączników

Szukaj:
Przejdź do:  
cron
Technologię dostarcza phpBB® Forum Software © phpBB Group
Hosting: Compus-Net
RobertKonik.pl