- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nddconf not setting value
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 02:39 AM
11-18-2004 02:39 AM
I have added the following to a /etc/rc.config.d/nddconf file to disable ip forwarding
TRANSPORT_NAME[5]=ip
NDD_NAME[5]=ip_forwarding
NDD_VALUE[5]=0
However when the server is rebooted an i run
ndd -get /dev/ip ip_forwarding, i get a value of 2 returned???? There was no lan connection when i tried this but i'm not sure this would make a difference.... any ideas??
Regards,
Aidan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 02:45 AM
11-18-2004 02:45 AM
Re: nddconf not setting value
The 2 value is default which implies an error in your nddconf file.
Make sure:
1) The index value is unique.
2) There is no typo in the entry - including hidden characters - delete & replace to be sure.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 02:51 AM
11-18-2004 02:51 AM
Re: nddconf not setting value
Are you able to set it manuallyu from the command like
ndd -set /dev/ip ip_forwarding 5
ndd -get /dev/ip ip_forwarding
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 02:51 AM
11-18-2004 02:51 AM
Re: nddconf not setting value
Are you able to set it manually from the command like
ndd -set /dev/ip ip_forwarding 5
Check to see if it is set to "5"
ndd -get /dev/ip ip_forwarding
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 02:58 AM
11-18-2004 02:58 AM
Re: nddconf not setting value
Thanks for the reply's, i didn't check with the -get option after i'd used the -set to set the value to 0, also 5 is is not a valid option here it can only be set to 0,1 or 2.
I'll try setting it manually & then testing, also i'll try removing the lines & re-typing them in the nddconf file.
Does anybody know what daemon reads the nddconf file on bootup?
Aidan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 03:05 AM
11-18-2004 03:05 AM
Re: nddconf not setting value
i think "init" is the daemon that reads and starts all the configured process at boot time.
hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 08:16 AM
11-18-2004 08:16 AM
SolutionNow, ndd -c is the tool to test your nddconf file. It performs the task of reading the nddconf file and setting the required values. So, the order in debugging an ndd setting is to first request the current value:
ndd -get /dev/ip ip_forwarding
That returns the current value and also verifies the syntax of the command (the right device file, and the correct speilling of the parameter). Now set the value manually:
ndd -set /dev/ip ip_forwarding 0
ndd -get /dev/ip ip_forwarding
The first sets the value and the second verifies the setting. Finally, make the changes to nddconf, then set the value to something else, followed by ndd -c and verify that the setting took place:
ndd -set /dev/ip ip_forwarding 2
ndd -get /dev/ip ip_forwarding
ndd -c
ndd -get /dev/ip ip_forwarding
If all is well, you'll see the value change and then take on the value in nddconf.
NOTE: ndd -c has been BROKEN for a while. It doesn't do anything or fails to process all the values in the file (contrary to the man page) until you add the latest ndd patch (PHNE_31247 for 11.11, PHNE_26125 for 11.00).
Bill Hassell, sysadmin