PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : dhcp läuft auf suse aber nicht auf debian



ApeArt
17.05.05, 08:58
Hi all,

hab ein problem mit meinem dhcp hobel.
Ich hab dhcp auf suse am laufen, nun bin ich dabei alles auf debia umzustellen.
Leider fubktioniert meine alte dhcp.conf nicht unter debian und weis nicht warum das nicht will..

Kann mir da einer weiterhelfen?
Hier meine conf:


# options needed for bootp !
allow booting;
allow bootp;

option resource-location-servers msgmbh1.msgmbh;
option font-servers msgmbh1.msgmbh;
option x-display-manager msgmbh1.msgbhh;
#option tftp-server-name "tftp.msgmbh1";

# the dynamic domain name resolution we have to check later once more
#ddns-update-style ad-hoc;
#ddns-update-style interim;
ddns-update-style none;

subnet 192.168.70.0 netmask 255.255.255.0
{
max-lease-time 900000;
default-lease-time 864000;
range 192.168.70.152 192.168.70.200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.70.255;
option domain-name "msgmbh";
option domain-name-servers 192.168.70.63;
option routers 0.0.0.0;
option routers vigor2200de;
option netbios-name-servers wtmsde;
option netbios-dd-server wtmsde;
option netbios-node-type 8;
option netbios-scope "";
get-lease-hostnames on;
use-host-decl-names true;
}

group nogateway
{
option routers 0.0.0.0;
host EPSON{ hardware ethernet 00:40:68:5B:C3:1D; fixed-address epson; ddns-hostname
extsys1"; }
host hp1320n1 { hardware ethernet 00:01:E6:49:96:24; fixed-address hp1320n1; }
host hp1320n2 { hardware ethernet 00:0F:66:7F:41:D2; fixed-address hp1320n2; }
}

group msgmbh
{
option routers vigor2200de;

# Mail Server
host msmail { hardware ethernet 00:00:CB:61:98:9E; fixed-address msmail; }

# Backup Server
host p4p800vm { hardware ethernet 00:0C:6E:AD:54:4A; fixed-address p4p800vm; }

}

group pxeboot
{
option routers 0.0.0.0;
option nis-domain "msgmbh";
option nis-servers msgmbh1;
option log-servers msgmbh1;

# PXE-specific configuration directives...
next-server tftp.msgmbh;
server-name "dhcp.msgmbh";
filename "/pxes/pxes-rdp-ATIRageXL-0.7.nbi";


host office4
{
hardware ethernet 00:07:E9:88:29:9D;
fixed-address office4;
filename "/pxes/pxelinux.0";
}


host s875wp1e
{
hardware ethernet 00:07:E9:42:3D:23;
fixed-address s875wp1e;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
{
filename "/pxes/eb-5.2.2-82562ez.zpxe";
}
else if substring (option vendor-class-identifier, 0, 9) = "Etherboot"
{
filename "/pxes/pxes-0.7.nbi";
option vendor-encapsulated-options 3c:09:45:74:68:65:72:62:6f:6f:74:ff;
}
}
}


# Siemens Phones
group phones
{
option routers vigor2200de;
host hg1500de1 { hardware ethernet 08:00:06:8D:EE:3D; fixed-address hg1500de1; }


host tel10 { hardware ethernet 00:01:E3:21:C0:62; fixed-address 192.168.70.128; }
host tel12 { hardware ethernet 00:01:E3:21:CF:86; fixed-address 192.168.70.129; }
}

Gruss aus Nimburg
A.Schneider

ApeArt
18.05.05, 10:54
was wirklich niemand rat?

Fly
18.05.05, 11:52
die dhcpd.conf Datei hast du bei debian eh nicht unter /etc/dhcp/dhcpd.conf abgespeichert?

Was sagen die LOGS oder bekommst du unmittelbach nach start der dhcpd eine Fehlermeldung?

ApeArt
18.05.05, 20:46
hi,

@flydie dhcp.conf liegt wie bei suse unter /etc
Beim start läuft der dhcp nicht an.

Auszug aus der syslog:
May 18 21:39:20 named dhcpd: /etc/dhcpd.conf line 41: expecting left brace.

die group syntax ist meiner meinung nach richtig auf jeden fall weis ich nicht wo da ne klammer fehlen soll.

Ich bekomm so langsam aber sicher den rabbel.
Was mich stutzig macht ist des es unter suse funktioniert.

Das einzigste was noch an dem suse rechner anderst war ist dass noch tftp installiert war.
nu hab ich jetzt aus lauter verzweiflung mal noch tftp installiert.
Der dhcp (thinclient)arbeitet doch mit dem tftp zusammen, aber funkt leider auch nicht.

MfG
Ape

`kk
18.05.05, 20:49
Was steht in Zeile 41 +/- 10 ?

ApeArt
19.05.05, 13:30
group msgmbh siehe oben.

Ich find einfach kein fehler auch wenn ich das teil noch 10mal durchlese.

ApeArt
19.05.05, 22:02
Habs nu hinbekommen, mit dhcp3-server läuft das einwandfrei.
Nur pxe geht noch nicht ganz vollständig.
Der client holt sich das image, arbeitet diese aber nicht vollstädig ab.

Werds aber nu bestimmt hinbekommen.

danke an alle
Ape