Ubuntu sets up a gateway service to share the network. Today, the long-awaited six blade machines have finally arrived. After being configured by a person from Supermicro, I found that no other node except the master node can access the Internet, the reason is also very simple, because we have an Internet port connected to the master. Therefore, you can configure the gateway and gateway service by yourself so that other nodes can access the Internet through the master node. First, configure/etc/sysctl on the master node. conf: Uncomment the next line to enable packet forwarding for IPv4 net. ipv4.ip _ forward = 1 # Uncomment the next line to enable packet forwarding for IPv6net. ipv6.conf. all. forwarding = 1 then run the command to forward all LAN requests to the Internet sudo iptables-t nat-a postrouting-s 192.168.1.0/24-j MASQUERADE and then configure/etc/on each node/ the network/interfaces file is added to gateway 192.168.1.6 (the master Address) after the corresponding Nic) restart the NIC to access the Internet. Oh!