WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 13.09.2005, 10:02   #11
callas
Inventar
 
Registriert seit: 19.01.2000
Ort: Leoben
Alter: 57
Beiträge: 3.128

Mein Computer

Standard

poste mal deine dhcpd conf, dan kann man dir ev. helfen.

wozu den key ? willst du dynamic dns update machen ? probiers zuerst ohne.


http://www.ibiblio.org/pub/Linux/docs/HOWTO/DHCP

Code:
# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.org";

subnet 192.168.1.0 netmask 255.255.255.0 {
   range 192.168.1.10 192.168.1.100;
   range 192.168.1.150 192.168.1.200;
}

   This will result in DHCP server giving a client an IP address from the
   range 192.168.1.10-192.168.1.100 or 192.168.1.150-192.168.1.200. It
   will lease an IP address for 600 seconds if the client doesn't ask for
   specific time frame. Otherwise the maximum (allowed) lease will be
   7200 seconds. The server will also "advise" the client that it should
   use 255.255.255.0 as its subnet mask, 192.168.1.255 as its broadcast
   address, 192.168.1.254 as the router/gateway and 192.168.1.1 and
   192.168.1.2 as its DNS servers.
   
   If you need to specify a WINS server for your Windows clients you will
   need to include the netbios-name-servers option e.g.
option netbios-name-servers 192.168.1.1;

   You can also assign specific IP addresses based on clients ethernet
   address e.g.
host haagen {
   hardware ethernet 08:00:2b:4c:59:23;
   fixed-address 192.168.1.222;
}
callas ist offline   Mit Zitat antworten
Alt 13.09.2005, 10:44   #12
Tower
Hero
 
Registriert seit: 31.08.2000
Alter: 47
Beiträge: 886


Tower eine Nachricht über ICQ schicken
Standard

ohne key hat er gemeint er kann den ddns nicht abgleichen.

shared-network mstoeger.net {
subnet 192.168.30.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.30.220 192.168.30.229;
}
}
zone mstoeger.net. {
primary 192.168.30.10;
key rndckey;
}
key rndckey {
secret PwD8EX0jrxmSZlEMCH1hp8VHQhoLzJBYialXIIzN7dfq5lb1rZ OYzx5TAv6n;
algorithm hmac-md5;
}


das ist meine konfig jetzt erstellt über webmin
Tower ist offline   Mit Zitat antworten
Alt 13.09.2005, 11:12   #13
midas
Master
 
Registriert seit: 21.12.2002
Alter: 36
Beiträge: 606


midas eine Nachricht über ICQ schicken
Standard

Und gehts mit dem über webmin erstellten key jetzt?
midas ist offline   Mit Zitat antworten
Alt 13.09.2005, 11:17   #14
Tower
Hero
 
Registriert seit: 31.08.2000
Alter: 47
Beiträge: 886


Tower eine Nachricht über ICQ schicken
Standard

nein das ist ja mein problem.
werd jetzt callas config testen.
Tower ist offline   Mit Zitat antworten
Alt 13.09.2005, 11:19   #15
Tower
Hero
 
Registriert seit: 31.08.2000
Alter: 47
Beiträge: 886


Tower eine Nachricht über ICQ schicken
Standard

callas config

diese fehlermeldung:

dhcpd starten: Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

** You must add a global ddns-update-style statement to /etc/dhcpd.conf.
To get the same behaviour as in 3.0b2pl11 and previous
versions, add a line that says "ddns-update-style ad-hoc;"
Please read the dhcpd.conf manual page for more information. **

ich steh an muss ich zugeben
Tower ist offline   Mit Zitat antworten
Alt 13.09.2005, 12:20   #16
callas
Inventar
 
Registriert seit: 19.01.2000
Ort: Leoben
Alter: 57
Beiträge: 3.128

Mein Computer

Standard

Code:
ddns-update-style none;
mal zum testen ohne DDNS.
callas ist offline   Mit Zitat antworten
Alt 13.09.2005, 12:46   #17
Tower
Hero
 
Registriert seit: 31.08.2000
Alter: 47
Beiträge: 886


Tower eine Nachricht über ICQ schicken
Standard

config:

# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.org";
ddns-update-style none

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}

host haagen {
hardware ethernet 08:00:2b:4c:59:23;
fixed-address 192.168.1.222;
}


fehler:

Das Starten des dhcpd schlug fehl :

dhcpd starten: Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
/etc/dhcpd.conf line 12: semicolon expected.
subnet
^
/etc/dhcpd.conf line 15: expecting a parameter or declaration
}
^
Configuration file errors encountered -- exiting

es ist zum heulen
Tower ist offline   Mit Zitat antworten
Alt 13.09.2005, 12:46   #18
Tower
Hero
 
Registriert seit: 31.08.2000
Alter: 47
Beiträge: 886


Tower eine Nachricht über ICQ schicken
Standard

config:

# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.org";
ddns-update-style none

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}

host haagen {
hardware ethernet 08:00:2b:4c:59:23;
fixed-address 192.168.1.222;
}


fehler:

Das Starten des dhcpd schlug fehl :

dhcpd starten: Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
/etc/dhcpd.conf line 12: semicolon expected.
subnet
^
/etc/dhcpd.conf line 15: expecting a parameter or declaration
}
^
Configuration file errors encountered -- exiting

es ist zum heulen
Tower ist offline   Mit Zitat antworten
Alt 13.09.2005, 15:35   #19
callas
Inventar
 
Registriert seit: 19.01.2000
Ort: Leoben
Alter: 57
Beiträge: 3.128

Mein Computer

Standard

na geh, semikolon=strichpunkt

in zeile 12 ( ddns-update ....

alle isc proggis ( dhcpd, bind ) sind sehr happig bezüglich der richtigen schreibweise ....
callas ist offline   Mit Zitat antworten
Alt 13.09.2005, 15:37   #20
Tower
Hero
 
Registriert seit: 31.08.2000
Alter: 47
Beiträge: 886


Tower eine Nachricht über ICQ schicken
Standard

jetzt stehe ich glaub ich auf der leitung
Tower ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 20:04 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag