On Jul 14, 2013 10:02 PM, "Victor Sudakov" <vas at mpeks.tomsk.su> wrote:> > I have tried replacing the IP address with a DNS name like this: > > LABEL WDS1 > Menu LABEL WDS1 > com32 pxechn.c32 > append ws150.sibptus.transneft.ru::boot\x86\wdsnbp.com -W -o66.x=0a:0e:8d:96 Did you try without "-o 66..."? Any chance for a packet capture from a mirrored port or the dhcpd+tftpd-old+tftpd-new+dnsd?> It did not help. pxechn.c32 still does not seem to understand that > ws150.sibptus.transneft.ru is a host: > > pxechn.c32: Attempting to load 'ws150.sibptus.transneft.ru::boot\x86\wdsnbp.com': 2:No such file or directory> USAGE: bla bla > > Of course 'ws150.sibptus.transneft.ru' has a valid A record in the DNS.My suspicion is that it tries the old tftpd instead of the new tftpd. --Gene
Gene Cumm wrote:> > Did you try without "-o 66..."? Any chance for a packet capture from a > mirrored port or the dhcpd+tftpd-old+tftpd-new+dnsd?OK, I have tried the following: label WDS menu LABEL ^4. Windows Deployment Service com32 pxechn.c32 append wds01-sibptus.sibptus.transneft.ru::boot\x86\wdsnbp.com -W and it *does* work for the majority of PXE clients. The packet dump is here: http://zalil.ru/34637868 You can see from the dump that the client first queries DNS for the IP address of wds01-sibptus.sibptus.transneft.ru (around frame 829) and then downloads wdsnbp.com from 10.14.140.128. This setup does not work on VirtualBox'es PXE client, perhaps because it cannot do DNS lookups. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov at sibptus.tomsk.ru
On Tue, Jul 16, 2013 at 12:51 AM, Victor Sudakov <vas at mpeks.tomsk.su> wrote:> Gene Cumm wrote: >> >> Did you try without "-o 66..."? Any chance for a packet capture from a >> mirrored port or the dhcpd+tftpd-old+tftpd-new+dnsd? > > OK, I have tried the following: > > label WDS > menu LABEL ^4. Windows Deployment Service > com32 pxechn.c32 > append wds01-sibptus.sibptus.transneft.ru::boot\x86\wdsnbp.com -W > > and it *does* work for the majority of PXE clients. The packet dump is > here: http://zalil.ru/34637868 > > You can see from the dump that the client first queries DNS for the IP > address of wds01-sibptus.sibptus.transneft.ru (around frame 829) and > then downloads wdsnbp.com from 10.14.140.128. > > This setup does not work on VirtualBox'es PXE client, perhaps because it > cannot do DNS lookups.Unfortunately, in my testing, I can't see any difference with and without the -o. The big thing I notice is just that since 5.10, the code in pxelinux.0 does DNS queries for specific calls rather than a dotted quad conversion first. -- -Gene