[HELP]Setup Virtualbox FOGServer controlled scenario[SOLVED]
-
Hello, I’m doing the TCC from my college and I’m talking about implementing and using FOGServer as an image server. I already have it installed and working in my institution, but for the validation effect of my TCC, I need to do the tests in a controlled environment and not in the real environment (My advisor oriented me to this, if not, I would do in real xD) .
The controlled environment that I thought of putting together for this and being able to work is as follows (all inside the VirtuaBox):- 1 VM installed with Ubuntu LTS 16.04 with FOGServer “working bench” in last version (1.5.4.8) with 2 network cards configured being adapter 1 configured as nat (it would be a WAN card from my server only for internet connection) and adapter 2 configured on a NAT Network called Fognetwork so that I have an “internal network” (it would be the second card from my server for my LAN network).
- 3 VMs with an adapter only secured in this NAT Network Fognetwork to stay in the same “internal network” of my second FOGServer network card.
The problem is that I do not know how to configure the PXE Boot to run my environment and validate the TCC. In the real environment, I have the undionly.kkpxe configured in my pfsense firewall and it works normal, however in this environment only with virtual machines in VB I do not know how to configure. Anyone more experienced and knowledgeable could help me?
Thank you!
Sincerely, Igor.
-
@igorpa2 When installing FOG you are asked if the installer should handle DHCP setup for you. Saying yes here will install and configure a proper DHCP server for you. That will be just fine for your “controlled scenario setup”.
-
@Sebastian-Roth said in [HELP]Setup Virtualbox FOGServer controlled scenario:
@igorpa2 When installing FOG you are asked if the installer should handle DHCP setup for you. Saying yes here will install and configure a proper DHCP server for you. That will be just fine for your “controlled scenario setup”.
Sebastian, thank you very much. I was able to run the PXE boot with the virtual machines on a NAT Network(Fognetwork), you’re the guy! rsrsrs Now I will go to the validation part of my TCC(Completion of course work) graduation and I will do the cloning and restorations of my environment. Again, thank you very much!
-
Hello guys, now i have other problem, sometimes the PXE boot execute correctly, but many times lately i have message this error:
I don´t have changed no fog and nor virtualbox configuration, I just closed the screen on my notebook and opened it the other day and started not loading more. I´m just curiosly why this happened to me, but if i can´t resolve this, or i will reinstall all the environment or i will validate in the real scenario that i would not like to do this
Again, thanks so much.
-
@igorpa2 what is device 10.0.0.1? I’m suspecting a router?
If your fog server, dhcp server, and pxe booting client is on the same subnet follow these instructions to create a pcap file and post it here. We need a pcap of when you get the file not found message on the target computer. The pcap will capture what the client computer is being told to load.
-
@igorpa2 Possibly the internal VirtualBox DHCP server playing up here?!
-
@Sebastian-Roth said in [HELP]Setup Virtualbox FOGServer controlled scenario:
@igorpa2 Possibly the internal VirtualBox DHCP server playing up here?!
My FOG Network is configured like the image below:
@george1421 said in [HELP]Setup Virtualbox FOGServer controlled scenario:
@igorpa2 what is device 10.0.0.1? I’m suspecting a router?
If your fog server, dhcp server, and pxe booting client is on the same subnet follow these instructions to create a pcap file and post it here. We need a pcap of when you get the file not found message on the target computer. The pcap will capture what the client computer is being told to load.
is the IP of my FOGServer which is also my DHCP server. How to capture packages of the virtual machine in this subnet ?
-
@igorpa2 Do you only plan on capturing and deploying on this isolated network 10.0.0.0/24. Because this appears to be a natt’d network interface you will not be able to image computers on your business network.
It looks like I forgot to include the link on how to create the pcap file using the fog server: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue
-
@george1421 said in [HELP]Setup Virtualbox FOGServer controlled scenario:
@igorpa2 Do you only plan on capturing and deploying on this isolated network 10.0.0.0/24. Because this appears to be a natt’d network interface you will not be able to image computers on your business network.
It looks like I forgot to include the link on how to create the pcap file using the fog server: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue
Actually in my real company I can make it work, however as I said at the beginning of the topic, I’m doing my college course completion work and I’m talking about FOGServer, my supervisor guided me to do the validation part of the I work in a controlled environment so as not to divulge and appear the data of the institution that I work for. The strange thing is that at first it worked everything right, the PXE boot, the registration of the machines in the FOG, but the other day when I opened the notebook to continue the work, simply stopped bootating through the network appearing this error there. The intention is not to use virtual machine not in real environment, I am using it for educational purposes only for validation of my work.
I’ll see your link and see what I get here, Thank you very much. -
@igorpa2 OK if this is for your college course, then it is good it did not work/stopped working. I will tell you that you will learn more from your failures than success. Fixing this problem will give you a good experience with finding out why things don’t work.
When pxe booting fails, its best to use tcpdump/wireshark to find out what the pxe booting client is being told. Use the FOG server to capture the pxe booting process. Then you can review the pcap file with wireshark (I suggest that you install wireshark). Post the pcap here so I can look at it. I can guide you through understanding what you see in the pcap.
-
@george1421 said in [HELP]Setup Virtualbox FOGServer controlled scenario:
@igorpa2 OK if this is for your college course, then it is good it did not work/stopped working. I will tell you that you will learn more from your failures than success. Fixing this problem will give you a good experience with finding out why things don’t work.
When pxe booting fails, its best to use tcpdump/wireshark to find out what the pxe booting client is being told. Use the FOG server to capture the pxe booting process. Then you can review the pcap file with wireshark (I suggest that you install wireshark). Post the pcap here so I can look at it. I can guide you through understanding what you see in the pcap.
For some reason did not capture the packages, re-run the process until the windows boot of the virtual machine
-
@igorpa2 well something happened with that pcap file, its 0 bytes in size. Can you confirm and try to re-upload it?
-
@george1421 Reupoloaded with new process
-
@igorpa2 ok now lets switch over to Forum chat, look at the chat bubble in the upper right.
Also load that pcap into wireshark so we can look at it.
-
I´m installing a new fresh VM for the FOG and when selecting what Network device to use, i have this error:
-
@igorpa2 Is the IP address 10.0.0.1 already configured on that interface? It needs to be!!
-
@Sebastian-Roth said in [HELP]Setup Virtualbox FOGServer controlled scenario:
@igorpa2 Is the IP address 10.0.0.1 already configured on that interface? It needs to be!!
I’m sorry for the rookie error, I had not noticed that the interface was not configured properly, I’m so stuck with this project that I’m already beating the cranks. Now install without error.
-
Hello guys, just to give feedback to you, everything is working now, but only multicast is not working correctly. The multicast starts normally and deploys the image between the 3 VM´s, but the transmission rate got too low, worse than using unicast mode for the 3 VMs, I’m trying to find some solution on the internet now for my problem, it’s probably some configuration for the internal network in VirtualBox. Anyone have any ideia or know about this ?