GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- IP forwarding
Operating System - HP-UX
1844431
Members
3422
Online
110233
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-27-2007 02:29 AM
01-27-2007 02:29 AM
IP forwarding
How to check if ip_forwarding has enabled or not? if not how to set/enable it?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2007 04:38 AM
01-27-2007 04:38 AM
Re: IP forwarding
Shalom,
vi /etc/rc.config.d/nddconf
All settings will be revealed in there. Scan the file for the word forward.
If you just installed the system it will not be set on.
It can be set on temporarily with the ndd command and permanently in the file listed above.
SEP
vi /etc/rc.config.d/nddconf
All settings will be revealed in there. Scan the file for the word forward.
If you just installed the system it will not be set on.
It can be set on temporarily with the ndd command and permanently in the file listed above.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2007 03:46 PM
01-28-2007 03:46 PM
Re: IP forwarding
Indrajit,
ndd -get /dev/ip ip_forwarding
will give you the currently set value. (A vlaue of 0 means it's off, 2 means on.)
To set it right away (to off in this example)
ndd -set /dev/ip ip_forwarding 0
As SEP said, you can set it permanently in /etc/rc.config.d/nddconf, which does a pretty good job of explaining itself, unless you have removed the HP default comments in the file.
ndd has some built in documentation:
ndd -h supported
ndd -h unsupported
These 2 comments will list a number of ndd options with a brief explaination of what they do. You can get more detailed information:
ndd -h ip_forwarding
ip_forwarding:
Controls how IP hosts forward packets: Set to 0 to inhibit
forwarding; set to 1 to always forward; set to 2 to forward only if the number of logical interfaces on the system is 2 or more. [0,2] Default: 2
Hope it helps
John
ndd -get /dev/ip ip_forwarding
will give you the currently set value. (A vlaue of 0 means it's off, 2 means on.)
To set it right away (to off in this example)
ndd -set /dev/ip ip_forwarding 0
As SEP said, you can set it permanently in /etc/rc.config.d/nddconf, which does a pretty good job of explaining itself, unless you have removed the HP default comments in the file.
ndd has some built in documentation:
ndd -h supported
ndd -h unsupported
These 2 comments will list a number of ndd options with a brief explaination of what they do. You can get more detailed information:
ndd -h ip_forwarding
ip_forwarding:
Controls how IP hosts forward packets: Set to 0 to inhibit
forwarding; set to 1 to always forward; set to 2 to forward only if the number of logical interfaces on the system is 2 or more. [0,2] Default: 2
Hope it helps
John
Spoon!!!!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP