10.9. Enabling IP forwarding

To allow other systems to access a different network through a machine containing two network adapters, you must enable IP forwarding on that machine. The system will now act as a gateway between network A and network B.

IP forwarding is a runtime attribute. The default value of 0 (zero) prevents forwarding of IP packets when they are not for the local system. A value of 1 (one) enables forwarding. Enable IP forwarding using the command:

no -o ipforwarding=1

This setting will be lost following a system reboot.

Get IBM eServer Certification Study Guide - pSeries AIX System Administration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.