The NAT was not enabled on the cluster to allow nodes access to the public network. This was achieved by editing the /etc/sysconfig/iptables with vim and adding the following lines:-
*nat
-A POSTROUTING -o eth1 -j MASQUERADE
COMMIT
to the beginning of the file.
Save the file using wq
Then restart the service using:-
/sbin/service iptables restart
Then sync the config using :-
rocks sync config
That is now the NAT working and allowing internet access from the compute nodes on the private network.
*nat
-A POSTROUTING -o eth1 -j MASQUERADE
COMMIT
to the beginning of the file.
Save the file using
Then restart the service using:-
/sbin/service iptables restart
Then sync the config using :-
rocks sync config
That is now the NAT working and allowing internet access from the compute nodes on the private network.