basstscho
20.04.12, 05:00
Hallo zusammen,
ich betreibe einen dhcpd auf einem debian mit folgender Konfiguration:
authoritative;
option domain-name "dom.local";
option domain-name-servers 192.168.0.180, 192.168.0.184;
option ntp-servers 192.168.0.174;
option routers 192.168.0.5;
ddns-update-style none;
default-lease-time 14400;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.254 192.168.0.248;
default-lease-time 14400;
max-lease-time 172800;
}
host fixerhost {
hardware ethernet 00:22:FB:AC:7C:D2;
fixed-address 192.168.0.210;
}
Die IP-Adresse des Servers ist 192.168.0.170 (es gibt noch deutlich mehr fixe Hosts. Nun habe ich einen weiteren fixen Host, dem die IP-Adresse 192.168.51.100 zugewiesen werden soll - wir konfiguriere ich das?
Ich habe das mal so probiert (einfach an die obige Konfiguration angehängt), was leider nicht geklappt hat.
host fixerhost02 {
hardware ethernet 7C:C5:37:0E:3E:7E;
fixed-address 192.168.51.100;
option routers 192.168.51.1;
option domain-name "dom.local";
option domain-name-servers 192.168.51.1;
}
Wie mache ich es richtig?
Besten Dank für eure Hilfe,
Johannes
ich betreibe einen dhcpd auf einem debian mit folgender Konfiguration:
authoritative;
option domain-name "dom.local";
option domain-name-servers 192.168.0.180, 192.168.0.184;
option ntp-servers 192.168.0.174;
option routers 192.168.0.5;
ddns-update-style none;
default-lease-time 14400;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.254 192.168.0.248;
default-lease-time 14400;
max-lease-time 172800;
}
host fixerhost {
hardware ethernet 00:22:FB:AC:7C:D2;
fixed-address 192.168.0.210;
}
Die IP-Adresse des Servers ist 192.168.0.170 (es gibt noch deutlich mehr fixe Hosts. Nun habe ich einen weiteren fixen Host, dem die IP-Adresse 192.168.51.100 zugewiesen werden soll - wir konfiguriere ich das?
Ich habe das mal so probiert (einfach an die obige Konfiguration angehängt), was leider nicht geklappt hat.
host fixerhost02 {
hardware ethernet 7C:C5:37:0E:3E:7E;
fixed-address 192.168.51.100;
option routers 192.168.51.1;
option domain-name "dom.local";
option domain-name-servers 192.168.51.1;
}
Wie mache ich es richtig?
Besten Dank für eure Hilfe,
Johannes