Assuming enp129s0f0 is for internal network and enp129s0f1 for external network.
1. Tell kernel to allow ip forwarding:
On the head node
$ echo 1 > /proc/sys/net/ipv4/ip_forward
2. Configure IPTABLES to forward packets from internal network.
On the head node$ sudo iptables -t nat -A POSTROUTING -o enp129s0f1 -j MASQUERADE
$ sudo iptables -A FORWARD -i enp129s0f0 -o enp129s0f1 -j ACCEPT
$ sudo iptables -A FORWARD -i enp129s0f1 -o enp129s0f0 -m state --state RELATED,ESTABLISHED -j ACCEPT
$ sudo iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT