Connecting FOG to Virtual Machine
-
@agray I would say that looks like a normal pcap except I don’t see it transferring the file. If you look at the pcap we see a Discover, Offer, Request, and ACK. Then the client request the file size of undionly.kpxe and then requests the file… from there it stops. Then after 30 seconds or so it sends out a discover again and the fog server responds with an offer but then it cycles between discover and offer.
So my question is this: Does this happen with the VM only, where a physical computer boots normally?
I might understand what is happening but not the why just yet. I did notice that the mac address of the device in your picture doesn’t match the mac address of the pxe booting device in the pcap [08:00:27:8a:86:44].
-
@george1421 said in Connecting FOG to Virtual Machine:
Does this happen with the VM only, where a physical computer boots normally?
If I’m understanding correctly, my physical machine boot perfectly into the FOG GUI it gives me after PXE.
@george1421 said in Connecting FOG to Virtual Machine:
the mac address of the device in your picture doesn’t match the mac address of the pxe
It changed because i had to rebuild the VM. I was originally logged into the Network admin account and, since I had to get off the domain, I exported the VM and brought it back up in the local admin account.
-
To cover all our bases, does my VM set up look correct?
-
@agray When you setup vitrualbox did you add in the virtualbox extension pack? The reason why I ask is that your network settings appear correct. I’d have to look at my home linux laptop to be 100% absolute. I know pxe booting does work with virtualbox into fog because I do testing at home often.
This appears to be more of an issue with virtualbox than FOG since your physical machine works correctly.
-
This post is deleted! -
@george1421 I tested uninstalling VirtualBox and it didn’t do anything. I’m going to attempt using Hyper-V and will get back to you with results.
-
@agray This seems strange! What host OS do you have VirtualBox installed on? I am using VirtualBox on Debian Linux since years working great for PXE booting VMs with FOG.
I’ve had a look at the PCAP file as well. To me it looks like the following is happening. As seen in the picture of the initial post the “Intel UNDI PXE stack” comes up and requests an IP and PXE infos from the DHCP, gets and answer, loads
undionly.kpxe
via TFTP (note here that we only see the initial read requests as the rest is on random high ports and probably not seen by the filter used to strip down the PCAP!) and then iPXE itself goes for another round of DHCP (seen in the DHCP discover packets as iPXE sends DHCP option 175).Now DHCP server responds but the client/iPXE keeps sending out DHCP discover packets. I guess that iPXE is somehow not able to receive those answers. Can you please hit
s
as suggested to get to the iPXE shell after DHCP failed and run the commandifstat
. Take a picture and post here.Now you can try to use a different network interface card in your VirtualBox settings. Try out different Adapter Type settings. As well you can try using other iPXE binaries. On your FOG server edit
/etc/dhcp/dhcpd.conf
(might be a bit different depending on the Linux OS you have) and changeundionly.kpxe
toipxe.pxe
for example. Restart dhcp service (systemctl restart isc-dhcp-server
or similar) and see if that makes a difference. -
@agray Good shout, I get the same problem on the ICH9 chipset, the PIIX3 one works fine though.
-
@Sebastian-Roth said in Connecting FOG to Virtual Machine:
What host OS do you have VirtualBox installed on?
Windows 10
@Quazz said in Connecting FOG to Virtual Machine:
the PIIX3 one works fine though.
I changed my chipset to PIIX3 and it works! Thank you guys for the long headache relief!
-
This post is deleted!