- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Outbound connection through floating IP
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
12-04-2000 08:55 AM
12-04-2000 08:55 AM
Outbound connection through floating IP
I have a MCSG cluster with two nodes.
All incoming traffic comes to the system through the floating IP.
Is there any way to ensure that all outbound connections from the system ( where ever the package is running ) use the floating IP rather than the system IP.
Thanks in advance to all those who can reply.
Pramod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 10:28 AM
12-04-2000 10:28 AM
Re: Outbound connection through floating IP
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 02:56 AM
12-05-2000 02:56 AM
Re: Outbound connection through floating IP
There is an interesting discussion about this at:-
http://docs.hp.com/hpux/onlinedocs/B3936-90026/B3936-90026.html
The section that is significant is the following:-
Call bind() before connect()
When an application initiates its own connection, it should first call bind(2), specifying the application IP address before calling connect(2). Otherwise the connect request will be sent using the stationary IP address of the system's outbound LAN interface rather than the desired relocatable application IP address. The client will receive this IP address from the accept(2) call, possibly confusing the client software and preventing it from working correctly.
-----------------------------------------------
Thus you must code your application to use the relocatable IP address if it is initiating connections.
If you are need to force 'standard applications' (such as ftp for instance) to use the relocatable address then it seems that your only option is to ensure that the relocatable address is the only address on that interface (also discussed at the above URL).
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 05:41 AM
12-05-2000 05:41 AM
Re: Outbound connection through floating IP
Generally, the application should be configurable to bind() itself to a specific relocatable IP-address instead of binding to INADDR_ANY.
Using 11.x You may use a static route to force outgoing traffic to be stamped with the 'right' source address...
# route add
You could add such a route during pkg start and remove during halt. But be careful, not to disturb heartbeat traffic using this trick!
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 01:25 PM
12-07-2000 01:25 PM
Re: Outbound connection through floating IP
It?s a running application, which uses many third part API?s and where we don?t have any control on it.