Page 1 of 1

PXE configuration with Fortinet

Published: January 18, 2024 - 10:56 AM
by gpoirot
Good morning,
I'm looking to set up PXE. Our DHCP server is distributed through the Fortinet firewall.
The conference details are:

Code: Select all

set lease-time 0
        set dns-service local
        set default-gateway 172.16.0.1
        set next-server 172.23.1.1
        set netmask 255.255.0.0
        set interface "Pedagogique"
        config ip-range
            edit 1
                set start-ip 172.16.250.0
                set end-ip 172.16.255.254
            next
        end
        set filename "ipxe_custom.efi"
     
The PXE successfully locates the ipxe.efi file on the TFTP server, but the ipxe initializing device process is stuck in a loop
20240117_102350 (Small).jpg
20240117_102350 (Small).jpg (97.82 KB) Viewed 3895 times
Have you ever configured Fortinet for PXE?
Thanks in advance

Re: PXE configuration with Fortinet

Published: January 18, 2024 - 11:13 AM
by sfonteneau
Hello Guillaume,

I don't know Forti

However, your configuration cannot work because some conditions are missing:

Normally, in terms of algorithms, it does this:

Code: Select all


si c'est un pc legacy et que c'est ipxe   qui demande:
        filename =  "http://srvwapt.mydomain.lan/api/v3/baseipxe?uefi=false&keymap=fr";
        
si c'est un pc legacy et que c'est n'est pas ipxe qui demande  :
        filename = "undionly.kpxe";
        
si c'est n'est pas un pc legacy et que c'est ipxe qui demande :
        filename =  "http://srvwapt.mydomain.lan/api/v3/baseipxe?keymap=fr";
        
si c'est n'est pas un pc legacy et que ce n'est pas ipxe qui demande  :
        filename = "ipxe.efi";