Jump to content











Photo
- - - - -

Adding multiple vendor class identifiers to dhcp


  • Please log in to reply
No replies to this topic

#1 Techy86uk

Techy86uk
  • Members
  • 1 posts
  •  
    United Kingdom

Posted 3 weeks ago

Hi All,

           So what I'm trying to do, is define multiple vendor-class-identifiers, to service BIOS, EFI32, and EFI64 PXE Clients..

 

as is, BIOS PXE boots just fine... however, how do I add the below to the 'tftpd32.ini' in a way tftpd64 will understand?

 

; This one line must be outside any bracketed scope
option architecture-type code 93 = unsigned integer 16;

class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";

if option architecture-type = 0 {
filename "path/to/BIOS/pxelinux.0";
} elsif option architecture-type = 9 {
filename "path/to/EFIx64/syslinux.efi";
} elsif option architecture-type = 7 {
filename "path/to/EFIx64/syslinux.efi";
} elsif option architecture-type = 6 {
filename "path/to/EFIia32/syslinux.efi";
}
}

 

or is there a way i can achieve a similiar thing? i.e. set multiple rules to resolve a different boot file for each vendor class??






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users