Broadcom Confidential 5880X-PS225-UG101
29
PS225 User Guide Quick Start Guide
13. On the host (assume it is Ubuntu 16), ensure that the change is based on your distribution.
14. Edit /etc/sysctl.conf and uncomment the following line:
net.ipv4.ip_forward=1
byang@byang-PowerEdge-2950:~$ sudo iptables -t nat -A POSTROUTING -o eno2 -j MASQUERADE
byang@byang-PowerEdge-2950:~$ sudo iptables -A FORWARD -i eno2 -o enp8s0f0 -m state --state
RELATED,ESTABLISHED -j ACCEPT
byang@byang-PowerEdge-2950:~$ sudo iptables -A FORWARD -i enp8s0f0 -o eno2 -j ACCEPT
15. Test the configuration by accessing www.google.com.
lab@ubuntu:/$ ping google.com