dhcpd: No subnet declaration for tap0 (192.168.0.1).

Gemeinsam ins Internet mit Firewall und Proxy.
Antworten
Belgarad
Beiträge: 749
Registriert: 12.07.2002 02:00:44

dhcpd: No subnet declaration for tap0 (192.168.0.1).

Beitrag von Belgarad » 03.08.2002 19:18:36

Das Starten des dhcpd schlug fehl :

Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

No subnet declaration for tap0 (192.168.0.1).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface tap0 is attached.
exiting.
und wenn ich route aufrufe:
sonne:/home/belgarad# route
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.0.2 * 255.255.255.255 UH 1 0 0 tap0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
default * 0.0.0.0 U 1 0 0 tap0

kann mit den interface tap0 nichts anfangen. woher kommt das ?
habe nur eine netzwerkkarte.
wie bekomme ich dhsp an den start (als demon)?

Benutzeravatar
feltel
Webmaster
Beiträge: 10368
Registriert: 20.12.2001 13:08:23
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Leipzig, Germany
Kontaktdaten:

Beitrag von feltel » 03.08.2002 19:29:54

Wie sieht denn Deine /etc/dhcp.conf aus? Bitte poste aber nur die relevanten Zeilen.

Belgarad
Beiträge: 749
Registriert: 12.07.2002 02:00:44

Beitrag von Belgarad » 03.08.2002 19:49:55

meine dhcpd.conf (nicht dhcp)
option domain-name "kosmos.all";

option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.30 192.168.1.39;
option broadcast-address 204.254.239.31;
option routers prelude.fugue.com;
}

host fantasia {
hardware ethernet 08:00:07:26:c0:a5;
fixed-address fantasia.fugue.com;
}
der host fantasi eintrag ist nur ein testeintrag..

edit...
sehe gerade :
option broadcast-address 204.254.239.31;
option routers prelude.fugue.com;
das ist natuerlich unsinn!!
war wohl in der standard konfiguration drin....

p.s benutze webmin

Antworten