Freesco, NND, CDN, EOS

http://www.freesco.pl
Dzisiaj jest wtorek, 17 czerwca 2025, 17:18

Strefa czasowa UTC+2godz.




Nowy temat Odpowiedz w temacie  [ Posty: 5 ] 
Autor Wiadomość
Post: środa, 26 listopada 2008, 12:49 
Offline

Rejestracja: środa, 26 listopada 2008, 12:40
Posty: 1
Witam serdecznie,

od wczoraj po zawieszeniu się mojego modemu i restarcie modemu przez tepse (modem thomson speedtoutch) internet na serwerze działa, ale nie startuje mi DHCPD.

: [/] [] ()
[root@router dulek]# /etc/rc.d/dhcpd restart
NND: Stopping DHCP Server                                                                                                         [Wykonane]
NND: Starting DHCP Server                                                                                                         [Nieudane]
[root@router dulek]#


Nic w plikach się nie zmieniło. Nikt tam nie grzebał od dawna.

/etc/dhcpd.conf
: [/] [] ()
# /etc/dhcp.conf

# Plik konfiguracyjny deamona dhcpd


ddns-update-style=ad-hoc;
option domain-name "siec";
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;

subnet 192.168.0.0 netmask 255.255.255.0 {
option broadcast-address 192.168.0.255; #Adres rozgłoszeniowy
option routers 192.168.0.1; #Brama domyślna
authoritative;
}

host marketing12 {
hardware ethernet 00:4F:4E:61:23:39;
fixed-address 192.168.0.2;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

host ksiegowosc2 {
hardware ethernet 00:18:F3:6F:FD:9C;
fixed-address 192.168.0.3;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}

shared-network SANBONUS {

subnet 192.168.1.0 netmask 255.255.255.0 {
option broadcast-address 192.168.1.255; #Adres rozgłoszeniowy
option routers 192.168.1.1; #Brama domyślna
option subnet-mask 255.255.255.0;
}

subnet 192.168.2.0 netmask 255.255.255.0 {
option broadcast-address 192.168.2.255; #Adres rozgłoszeniowy
option routers 192.168.2.1; #Brama domyślna
option subnet-mask 255.255.255.0;
}

subnet 192.168.3.0 netmask 255.255.255.0 {
option broadcast-address 192.168.3.255; #Adres rozgłoszeniowy
option routers 192.168.3.1; #Brama domyślna
option subnet-mask 255.255.255.0;
}

subnet 192.168.4.0 netmask 255.255.255.0 {
option broadcast-address 192.168.4.255; #Adres rozgłoszeniowy
option routers 192.168.4.1; #Brama domyślna
option subnet-mask 255.255.255.0;
}

subnet 192.168.5.0 netmask 255.255.255.0 {
option broadcast-address 192.168.5.255; #Adres rozgłoszeniowy
option routers 192.168.5.1; #Brama domyślna
option subnet-mask 255.255.255.0;
}

}

host marketing1 {
hardware ethernet 00:1A:4D:F1:EE:0C;
fixed-address 192.168.1.2;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}

host marketing2 {
hardware ethernet 00:1A:4D:F1:F3:C2;
fixed-address 192.168.1.3;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}

host marketing3 {
hardware ethernet 00:18:F3:6F:FD:5D;
fixed-address 192.168.1.4;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}

host soulman {
hardware ethernet 00:19:E3:36:0F:08;
fixed-address 192.168.1.5;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}

host test {
hardware ethernet 00:90:f5:25:d0:ea;
fixed-address 192.168.1.6;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}

host szkolenia2 {
hardware ethernet 00:18:F3:6F:FD:9A;
fixed-address 192.168.2.2;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
}

host szkolenia3 {
hardware ethernet 00:18:F3:6F:FD:65;
fixed-address 192.168.2.3;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
}

host szkolenia4 {
hardware ethernet 00:0A:E4:E2:B4:5D;
fixed-address 192.168.2.4;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
}

host prezes {
hardware ethernet 00:1B:24:15:F3:1B;
fixed-address 192.168.2.5;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
}

host wydawnictwo1 {
hardware ethernet 00:90:F5:54:DB:B2;
fixed-address 192.168.3.2;
option broadcast-address 192.168.3.255;
option routers 192.168.3.1;
}

host wydawnictwo2 {
hardware ethernet 00:03:0D:59:D5:87;
fixed-address 192.168.3.3;
option broadcast-address 192.168.3.255;
option routers 192.168.3.1;
}

host asus {
hardware ethernet 00:1D:60:07:1E:D6;
fixed-address 192.168.3.4;
option broadcast-address 192.168.2.255;
option routers 192.168.3.1;
}

host wcprezes {
hardware ethernet 00:21:5A:20:B6:CB;
fixed-address 192.168.4.5;
option broadcast-address 192.168.4.255;
option routers 192.168.4.1;
}

// 1

host iwonas {
hardware ethernet 00:1F:29:DC:30:ED;
fixed-address 192.168.4.6;
option broadcast-address 192.168.4.255;
option routers 192.168.4.1;
}

host ewa {
hardware ethernet 00:1D:60:76:4B:5C;
fixed-address 192.168.3.5;
option broadcast-address 192.168.2.255;
option routers 192.168.3.1;
}

host wydawnictwo22 {
hardware ethernet 00:60:6E:00:03:41;
fixed-address 192.168.4.2;
option broadcast-address 192.168.4.255;
option routers 192.168.4.1;
}

host marketing32 {
hardware ethernet 00:19:5B:6C:7D:B8;
fixed-address 192.168.4.3;
option broadcast-address 192.168.4.255;
option routers 192.168.4.1;
}

// 2

host szkolenia32 {
hardware ethernet 00:19:5B:6C:7D:B7;
fixed-address 192.168.4.4;
option broadcast-address 192.168.4.255;
option routers 192.168.4.1;
}

host ksiegowosc1 {
hardware ethernet 00:1A:4D:F1:F3:F1;
fixed-address 192.168.5.2;
option broadcast-address 192.168.5.255;
option routers 192.168.5.1;
}



nie mam pojęcia co się mogło stać. Tepsa mówi, że nic nie zmienili i wszystko powinno być ok. Na początku myślałem, że to może zmiana DNS...


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: środa, 26 listopada 2008, 12:58 
Offline
Honorowy Admin

Rejestracja: piątek, 5 lipca 2002, 17:30
Posty: 7800
Lokalizacja: Słupsk
Wpisz z palca jako root dhcpd i wtedy otrzymasz jasną informację dlaczego usługa nie startuje.

_________________
Obrazek Belfer.one.PL
Obrazek Audio Cafe


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: piątek, 28 listopada 2008, 16:49 
Offline

Rejestracja: niedziela, 6 kwietnia 2008, 12:50
Posty: 8
A weź wykasuj na poczatek wpisy //1 i //2 z twego dhcpd.conf


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: sobota, 4 kwietnia 2009, 23:34 
Offline

Rejestracja: sobota, 4 kwietnia 2009, 23:00
Posty: 1
Lokalizacja: Wrocław
Zasadniczo zacząłbym od posprzątania w konfiguracji.

1. 'option subnet-mask' umieścibym w definicjach podsieci - będzie logiczniej.
2. podejrzewam, że twój serwer jest autorytatywny dla wszystkich posieci, więc 'authoritative' umieściłbym w części globalnej.
3. definicje hostów umieść wewnątrz odpowiednich dla nich podsieci redukując jednocześnie ich zawartość i przenosząc część wspólną do definicji podsieci (chyba o to tobie chodzi).

Plik konfiguracyjny powienien wyglądać mniej więcej tak:

: [/] [] ()
# /etc/dhcpd.conf
# Plik konfiguracyjny demona DHCPD

default-lease-time 21600;
max-lease-time 86400;
option domain-name "siec";
option domain-name-servers 194.204.159.1, 194.204.152.34;
ddns-update-style ad-hoc;
authoritative;

subnet 192.168.0.0 netmask 255.255.255.0 {
   option routers 192.168.0.1;
   option subnet-mask 255.255.255.0;
   option broadcast-address 192.168.0.255;

   host marketing12 {
      hardware ethernet 00:4F:4E:61:23:39;
      fixed-address 192.168.0.2;
      }
   host ksiegowosc2 {
      hardware ethernet 00:18:F3:6F:FD:9C;
      fixed-address 192.168.0.3;
      }
   }

shared-network SANBONUS {
   subnet 192.168.1.0 netmask 255.255.255.0 {

...itd...


Zwróć uwagę na wcięcia. Znak równości w 3 linijce może robić problemy, i ogólny bałagan.

Zawsze po próbie uruchomienia demona zajrzyj do logów. tam są wszystkie informacje. U mnie w Debianie jest jeszcze jeden plik konfiguracyjny '/etc/default/dhcp3-server' gdzie wskazuje się demonowi, na których interfejsach ma nasłuchiwać 'INTERFACES=...'. Sprawdź, czy u ciebie również ten plik jest poprawny. Czasami jest tak, że brak pliku '/var/lib/dhcp3/dhcpd.leases' nie pozwala uruchomić demona - wtedy wystarczy stworzyć pusty plik o tej nazwie i jest OK.

Pozdrawiam.


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: niedziela, 5 kwietnia 2009, 08:26 
Offline
Użytkownik

Rejestracja: poniedziałek, 21 marca 2005, 14:25
Posty: 225
Lokalizacja: Wrocław
1. archeolog :D
2. NND to nie Debian ;)

_________________
to co się daje za darmo, inni traktują jako nic niewarte

NND current @ COMPAQ Deskpro EN Series SFF 6350 | 64 MB RAM | 80 GB HDD | DSL 1000


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

Strefa czasowa UTC+2godz.


Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 20 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:  
Technologię dostarcza phpBB® Forum Software © phpBB Group
Hosting: Compus-Net
RobertKonik.pl