Operating System - HP-UX
1826285 Members
4085 Online
109692 Solutions
New Discussion

Re: ip_forwarding on HP-UX 11.i

 
henk baars
Advisor

ip_forwarding on HP-UX 11.i

Hello HP-UX admins.
I have a problem with ip-forwarding. I need to turn it off - I use ndd and that works fine (set to 0). But the next day somehow ip_forwarding is reset to the default (2). The server is not rebooted (I also configured nddconf) and netstat shows there is no ip_forwarding. Any ideas?
12 REPLIES 12
Jeeshan
Honored Contributor

Re: ip_forwarding on HP-UX 11.i

henk baars
Advisor

Re: ip_forwarding on HP-UX 11.i

I read the link, but it doesnt offer me an answer. I can disable ip-forwarding without any problem with ndd (to 0), but after a day the value I set is changed back to the default (2). I am looking for the cause of that.
Jeeshan
Honored Contributor

Re: ip_forwarding on HP-UX 11.i

check the configuration file in /etc/rc.config.d/nddconf.
a warrior never quits
Asif Sharif
Honored Contributor
henk baars
Advisor

Re: ip_forwarding on HP-UX 11.i

my ndd configuration is correct. ndd -c sets the value back to 0. I still dont know how/why it is reset to 2.
Jeeshan
Honored Contributor

Re: ip_forwarding on HP-UX 11.i

post this output

#ll /usr/bin/ndd
a warrior never quits
Jeeshan
Honored Contributor

Re: ip_forwarding on HP-UX 11.i

and also check the file

#ll /etc/rc.config.d/nddconf
a warrior never quits
Jeeshan
Honored Contributor

Re: ip_forwarding on HP-UX 11.i

i'm afraid that you have corrupted net file. please verify the /sbin/init.d/net file.
a warrior never quits
Laurent Menase
Honored Contributor

Re: ip_forwarding on HP-UX 11.i

ndd -a was called
Did you made an ignite tape recovery, if yes, update your ignite version.
-a option is a hidden option which reset some ndd params to a predefined value
ip_forwarding is reset to 2.
Some other are changed, so you may need to call again ndd -c

-a option should only be used at boot time by rc2.d/S008net.init, but unfortunately some ignite version may call it.
henk baars
Advisor

Re: ip_forwarding on HP-UX 11.i

Yes, it is the ignite tape backup that causes this. Thanks! I think we just have to upgrade the ignite version, hoping this is not a feature in later releases.
Asif Sharif
Honored Contributor

Re: ip_forwarding on HP-UX 11.i

Hi Baars,

Please assign the points who helped you.

Regards,
Asif Sharif
Regards,
Asif Sharif
Laurent Menase
Honored Contributor

Re: ip_forwarding on HP-UX 11.i

It is fixed with up to date versions