[Dnsmasq-discuss] serving EFI and traditional BIOS at the same time

Olaf Hering olaf at aepfle.de
Tue Feb 18 15:28:56 UTC 2014


In my network a Fritzbox is serving DHCP to clients, and my workstation
runs dnsmasq as a proxy. This is working for the traditional PC BIOS:

dhcp-range=192.168.2.0,proxy
dhcp-boot=pxelinux.0
pxe-service=x86PC,"x86PC: Automatic Network boot from ProBook",pxelinux
enable-tftp
tftp-root=/tftpboot


One of the hosts is Windows Server 2012R2 which provides, in addtion to
Generation1 VMs, also Generation2 VMs with an EFI firmware.
How should the config look like to offer PXE to old and new VM types at
the same time?

I cant figure out how to boot EFI at all. I tried this in the config,
but that does not work:

dhcp-boot=syslinux.efi
pxe-service=BC_EFI,"PXE BC_EFI",syslinux.efi


This is the request from a Gen2 VM, looks like it does not like the response:

Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 available DHCP subnet: 192.168.2.0/255.255.255.0
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 vendor class: PXEClient:Arch:00007:????:??????
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 PXE(en0) 00:15:5d:63:45:22 proxy
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 tags: en0
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 bootfile name: syslinux.efi
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 broadcast response
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 sent size:  1 option: 53 message-type  2
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 sent size:  4 option: 54 server-identifier  192.168.2.100
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 sent size: 17 option: 97 client-machine-id  00:86:3b:f4:dc:16:44:3c:4b:a1:33:e3:dc:16...
Feb 18 16:26:32 probook dnsmasq-dhcp[18054]: 3401145686 sent size: 34 option: 43 vendor-encap  06:01:03:0a:04:00:50:58:45:08:07:80:01:01...
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 available DHCP subnet: 192.168.2.0/255.255.255.0
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 vendor class: PXEClient:Arch:00007:????:??????
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 PXE(en0) 00:15:5d:63:45:22 proxy
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 tags: en0
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 bootfile name: syslinux.efi
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 broadcast response
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 sent size:  1 option: 53 message-type  2
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 sent size:  4 option: 54 server-identifier  192.168.2.100
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 sent size: 17 option: 97 client-machine-id  00:86:3b:f4:dc:16:44:3c:4b:a1:33:e3:dc:16...
Feb 18 16:26:36 probook dnsmasq-dhcp[18054]: 3401145686 sent size: 34 option: 43 vendor-encap  06:01:03:0a:04:00:50:58:45:08:07:80:01:01...


Olaf



More information about the Dnsmasq-discuss mailing list