- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ip forwarding and routing
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
04-02-2002 03:26 AM
04-02-2002 03:26 AM
Can somebody give me a simple explanation or a link to a good documentation for this.
Thanks
Ruediger
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 03:36 AM
04-02-2002 03:36 AM
SolutionAgreat book to explain it all is TCP/IP Network Administration by Craig Hunt @ O'Reilly & Associates
ISBN 0-937175-82-X
defenition
ipforwarding: determines wheather the system forwards IP datagrams for another computer. By default, the system forwards datagrams only if it has more than one network interface, i.e. the system is assumed to be a gateway. The default value for ipforwarding variable is 0. the value 1 means ALWAYS forward datagrams; the value -1 means never forward datagrams.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 03:43 AM
04-02-2002 03:43 AM
Re: ip forwarding and routing
If you want your server to be a router too, then you'll need to activate ip forwarding.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 03:48 AM
04-02-2002 03:48 AM
Re: ip forwarding and routing
To my knowledge, ip-forwarding is especially used in case you have dynamic ip-adresses.
Dial-in users with non-static addresses will be directed to the same machines, without bothering them.
Routingtables can do the same, but you really do not like to change these entries every minute.
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 05:55 AM
04-02-2002 05:55 AM
Re: ip forwarding and routing
Once turned on nothing will happen unless a device on one LAN knows that it can get to the other LAN by going through your PC. It must have a route to the second LAN using your PC as a gateway AND the other device must have a return route back to the first LAN using your PC as the gateway.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 06:37 AM
04-02-2002 06:37 AM
Re: ip forwarding and routing
actually it quite simple:
if your station receives an IP-packet *not* meant for it (but for another ip-address) then ip_forwrading comes into the game. If it is permitted AND your system has a route towards the destination ip-address of that ip-packet, then your station will forward it (that is: will route it) to that destination (well, to the next router on the way to that destination). If ip_forwarding is NOT permitted, then your station will simply drop the ip-packet!
Every station running the ip-protocol has that ability - it is just that routers are pretty good at it (and may not do anything else)...
If you now have a station with more than one ip-address (perhaps due to having more than one interface), should it route or not?
If you say "no", then set the "ip_forwarding" to "0" (using the command "ndd") and call your station then "multi-homed" (instead of calling it "router").
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 06:47 AM
04-02-2002 06:47 AM
Re: ip forwarding and routing
Ron, I'm not sure if I understand you right.
In your scenario you speak from to things.
1. Ip forwarding ON on the gateway box
2. The gateway entries on the 2 PC's in the separate LAN's.
Do you mean I need both things for routing through the gateway box OR do mean I need only one of this for working properly?
I never attended for ip forwarding ON, I always made only the gateway entries on the PC's and all worked fine.
But I don't know if it only worked because of default behavior on the HP-UX gateway box.
And in the case of default ip forwarding behavior, is it HP-UX default or TCP/IP default?
Thanks
R??diger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 06:49 AM
04-02-2002 06:49 AM
Re: ip forwarding and routing
Ron, I'm not sure if I understand you right.
In your scenario you speak from to things.
1. Ip forwarding ON on the gateway box
2. The gateway entries on the 2 PC's in the separate LAN's.
Do you mean I need both things for routing through the gateway box OR do mean I need only one of this for working properly?
I never attended for ip forwarding ON, I always made only the gateway entries on the PC's and all worked fine.
But I don't know if it only worked because of default behavior on the HP-UX gateway box.
And in the case of default ip forwarding behavior, is it HP-UX default or TCP/IP default?
Thanks
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 12:01 PM
04-02-2002 12:01 PM
Re: ip forwarding and routing
It is highly unlikely that you would ever need IP Forwarding turned on. Having it on also is considered a security risk:
http://people.hp.se/stevesk/bastion11.html
recommends turning it off.
It's an HP-UX default. Your typical window box has it off by default.
Ron