- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- related to logical ip
Operating System - HP-UX
1755675
Members
3657
Online
108837
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
Discussions
Discussions
Forums
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
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
тАО07-04-2004 06:28 PM
тАО07-04-2004 06:28 PM
related to logical ip
Suppose machine A has a logical ip.
now if we connect from machine B to machine A using logical ip, the netstat output shows the logical ip on both the sides.
if we connect from machine A to machine B the netstat output on machine B shows the physical IP. This means that in IP packet it enters the physical IP address. Is there any way in which we can actually have the source IP address in the IP packet to be the logical IP. If this is possible then the machine B will then be able to show the logical IP in the netstat output.
now if we connect from machine B to machine A using logical ip, the netstat output shows the logical ip on both the sides.
if we connect from machine A to machine B the netstat output on machine B shows the physical IP. This means that in IP packet it enters the physical IP address. Is there any way in which we can actually have the source IP address in the IP packet to be the logical IP. If this is possible then the machine B will then be able to show the logical IP in the netstat output.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2004 07:39 PM
тАО07-04-2004 07:39 PM
Re: related to logical ip
Hi,
The only case I had a configuration alike was on IBM boxes with HACMP.... here you would configure a boot_IP/hostname that would be reconfigured to service_IP/hostname.
So when the service hosname is in use the other is unavailabe...
For software in packages that need the info or that does calls like hostname etc. we load these as variables in the environment of the package sofware.
All the best
Victor
The only case I had a configuration alike was on IBM boxes with HACMP.... here you would configure a boot_IP/hostname that would be reconfigured to service_IP/hostname.
So when the service hosname is in use the other is unavailabe...
For software in packages that need the info or that does calls like hostname etc. we load these as variables in the environment of the package sofware.
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2004 08:06 PM
тАО07-04-2004 08:06 PM
Re: related to logical ip
The IP address you see as the source address is the IP address of the network connection used to connect to the destination. So, if you want to have the right address, you need to make sure you use a route that will use the logical IP address instead of the primary IP address. But that would also mean that all connections that can, will use this route. So it might not be what you want.
You'll have to determine for yourself if it's acceptable.
You'll have to determine for yourself if it's acceptable.
Every problem has at least one solution. Only some solutions are harder to find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 06:11 PM
тАО07-05-2004 06:11 PM
Re: related to logical ip
You should read the appendix of the Serviceguard Manual, Chapter "Designing Applications to Run on Multiple Systems", subchapter "Bind to Relocatable IP Addresses".
The basic statement is that your application should call the system call bind(2) before connecting to a remote system. THis guarantees that you always use the source IP address that you want to use. 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.
Carsten
The basic statement is that your application should call the system call bind(2) before connecting to a remote system. THis guarantees that you always use the source IP address that you want to use. 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.
Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP