Einzelnen Beitrag anzeigen
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