cancel
Showing results for 
Search instead for 
Did you mean: 

IP_forwarding

SOLVED
Go to solution
Rg_4
Advisor

IP_forwarding

How to check if ip_forwarding has enabled or not? If not how to set/enable it?
4 REPLIES
Nido
Trusted Contributor

Re: IP_forwarding

Suraj K Sankari
Honored Contributor

Re: IP_forwarding

Hi,

To get the current value of the tunable parameter of ip_forwarding

# ndd -get /dev/ip ip_forwarding

Suraj
Vivek Bhatia
Trusted Contributor
Solution

Re: IP_forwarding

Hi Ragesh,

Run the below command to verify weather IP forwarding is enabled or not?

# ndd -get /dev/ip ip_forwarding

If forwarding is enabled, then output wiil be "2".

If not, then execute the below command:
#ndd -set /dev/ip ip_forwarding 2

For making this change permanant edit /etc/rc.config.d/nddconf file and add the following lines

TRANSPORT_NAME[X]=ip
NDD_NAME[X]=ip_forwarding
NDD_VALUE[X]=2

Regards
Vivek
Rg_4
Advisor

Re: IP_forwarding

Dear all,
Thx for your timely and valuable replies

Expecting the same in future also....

Thanks & regards
RAGESH