FOG Across subnets
-
You don’t have to use proxyDHCP to service multiple subnets. The article on the wiki is meant to show you how to service multiple subnets IF you are using proxyDHCP.
FOG by default will service multiple subnets. It depends on your switch/router configurations. Is FOG your DHCP server or do you use an appliance or Windows server?
-
We use Windows servers for DHCP. Machines that are on the same subnet as FOG boot just fine, but other machines on different subnets don’t boot. The DHCP server that maintains the subnet that FOG is on has its scope options 66 & 67 set like they should and that entire subnet works. Our other subnets (maintained by different DHCP servers) don’t work. I set the scope options on another subnet’s DHCP server and that didn’t work. If you need some more details let me know
-
Can the subnets talk to each other using tftp and nfs? You might try to see if you can tftp get the pxe boot file from a client on another submit, manually from the command line.
In my installation, we use proxyDHCP, but only because we have some problem-child clients that will not boot PXE without it, no matter what subnet they are in. We use one DHCP server to service six subnets, and have IP-HELPER/DHCP-RELAY configured on the router that handles the VLANs.
If you can tftp from a client on another subnet back to the FOG server, that’s a start.
-
Our subnets can talk to each other. I was able to tftp the file boot file from our FOG server. I went ahead and unistalled the proxyDHCP service also. I am still not able to boot to it though
-
Pick a test subnet, set the DHCP server up to have the option 66 and 67. pxe boot a client and post what happens. Do you get a tftp error? Does it time out? file not found? etc.
-
I’ve actually got it working now. I set the scope options 66 & 67, but that alone didn’t help. The last thing I did before it worked was edit the the my.conf file in mysql to bind-address=(server ip) instead of bind-address=127.0.0.1… I don’t know if that fixed it, but it works now. Thank you for all your help though
-
That setting is usually only needed if you are running storage node servers that need to connect back to the main FOG database. It has nothing to do with PXE boot. As far as I can recall, even during boot and execution of the scripts, there is no direct call to mysql because all the querying and udpates are done through web service calls over http.
-
Yeah, then I have no idea what changed to make it start working. The scope options have been set since the beginning of installation and it didn’t work then, but it works now. Any ideas?
-
Without an error code or some detailed symptoms, it’d be a wild guess, so I’ll avoid that.
Can I ask why your network has a separate windows DHCP server for each subnet?
-
We are set up this way because each of our campuses has a different ip range and different domains and it is easier for us to have multiple DHCP servers that have smaller scopes and configurations than one server with large scopes and configurations.