Portaal Portaal Pingviini veeb foorumi pealeht
  Viki  |  IRC  |  Otsing  |  Küsimused ja vastused  |  Profiil  |  Privaatsõnumite vaatamiseks logi sisse  | Logi sisse või Registreeru
<empty>
Vaata järgmist teemat
Vaata eelmist teemat

Postita uus teemaVasta teemale
Autor Sõnum
illukas
Vana Pingviin
Vana Pingviin


Vanus: 44
Liitunud: 24.10.2006
Postitused: 2036


norway.gif
postituspostitatud: 31.03.2009, 09:56  postituse pealkiri:  ubuntu dhcpd server  

katse masinal ja ei saa kuidagi dhcpd käima, kindlasti on mingi pisike viga, kuid ise siin juba lolliks katsetanud ja ei mõtle/ei näe enam kainelt asja. Äkki keegi märkab viga

Tsitaat:

root@katse:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.9
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

auto eth1
iface eth1 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
gateway 192.168.10.1




Tsitaat:

root@katse:~# cat /etc/default/dhcp3-server
INTERFACES=eth1

Tsitaat:

root@katse:~# cat /etc/dhcp3/dhcpd.conf
allow unknown-clients;
option domain-name "katse";
option domain-name-servers 192.168.1.1;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
log-facility local7;
interface eth1;

subnet 192.168.10.0 netmask 255.255.255.0 {
option routers 192.168.10.1;
option subnet-mask 255.255.255.0;
range dynamic-bootp 192.168.10.2 192.168.10.50;
}


Tsitaat:

root@katse:~# tail -20 /var/log/syslog|grep "dhcpd"
Mar 31 10:43:50 katse dhcpd:
Mar 31 10:43:50 katse dhcpd: Not configured to listen on any interfaces!
Mar 31 10:45:36 katse dhcpd: Internet Systems Consortium DHCP Server V3.1.1
Mar 31 10:45:36 katse dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Mar 31 10:45:36 katse dhcpd: All rights reserved.
Mar 31 10:45:36 katse dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Mar 31 10:45:38 katse dhcpd: Internet Systems Consortium DHCP Server V3.1.1
Mar 31 10:45:38 katse dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Mar 31 10:45:38 katse dhcpd: All rights reserved.
Mar 31 10:45:38 katse dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Mar 31 10:45:38 katse dhcpd: Wrote 0 leases to leases file.
Mar 31 10:45:38 katse dhcpd:
Mar 31 10:45:38 katse dhcpd: No subnet declaration for eth1 (192.168.10.1).
Mar 31 10:45:38 katse dhcpd: ** Ignoring requests on eth1. If this is not what
Mar 31 10:45:38 katse dhcpd: you want, please write a subnet declaration
Mar 31 10:45:38 katse dhcpd: in your dhcpd.conf file for the network segment
Mar 31 10:45:38 katse dhcpd: to which interface eth1 is attached. **
Mar 31 10:45:38 katse dhcpd:
Mar 31 10:45:38 katse dhcpd:
Mar 31 10:45:38 katse dhcpd: Not configured to listen on any interfaces!
root@katse:~#


Tsitaat:

root@katse:~# tail -20 /var/log/daemon.log|grep "dhcpd"
Mar 31 10:43:50 katse dhcpd:
Mar 31 10:43:50 katse dhcpd: Not configured to listen on any interfaces!
Mar 31 10:45:36 katse dhcpd: Internet Systems Consortium DHCP Server V3.1.1
Mar 31 10:45:36 katse dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Mar 31 10:45:36 katse dhcpd: All rights reserved.
Mar 31 10:45:36 katse dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Mar 31 10:45:38 katse dhcpd: Internet Systems Consortium DHCP Server V3.1.1
Mar 31 10:45:38 katse dhcpd: Copyright 2004-2008 Internet Systems Consortium.
Mar 31 10:45:38 katse dhcpd: All rights reserved.
Mar 31 10:45:38 katse dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Mar 31 10:45:38 katse dhcpd: Wrote 0 leases to leases file.
Mar 31 10:45:38 katse dhcpd:
Mar 31 10:45:38 katse dhcpd: No subnet declaration for eth1 (192.168.10.1).
Mar 31 10:45:38 katse dhcpd: ** Ignoring requests on eth1. If this is not what
Mar 31 10:45:38 katse dhcpd: you want, please write a subnet declaration
Mar 31 10:45:38 katse dhcpd: in your dhcpd.conf file for the network segment
Mar 31 10:45:38 katse dhcpd: to which interface eth1 is attached. **
Mar 31 10:45:38 katse dhcpd:
Mar 31 10:45:38 katse dhcpd:
Mar 31 10:45:38 katse dhcpd: Not configured to listen on any interfaces!



DaStoned
Pingviini aktivist
Pingviini aktivist


Vanus: 43
Liitunud: 11.01.2007
Postitused: 392
Asukoht: Tallinn
Distributsioon: Debian
estonia.gif
postituspostitatud: 31.03.2009, 10:05  postituse pealkiri:  (teema puudub)  

Lisa faili "/etc/default/dhcp3-server" see interface mida DHCP peaks teenendama, st:

Kood:
INTERFACES="eth1"


Oi kuidas ma kirusin kui omal dhcp-d käima ajasin. Värdjakari.

_________________
When the shit hits the fan, keep your mouth shut!

illukas
Vana Pingviin
Vana Pingviin


Vanus: 44
Liitunud: 24.10.2006
Postitused: 2036


norway.gif
postituspostitatud: 31.03.2009, 10:08  postituse pealkiri:  (teema puudub)  

kurat jutumärgid puudu jah!
aga oli puudu veel authoritative;


Näita (aja järgi):      
Postita uus teemaVasta teemale


Vaata järgmist teemat
Vaata eelmist teemat
Powered by phpBB2 Plus based on phpBB © 2001/7 phpBB Group