djevil-ad

Netzwerkboot mit dhcp

Hallo, hallo

Ich habe gerade Plop-Linux vom Netzwerk aus gebootet, funktioniert dank der Anleitung von plop.at auch prächtig.
jedoch hat der der dhcp server hiermit eine feste IP an eine vorgegebene MAC addressiert.s.u.

ddns-update-style ad-hoc;

subnet 10.0.0.0 netmask 255.255.255.0 {

option routers 10.0.0.1;

}

allow booting;
allow bootp;

  1. Standard configuration directives...

option domain-name "plop";
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option domain-name-servers 10.0.0.1;
option routers 10.0.0.1;

  1. Group the PXE bootable hosts together
group {
next-server 10.0.0.1;
filename "/ploplinux/pxelinux.0";

host testpc {
hardware ethernet 00:0C:6E:A6:1A:E6;
fixed-address 10.0.0.250;
}
}

Nun möchte ich, das das jeder Rechner eine dynamische IP bekommt ohne an die MAC gebunden zu sein,
(einfach auskommentieren hat leider nicht geklappt)
Irgendwo muss glaub ich "range from_IP to_IP" hinein.

Vielleicht kann mir ja einer sagen wie es genau geht.

(Und bitte nicht sagen, google weiss es, oder einen Link schicken,
ich hab schon einiges ausprobiert..., deshalb.)
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 143925

Url: https://administrator.de/forum/netzwerkboot-mit-dhcp-143925.html

Ausgedruckt am: 27.04.2025 um 15:04 Uhr

aqui
aqui 01.06.2010 um 10:00:35 Uhr
Goto Top
Komisch das du nix findest Dr. Google hat tausendfach die Lösung für dich....!!!
Bei dir fehlt schlicht und einfach das range Statement in der Konfig !!

ddns-update-style ad-hoc;

subnet 10.0.0.0 netmask 255.255.255.0 {

range 10.0.0.100 10.0.0.150;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option routers 10.0.0.1;
option domain-name "djevel.local";
option domain-name-servers 10.0.0.1;
usw.....

http://www.yolinux.com/TUTORIALS/DHCP-Server.html
djevil-ad
djevil-ad 01.06.2010 um 11:11:08 Uhr
Goto Top
Ja, so hatte ich es auch schon probiert...

ddns-update-style ad-hoc;

subnet 192.168.0.0 netmask 255.255.255.0 {

option routers 192.168.0.250;
range 192.168.0.239 192.168.0.249;

}

allow booting;
allow bootp;

  1. Standard configuration directives...

option domain-name "plop";
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option domain-name-servers 192.168.0.250;
option routers 192.168.0.250;

  1. Group the PXE bootable hosts together
group {
next-server 192.168.0.250;
filename "/ploplinux/pxelinux.0";
#host testpc {
#hardware ethernet 00:14:68:5C:4F:73;
#fixed-address 192.168.0.251;
#range 192.168.0.79 192.168.0.99;
#}

}
aber leider ohne Erfolg...
aqui
aqui 01.06.2010 um 13:10:54 Uhr
Goto Top
Den DHCP Daemon hast du nach der Änderung in der Konfig Datei mit /etc/rc.d/dhcpd restart neu gestartet ???
Sonst funktionierts logischerweise natürlich nicht !!
Falls es dann wirklich noch nicht klappen sollte: Was sagt das System Log unter /var/log/messages ?? Ggf. ein Syntaxfehler in der Konfig Datei ??

P.S.: Wieso hast du hier den grünen Haken oben für "Problem gelöst" gesetzt obwohl es gar nicht gelöst ist ??
dog
dog 02.06.2010 um 00:06:29 Uhr
Goto Top
Und dann wäre da noch die Authorative-Option.
Ich verstehe langsam, warum man die immer manuell zusätzlich machen muss face-devilish