Before You Begin
Ensure that your role has the appropriate rights to perform this procedure. See Using Rights Profiles to Perform Network Configuration.
$ pkg install ilb
$ ipadm set-prop -p forwarding=on ipv4
Or:
$ ipadm set-prop -p forwarding=on ipv6
$ svcadm enable ilb
The previous procedure is reversed if you no longer want to use ILB. After the service is disabled, you can disable switch off packet forwarding if this functionality is not used in other network operations.