To see which parameters are supported by the TCP driver, use the following command:
The parameter name ``?'' may need to be escaped with a backslash to prevent its being interpreted as a shell meta character.
The following command sets the value of the parameter ip_forwarding in the dual stack IP driver to zero. This disables IPv4 packet forwarding.
|
example% ndd -set /dev/ip ip_forwarding 0
|
Similarly, in order to disable IPv6 packet forwarding, the value of parameter ip6_forwarding
|
example% ndd -set /dev/ip ip6_forwarding 0
|
To view the current IPv4 forwarding table, use the following command:
|
example% ndd /dev/ip ipv4_ire_status
|
To view the current IPv6 forwarding table, use the following command:
|
example% ndd /dev/ip ipv6_ire_status
|
|