1825764 Members
2034 Online
109687 Solutions
New Discussion

Re: 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 4
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