DNSmasq did the trick!
Thanks a lot guys!
allright… soo I got more details but it’s weird.
The good news, Wireshark seems to confirm that my client does indeed get an IP address from my router. Bad news is it doesn’t see my server:
Frame 10: 342 bytes on wire (2736 bits), 342 bytes captured (2736 bits)
Ethernet II, Src: ASUSTekC_bf:9c:80 (1c:87:2c:bf:9c:80), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol Version 4, Src: 192.168.1.1, Dst: 255.255.255.255
User Datagram Protocol, Src Port: 67, Dst Port: 68
Dynamic Host Configuration Protocol (Offer)
Message type: Boot Reply (2)
Hardware type: Ethernet (0x01)
Hardware address length: 6
Transaction ID: 0x410dbe0f
Seconds elapsed: 28
Bootp flags: 0x8000, Broadcast flag (Broadcast)
Client IP address: 0.0.0.0
Your (client) IP address: 192.168.1.229
Next server IP address: 192.168.1.1
Relay agent IP address: 0.0.0.0
Client MAC address: EliteGro_68:4f:35 (1c:69:7a:68:4f:35)
Client hardware address padding: 00000000000000000000
Server host name not given
Boot file name not given
Magic cookie: DHCP
Option: (53) DHCP Message Type (Offer)
Option: (54) DHCP Server Identifier (192.168.1.1)
Option: (51) IP Address Lease Time
Option: (58) Renewal Time Value
Option: (59) Rebinding Time Value
Option: (1) Subnet Mask (255.255.255.0)
Option: (28) Broadcast Address (192.168.1.255)
Option: (6) Domain Name Server
Option: (3) Router
Option: (255) End
I changed my server to another network and the ip is 192.168.1.224
@george1421 Hello again!
To force my LAN to give an IP while they are in UEFI or BIOS, if I install dnsmasq and force it to listen to my FOG server…would it work?
If my fog server is on let’s say 192.168.2.5, do I define my dnsmasq config like this?
Also I do NOT have ANY DNS in this setup… do I need one?
Total newb as you can see.
First time here so be gentle.
I did 2 setup for FOG. First setup was at my job and it worked somewhat ok. I used the DHCP option 66 and 67 for the PXE boot and it worked…somewhat. It made Hyper-V and VirtualBox crash if I tried to restore an image or inventory but at least I got the PXE booting.
Due to COVID getting very bad here, we are stuck at home and I tried to continue my test. I have been unable to get FOG working again.
Here is my setup:
A macmini with ubuntu 20.04 live server
A intel NUC running HYPER-V with a virtual machine hosting my DHCP.
2 Physical Pc serving as client
One switch connecting everything without internet access…
My personal router / switch is able to provide DHCP and I didn’t want to mess something up so I tried to do it on a small LAN without internet access.
I am able to get the clients running and see them in my FOG server Dashboard. However, no luck with the PXE.
The DHCP don,t seem to send an IP address if I’m not in windows, Linux or MAC.
Using IPXE ISO as a USB key I have been able to get an IP address but then… I get no boot filename available… which is weird because I’m pretty sure I entered it in the Windows DHCP correctly.
The client PC are a mix of old and new. All of them have legacy and UEFI support.
Should I host the DHCP on the FOG server? Would it help in my case?
Help a newb out please.