Fresh Install of Fog - Setup PXE Boot
-
@george1421 or to change gears, can I just set it up to where I don’t need Fog to act as a DHCP server, keeping it nice and simple? Will the PXE client’s get their IP addresses from Microsoft via the FOG server that way?
-
@dpotesta50 There is no real simple. For the clients to get their dhcp addresses from your business network you will need to have a router setup to pass the dhcp requests to your dhcp server.
Lets take a step back, why do you feel you need a dedicated imaging network?
-
@george1421 The main concern was keeping the FOG DHCP from interfering with the corporate MS DHCP.
-
@dpotesta50 So if your clients use MS dhcp server then there is no reason to have a dedicated imaging network (understand there ARE reasons to have a dedicated imaging network, I just want to see if your use case fits).
You do not need to use fog dhcp server at all. It is provided when your needs are specific. As long as you can configure dhcp options 66 and 67 in your MS dhcp server then you are good to go. If you have a mix of uefi and bios (legacy mode) computers you will need a windows 2012 or newer dhcp server to create the filters to dynamically switch between the boot files. This isn’t a requirement, but it makes life easier for you.
-
@george1421 well since I’m not over the main network and those who are, are busy with other projects lets keep FOG handling the DHCP for the PXE clients.
-
@dpotesta50 said in Fresh Install of Fog - Setup PXE Boot:
on the part of the installation that asks if I want to change the default network interface. How do I know which it’s default to?
OK then back to where you were.
The default network adapter will be your imaging network adapter. You can view this by the following command on the fog server linux command prompt
ip addr show
That will show you all network interfaces. The one with teh IP address that matches your imaging network is the one you want to set as your default. It may be named eth0 or something else based on your linux distro. -
-
@dpotesta50 enp2s0 is your wired ethernet adapter and should be your FOG default adapter. But your don’t have an IP address range assigned just yet. Don’t install FOG.
It looks like your wireless interface is connected to 192.168.50.x network. Is that right?
-
@george1421 Wiresless is getting DHCP from MS. Based on what you instruction I need to bind Fog to the ethernet which I gave a static 192.168.100.100.
-
@dpotesta50 Then
ip addr show
now shows the proper IP address for interface enp2s0 ?? I don’t need to see it, just want to confirm that you see it. -
@dpotesta50 No that line (2) for the enp2s0 adapter does NOT show my static IP address of 192.168.100.100
-
@george1421 Okay never mind now it does. Ubuntu is using ethernet as it’s standard adapter, Wireless is available. I took the check off to auto-connect to wireless when it’s available.
-
@dpotesta50 OK once your wired ethernet has a real IP address AND you have access to the internet using the wireless interface you can go ahead and install FOG. Just be sure to select your wired connection during setup and you should be good to go.
-
@george1421 Do I need to add anything to “setup a router address for the DHCP server”?
-
@dpotesta50 No since you have an isolated network
-
@george1421 Install failed. Not connected to wireless so the repository couldn’t be setup.
-
@dpotesta50 OK so why can’t you connect to both wifi and ethernet? Is this a laptop where you have the bios (firmware) setup to disconnect wifi if the ethernet cable is connected?
-
@george1421 Ethernet is literally just plugged into a switch that goes to nothing. My intent was to use that to connect a test device to for PXE boot. (This is all running on a Dell optiplex desktop) Anytime I “connect” to one, the other disconnects.
-
This is really frustrating. Once I get wifi back up, FOG wants to bind to that NIC as it’s main. I don’t know the terminology it’s looking for when it asks if I want to change the default network adapter. If I say yes and enter the NIC’s name, it throws syntax error.
-
Got it!
Kinda dumb, change to adapter number “2”.