Dear community,

In our organization we are using multiple installation platforms, depending on the OS and features we want on a laptop: Windows, Ubuntu ....
For this reason, we have a PXE boot loader system which redirects a administrator to either
- FOG installation system
- ZCM installation system
- or just plain load an iso over network

Before last week, this was all based on BIOS legacy system which we are converting to a EFI/UEFI based boot system based on DNSMASQ. This works well for all systems with exception of the ZCM system.
Explanation:

- ZCMserver is located in subnet1 having ip 10.1.254.178
- BootSelectorServer is located in subnet2 having ip 10.1.16.17


The bootselector server is based on a ubuntu 16.04 LTS with a DNSMASQ using following configuration


Code:
interface=eth0
bind-interfaces
dhcp-range=10.1.17.220,10.1.17.239,255.255.254.0,1h
dhcp-option=option:router,10.1.17.254
dhcp-option=option:ntp-server,10.1.16.5
dhcp-leasefile=/opt/dnsmasq/dnsmasq.leases
dhcp-sequential-ip
enable-tftp
tftp-root=/tftpboot

log-dhcp
port=0
dhcp-no-override


dhcp-vendorclass=BIOS,PXEClient:Arch:00000
dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
dhcp-vendorclass=UEFI,PXEClient:Arch:00007
dhcp-vendorclass=UEFI64,PXEClient:Arch:00009

dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,192.168.112.24
dhcp-boot=net:UEFI,efi64/grubnetx64.efi.signed,,10.1.16.17
#dhcp-boot=net:UEFI64,efi64/grubnetx64.efi.signed,,10.1.16.17
dhcp-boot=net:UEFI64,efi/x86_64/nvlnbpx64.efi,,10.1.254.178
dhcp-boot=net:BIOS,bios/pxelinux.0,,10.1.16.17
When booting a server and performing a network boot, the DNSMASQ picks up the DHCP request, sets the UEFI64 tag and gives back the location of the ZCM server

Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 vendor class: PXEClient:Arch:00009:????:??????
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 DHCPREQUEST(eth0) 10.1.17.220 00:50:56:86:b5:c1
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 tags: UEFI64, eth0
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 DHCPACK(eth0) 10.1.17.220 00:50:56:86:b5:c1
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5,
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 6:dns-server, 12:hostname, 13:boot-file-size,
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 15:domain-name, 17:root-path, 18:extension-path,
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 22:max-datagram-reassembly, 23:default-ttl,
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 28:broadcast, 40:nis-domain, 41:nis-server,
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address,
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 51:lease-time, 54:server-identifier, 58:T1,
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name,
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 97:client-machine-id, 128, 129, 130, 131,
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 requested options: 132, 133, 134, 135
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 bootfile name: efi/x86_64/nvlnbpx64.efi
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 next server: 10.1.254.178
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 broadcast response
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 sent size: 1 option: 53 message-type 5
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 sent size: 4 option: 54 server-identifier 10.1.16.17
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 sent size: 4 option: 51 lease-time 1h
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 sent size: 4 option: 58 T1 30m
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 sent size: 4 option: 59 T2 52m30s
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 sent size: 4 option: 1 netmask 255.255.254.0
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 sent size: 4 option: 28 broadcast 10.1.17.255
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 sent size: 4 option: 42 ntp-server 10.1.16.5
Jun 11 09:28:19 PXESELECTOR001 dnsmasq-dhcp[6671]: 987456303 sent size: 4 option: 3 router 10.1.17.254

-------

On the ZCMServer you see an incoming connection and sending the TFTP file:
[DEBUG] [06/11/2018 09:28:20.000] [2083] [zmgtool] [4031] [] [zmgtool] [] [File sent to 10.1.17.220:1295 --> efi/x86_64/nvlnbpx64.efi] [] [] [] [Imaging]


But then the server just pops back to the main boot screen and nothing happens.

Anybody any thoughts please?

Thanks
Joeri
Kristof