HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
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