VM Workstation with fog issues
-
I have the latest VM workstation 16 and i have loaded ubuntu 20 tls with fog server. The VM has a network card that is 192.168.1.40. I have it bridged to the network. I do have wireless also on to my network.
how do i take a client and boot and reach the fog server in the VM ?
i boot and it never gets to the dhcp server.
i can not ping the workstation from outside the VM. i am using the host computer where vm workstation is installed and can not ping the fog server - .40
I am not sure what I am doing wrong. This is the first time i have tried to run a fog server in a VM and try to image that way .
-
@mmoore5553 Possibly the Ubuntu firewall is in the way? Search the web on how to check and disable it.
Bridged network setting in the VM sounds good. Make sure your FOG server IP is setup as static address on your system.
Are you planing to have your FOG server run as DHCP server for your local network? Just asking because it sounds like it and usually people have a DHCP service in their network already. Make sure you don’t have two!
-
@sebastian-roth it is a private network. I have a dummy switch that it goes through. I shut off my wireless card when i try to image. It is the same as my other fog server but it is on a pc.
i thought i would put it in a VM and then just shut off my wireless when i am ready to image .
Firewall is off. I double checked it to be sure.
i checked on the host …windows 10 and then in ubuntu. Firewall is off. I will be putting this on a stand alone computer with just a dummy switch.
-
i am wondering how do i check if dhcp is running. i did say in the install I wanted the fog server to handle dhcp. I want to make sure that service is running
-
i finally found the issue but not sure how to fix it. I ran the setup again in the vm and finally go the error setting up and starting dhcp server - no router address found - no dns address found.
I am not sure how to fix that. i know the last install i did i never had to put in an ip address for the router since i used the built in
-
well i finally solved the issue. I switched to the dev-branch version. Then i install fog again with same exact settings. It complained about not having an ip address. I run service isc-dhcp-server status and it showed it was working.
this time in the dev branch i browsed to the dhcp folder and found it created the dhcp server file this time from fog.
i set my vm to bridge and then booted my other computer and it worked.
if i want a VM to connect I have to change my VM to Nat and not bridged.
-
@mmoore5553 Good to hear you were able to make it work. Just a few comments on what you said:
I ran the setup again in the vm and finally go the error setting up and starting dhcp server - no router address found - no dns address found.
The router and DNS addresses are only used by the FOG installer to set those in the DHCP configuration to be sent to clients requesting IP (and router/DNS information) from the DHCP server.
if i want a VM to connect I have to change my VM to Nat and not bridged.
Hmm, I would think you can set all VMs to bridged and should be able to PXE boot VMs and physical machines then.