- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Source IP in TCP header for MCSG Packages
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
09-24-2004 03:43 AM
09-24-2004 03:43 AM
This thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=149302
pretty-well answers my following question, but I'm hoping for some clarification from our forums gurus.
I've got a ServiceGuard package with its own IP address. Nothing unusual there. This package starts a sockets-based process that must communicate through two firewalls (ours and the vendor's). Will the source IP in the TCP header be written as the package IP or the node IP? The thread cited above leads me to believe it will probably be the node IP. As a result, the source IP will be subject to change depending on which node the package is running on.
Does anyone know of a way to make TCP/IP traffic from my process started by ServiceGuard's package use the package IP address as the source IP (which will stay the same regardless of which node is running the package) instead of the node IP?
Thanks,
Jim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2004 03:53 AM
09-24-2004 03:53 AM
Re: Source IP in TCP header for MCSG Packages
If your application's 'port' is listening on the floating IP address instead '*.
However, I advise our appadmins to configure the firewalls for "stationary IP of the primary, Stationary IP of the secondary and the floating IP" to ensure that nothing breaks.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2004 06:53 AM
09-24-2004 06:53 AM
Re: Source IP in TCP header for MCSG Packages
This is really a application level talk. The way application is designed to run in your cluster environment. You will face major problem if you use Node IP in your application to talk to consequent application running on ohter node or vice versa. Application code should be changed to use the package IP, so that irrespective of where the package is running you will be able to failover and communicate likewise.
Although the IP is floating or virtual in some means, it's main purpose to keep the access to the services running. And it is bind to one of the NIC's whereever the package is running.
So it is your applicaition which should support running in Cluster environment.
Hope I have understood the question correctly. Let me know if I am wrong.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2004 06:57 AM
09-24-2004 06:57 AM
Re: Source IP in TCP header for MCSG Packages
Hope it helps
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2004 07:00 AM
09-24-2004 07:00 AM
SolutionThere is a section in the Managing Serviceguard manula at http://docs.hp.com/hpux/pdf/B3936-90079.pdf
See page 371
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2004 07:05 AM
09-24-2004 07:05 AM
Re: Source IP in TCP header for MCSG Packages
As noted above, the outgoing traffic will be using the stationary IP of the node, not the virtual/floating Package IP address.
One way to get around is to write your application to bind() to the virtual IP address before creating sockets.
- Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2004 04:26 PM
09-24-2004 04:26 PM
Re: Source IP in TCP header for MCSG Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 03:29 AM
12-29-2004 03:29 AM