Wednesday 23 November 2011

ipforwarding Enble in hp unix :- How to??

To Check ipforwarding is enabled or not:

#ndd -get /dev/ip ip_forwarding

will give you the currently set value. (A vlaue of 0 means it's off, 2 means on.)

Or else check the below file for the word forward

#more /etc/rc.config.d/nddconf

To Enable follow below :

ndd -set /dev/ip ip_forwarding 2

and for permanent

add to /etc/rc.config.d/nddconf file the following lines:
TRANSPORT_NAME[X]=ip
NDD_NAME[X]=ip_forwarding
NDD_VALUE[X]=2

No comments:

Post a Comment