I have a cluster of three Ubuntu desktops. They're all plugged into a switch, and I have one cable running from the switch to the internet (it's on my schools network). One is set up as a DHCP to assign IP addresses to the others. I suppose I have two questions:
Can I make it so the two clients get their IP from my DHCP before getting one from an external router somewhere. Currently I have to unplug the internet to get them to get their IP from my DHCP.
None of my machines have access to the internet when I'm using my own DHCP. I can change some configuration files to switch the DHCP server from a DHCP address to a static, and vice versa, the other two I have to restart whenever I want to switch between the internet or my cluster.
So is there a way to have an internet connection and be a DHCP server? And can I get my other machines access to the internet through my DHCP?
Thanks in advance.