So I have a cluster of about 30 nodes. 29 nodes are run from the master node, which controls all the other nodes. Master node has access to internet. However other 29 nodes do not have access to internet. These are all Linux CentOS machines. All 30 nodes are in the same local network. Is there a way to make it so that all 29 nodes use the master node to connect to the internet?
1 Answer
Just configure the IP forwarding and iptables to make your master node work as a software router.
Here is a very nice step-by-step guide about it:
CentOS / Redhat : Configure CentOS as a Software Router with two interfaces
setting up a Linux router
. It is an incredibly broad question, one that does not sit well here. You should first Google around a bit, then come back with a specific question.