Hello -
We use fog in our classroom to image our systems for our school. The server we use uses our Windows DHCP server and runs great without any issues. We are creating a stand along Fog server for a new HS and it will be on its own LAN. The fog server must provide full DHCP services. We have it set up and we can access the server interface via web browser, and our clients are getting IP addresses.
The problem we are having is setting the scope settings for pxe and uefi. Not I or my students have experience setting up boot options via command line in Linux. Any help anyone can offer will be greatly appreciated.
Our setup is as follows…
Standalone -
Dell Precision T3500
Ubuntu Server 20.04 LTE - CLI only
10.21.25.0/24
10.21.25.1 - Fog server IP
No gateway
I am including the dhcpd.conf file contents below…
#DHCP Server Configuration file/n#see /user/share/doc/dhcp*/dhcpd.conf.sample
#This file was created by FOG
#Definiton of PXE-specific options
#Code 1: Multicast IP Address of bootfile
#Code 2: UDP Port that client should monitor for MTFTP Responses
#Code 3: UDP Port that MTFTP servers are using to listen for MTFTP Responses
#Code 4: Number of seconds a client must listen for activity before trying
#to start a new MTFTP transfer
#Code 5: Number of seconds a client must listen before trying to restart
#a MTFTP transfer
option space PXE;
option PXE.mtftp-ip code 1 = ip address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-cport code 3 = unsigned integer 16;
option PXE.mtftp-cport code 4 = unsigned integer 8;
option PXE.mtftp-cport code 5 = unsigned integer 8;
option arch code 93 = unsigned integer 16;
use-host-decl-names on;
ddns-update-style interim;
ignore client-updates;
#Specify subnet of ether device you do NOT want service.
#For systems with two or more ethernet devices.
#subnet 136.165.0.0 netmask 255.255.0.0 {}
subnet 10.21.25.0 netmask 255.255.255.0{
option subnet-mask 255.255.255.0;
range dynamic-bootp 10.21.25.10 10.21.25.254;
default-lease-time 21600;
max-lease-time 43200;
#option routers 0.0.0.0
option domain-name-servers 127.0.0.53;
next-server 10.21.25.1;
}
class "legacy" {
match if substring(option vendor-class-identifier, 0 ,20) = "PXEClient:Arch00000";
filename "undionly.kkpxe";
}
class "UEFI-32-2" {
match if substring(option vendor-class identifier, 0, 20,) = "PXEClient:Arch00002";
filename "i386-efi/snponly.efi";
}
class "UEFI-32-1" {
match if substring(option vendor-class identifier, 0, 20) = "PXEClient:Arch00006";
filename "i386-efi/snponly.efi";
}
class "UEFI-64-1" {
match if substring(option vendor-class identifier, 0, 20) = "PXEClient:Arch00007";
filename "snponly.efi";
}
class "UEFI-64-2" {
match if substring(option vendor-class identifier, 0, 20) = "PXEClient:Arch00008";
filename "snponly.efi";
}
class "UEFI-64-3" {
match if substring(option vendor-class identifier, 0, 20) = "PXEClient:Arch00009";
filename "snponly.efi";
}
class "SURFACE-PRO-4" {
match if substring(option vendor-class identifier, 0, 32) = "PXEClient:Arch00007:UNDI:003016";
filename "snponly.efi";
}
class "Apple-Intel-Netboot" {
```