DHCP und DNS auf W2k3

Antworten
Torsten
Beiträge: 8
Registriert: 30 Jan 2009, 16:38

DHCP und DNS auf W2k3

Beitrag von Torsten »

Hallo,

habe DNS sowie DHCP auf einen MS Server
in den Bereichsoption habe ich bei 66 opsiserver und bei 67 linux/pxelinux.0 stehen

auf dem Opsi Server schaut meine 30_var so aus:

global SYSTEM_ADMIN_GROUP
SYSTEM_ADMIN_GROUP = 'opsiadmin'

self._pamService = 'common-auth'
self._sshRSAPublicKeyFile = '/etc/ssh/ssh_host_rsa_key.pub'

self.defaultBackend = BACKEND_FILE31
self.clientManagingBackend = BACKEND_FILE31
self.pxebootconfBackend = BACKEND_OPSIPXECONFD
self.passwordBackend = BACKEND_FILE31
self.pckeyBackend = BACKEND_FILE31
self.swinventBackend = BACKEND_FILE31
self.hwinventBackend = BACKEND_FILE31
self.loggingBackend = BACKEND_FILE31

so wenn der client jetzt über pxe bootet bezieht er ein IP aus dem pool des ms servers kann aber nicht das bootimage vom tftp des opsi's laden.

hat jemand eine idee?
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: DHCP und DNS auf W2k3

Beitrag von d.oertel »

Hi torsten
kann aber nicht das bootimage vom tftp des opsi's laden
was steht auf dem Bildschirm des Clients (z.B. tftp timeout) ?

gibt es in der /var/log/syslog meldungen des tftpd ?

sieht man per
tcpdump port tftp
einen request des clients ?

gruss
detlef oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Torsten
Beiträge: 8
Registriert: 30 Jan 2009, 16:38

Re: DHCP und DNS auf W2k3

Beitrag von Torsten »

am Bildschirm des Client steht einfach nur Trying to load: pxelinux.cfg/ * - default
dannach sagt er einfach booting from local disk
PXE-M0F: Exiting PXE-ROM

dass log des letzten pxeboots:

eb 6 00:22:53 opsiserver dhcpd: DHCPDISCOVER from 00:0b:5d:4a:b6:97 via eth0: network 192.168.1/24: no free leases
Feb 6 00:22:55 opsiserver dhcpd: DHCPREQUEST for 192.168.1.53 (192.168.1.2) from 00:0b:5d:4a:b6:97 via eth0: unknown lease 192.168.1.53.
Feb 6 00:22:55 opsiserver in.tftpd[2604]: connect from 192.168.1.53 (192.168.1.53)
Feb 6 00:22:55 opsiserver atftpd[2604]: Advanced Trivial FTP server started (0.7)
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.0 to 192.168.1.53:2070
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.0 to 192.168.1.53:2071
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/73e21085-c8e5-11d8-8b14-000b5d4ab697 to 192.168.1.53:57089
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/01-00-0b-5d-4a-b6-97 to 192.168.1.53:57090
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/C0A80135 to 192.168.1.53:57091
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/C0A8013 to 192.168.1.53:57092
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/C0A801 to 192.168.1.53:57093
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/C0A80 to 192.168.1.53:57094
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/C0A8 to 192.168.1.53:57095
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/C0A to 192.168.1.53:57096
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/C0 to 192.168.1.53:57097
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/C to 192.168.1.53:57098
Feb 6 00:22:55 opsiserver atftpd[2604]: Serving linux/pxelinux.cfg/default to 192.168.1.53:57099
Feb 6 00:23:19 opsiserver smbd[2311]: [2009/02/06 00:23:19, 0] printing/pcap.c:pcap_cache_reload(159)
Feb 6 00:23:19 opsiserver smbd[2311]: Unable to open printcap file /etc/printcap for read!
Feb 6 00:23:19 opsiserver smbd[2311]: [2009/02/06 00:23:19, 0] printing/pcap.c:pcap_cache_reload(159)
Feb 6 00:23:19 opsiserver smbd[2311]: Unable to open printcap file /etc/printcap for read!

so und hier der tcpdump

00:29:06.052836 IP 192.168.1.53.2071 > opsiserver.kct.local.tftp: 38 RRQ "linux/pxelinux.0" octet blksize 1456
00:29:06.158188 IP 192.168.1.53.57089 > opsiserver.kct.local.tftp: 85 RRQ "linux/pxelinux.cfg/73e21085-c8e5-11d8-8b14-000b5d4ab" [|tftp]
00:29:06.160391 IP 192.168.1.53.57090 > opsiserver.kct.local.tftp: 69 RRQ "linux/pxelinux.cfg/01-00-0b-5d-4a-b6-97" octet tsize
00:29:06.163660 IP 192.168.1.53.57091 > opsiserver.kct.local.tftp: 57 RRQ "linux/pxelinux.cfg/C0A80135" octet tsize 0 blksize 14
00:29:06.166916 IP 192.168.1.53.57092 > opsiserver.kct.local.tftp: 56 RRQ "linux/pxelinux.cfg/C0A8013" octet tsize 0 blksize 140
00:29:06.170163 IP 192.168.1.53.57093 > opsiserver.kct.local.tftp: 55 RRQ "linux/pxelinux.cfg/C0A801" octet tsize 0 blksize 1408
00:29:06.173406 IP 192.168.1.53.57094 > opsiserver.kct.local.tftp: 54 RRQ "linux/pxelinux.cfg/C0A80" octet tsize 0 blksize 1408
00:29:06.176627 IP 192.168.1.53.57095 > opsiserver.kct.local.tftp: 53 RRQ "linux/pxelinux.cfg/C0A8" octet tsize 0 blksize 1408
00:29:06.180001 IP 192.168.1.53.57096 > opsiserver.kct.local.tftp: 52 RRQ "linux/pxelinux.cfg/C0A" octet tsize 0 blksize 1408
00:29:06.183738 IP 192.168.1.53.57097 > opsiserver.kct.local.tftp: 51 RRQ "linux/pxelinux.cfg/C0" octet tsize 0 blksize 1408
00:29:06.195667 IP 192.168.1.53.57098 > opsiserver.kct.local.tftp: 50 RRQ "linux/pxelinux.cfg/C" octet tsize 0 blksize 1408


hoffe das hilf weiter mein problem zufinden
00:29:06.207586 IP 192.168.1.53.57099 > opsiserver.kct.local.tftp: 56 RRQ "linux/pxelinux.cfg/default" octet tsize 0 blksize 140
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: DHCP und DNS auf W2k3

Beitrag von d.oertel »

Hi,

das sieht alles korrekt aus.

Ist denn ein netboot Produkt für den Client auf setup gestellt ?
Was sagt :
ls -l /tftpboot/linux/pxelinux.cfg

gruss
detlef oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Torsten
Beiträge: 8
Registriert: 30 Jan 2009, 16:38

Re: DHCP und DNS auf W2k3

Beitrag von Torsten »

also winxppro ist auf setup gestellt

der rest schaut so aus

opsiserver:~# ls -l /tftpboot/linux/pxelinux.cfg
insgesamt 16
prw-r--r-- 1 root pcpatch 0 2009-02-06 00:14 01-00-0b-5d-4a-6b-97
lrwxrwxrwx 1 opsiconfd pcpatch 14 2009-02-05 23:42 default -> default.nomenu
-rw-rw-r-- 1 opsiconfd pcpatch 976 2008-08-26 16:49 default.menu
-rw-rw-r-- 1 opsiconfd pcpatch 35 2008-08-26 16:49 default.nomenu
-rw-rw-r-- 1 opsiconfd pcpatch 196 2008-08-26 16:49 install
-rw-rw-r-- 1 opsiconfd pcpatch 54 2007-08-16 12:45 memtest86


das system ist auch noch mal ganz neu aufgesetzt mit dem etch und nicht dem lenny image
.
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: DHCP und DNS auf W2k3

Beitrag von d.oertel »

Hi,

Code: Alles auswählen

01-00-0b-5d-4a-b6-97 -> das ist die MAC die Anfragt
01-00-0b-5d-4a-6b-97 -> das ist die MAC für welche ein netboot produkt auf setup steht
Was fällt auf ;-) ?

gruss
detlef


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten