1832455 Members
3200 Online
110043 Solutions
New Discussion

ip forwarding

 
Simon Hargrave
Honored Contributor

ip forwarding

Can anyone tell me the meaning of the ip_forwarding ndd parameter values?

I know that 0 means IP forwarding is off, and 1 means IP forwarding is on. However the default value is 2, so what does this mean? When set to this it doesn't appear to route packets, does it enable some specific type of routing?
3 REPLIES 3
Simon Hargrave
Honored Contributor

Re: ip forwarding

Sorry, answered my own question! Didn't realised ndd -h gave expanded descriptions of parameters!

% ndd -h ip_forwarding

ip_forwarding:

Controls how IP hosts forward packets: Set to 0 to inhibit
forwarding; set to 1 to always forward; set to 2 to forward
only if the number of logical interfaces on the system is 2
or more. [0,2] Default: 2
Slawomir Gora
Honored Contributor

Re: ip forwarding

Hi,

form command: ndd -h ip_forwarding

Controls how IP hosts forward packets:
Set to 0 to inhibit forwarding;
set to 1 to always forward;
set to 2 to forward only if the number of
logical interfaces on the system is 2 or more. [0,2]

Default: 2
Simon Hargrave
Honored Contributor

Re: ip forwarding

Thread closed.