Freesco, NND, CDN, EOS
http://forum.freesco.pl/

dhcpd
http://forum.freesco.pl/viewtopic.php?f=22&t=6713
Strona 1 z 1

Autor:  rapsik [ środa, 9 lutego 2005, 10:42 ]
Tytuł:  dhcpd

Nie moge tego załapać ??

root@router_nnd rc.d]# dhcpd start
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.

No subnet declaration for start (0.0.0.0).
** Ignoring requests on start. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface start is attached. **

dhcpd.conf

# Plik konfiguracyjny deamona dhcpd


ddns-update-style=ad-hoc;
option domain-name "siec_nnd";
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.1.0 netmask 255.255.255.0 { #Zakres przydzielanych adresów
range 192.168.1.12 192.168.1.14;
option broadcast-address 192.168.1.255; #Adres rozgłoszeniowy
option routers 192.168.1.1; #Brama domyślna
}

host Adnin {
hardware ethernet 00:40:33:E0:87:90;
fixed-address 192.168.1.2;
}

Autor:  Raflik [ środa, 9 lutego 2005, 11:02 ]
Tytuł: 

/etc/rc.d/dhcpd start lub restart, lub stop

Autor:  rapsik [ środa, 9 lutego 2005, 11:15 ]
Tytuł: 

:?: :?:

Tu chodzi chyba o interfeis np. eth0 tylko o co dokładnie ??

Autor:  Raflik [ środa, 9 lutego 2005, 11:21 ]
Tytuł: 

najpierw uzyj poprawnej skladni jak pisalem wyzej potem sie martw bledami:)

Autor:  Pele [ środa, 9 lutego 2005, 13:19 ]
Tytuł: 

A ja mam pytanko jak wyłączyć DHCP pod nowym nnd ze stycznia
znalazłem gdzieś na forum aby umieścić ! przed DHCPIP=(eth1) w pliku rc.conf ale po restarcie padł interfejs eth1.

Autor:  czerwo [ środa, 9 lutego 2005, 16:25 ]
Tytuł: 

bodajze w /etc/rc.conf w sejski demons trzeba wywali dhcpd

a rapsik tobie o co chNo subnet declaration for start (0.0.0.0).
** Ignoring requests on start. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface start is attached. **

dhcpd.confodzi bo nie zabardzo rouzmiem
o to??
: [/] [] ()
No subnet declaration for start (0.0.0.0).
** Ignoring requests on start. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface start is attached. **


bo nie zadales pytania

Autor:  rapsik [ środa, 9 lutego 2005, 18:41 ]
Tytuł: 

dlaczego wywala mi taki komunikat przy starcie

Autor:  czerwo [ środa, 9 lutego 2005, 18:50 ]
Tytuł: 

bo masz wiecej niz jeden interfejs sieciowy wewnetrzny??
Jak masz eth1 i eth0 na eth1 masz siec to bedzie wywalal komuniakt ze nie masz deklaracji dla eth1 bo nie chcesz zeby eth1 przydzielal ip :) zawsze tak bylo

Autor:  rapsik [ środa, 9 lutego 2005, 19:30 ]
Tytuł: 

nie eth mam 1 eth0 a i virual ppp0 czyli eth1
to nie przejmować sie tym ??

Autor:  czerwo [ środa, 9 lutego 2005, 19:34 ]
Tytuł: 

nie nie przejmowac umnie wyglada to tak tyle ze ja mam 3x eth + wirtualny tworzony przez sagema
: [/] [] ()
[root@listonosz:~] $dhcpd
Internet Software Consortium DHCP Server V3.0pl2
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 7 leases to leases file.

No subnet declaration for eth3 (192.168.60.30).
** Ignoring requests on eth3.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface eth3 is attached. **

Listening on Socket/eth2/192.168.1.0/24
Sending on   Socket/eth2/192.168.1.0/24
Listening on Socket/eth1/192.168.0.0/24
Sending on   Socket/eth1/192.168.0.0/24
Listening on Socket/eth0/10.10.10.0/24
Sending on   Socket/eth0/10.10.10.0/24


ale dhcp chodzi??

Autor:  rapsik [ środa, 9 lutego 2005, 19:38 ]
Tytuł: 

Dla windokomuny dziła ok ale dla mnie na linuxie przydziela mi dziwny adre ale tym sie nie przejmuje
tzn mam na stałe dopisane co widać w configu a i tak mi daje z końcówką 9 teraz sprawdze

Autor:  czerwo [ środa, 9 lutego 2005, 19:43 ]
Tytuł: 

no to co sie przejmujesz a sprawdz sobie pod swoim linuxem w ifconfigu czy dobry mac wpisales bo widzialem juz takie numery ze inny mac byl pod xp a inny pod linuxem :)
A najlepszy numer jaki mial jeden z forumowiczow to zainstalowal 98 byl jeden mac zrobil upgrade systemu i byl 2 mac.

Autor:  rapsik [ środa, 9 lutego 2005, 19:51 ]
Tytuł: 

hehe
musze sprawdzić :lol:

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/