Operating System - HP-UX
1833433 Members
3294 Online
110052 Solutions
New Discussion

Assigning Client IP Address?

 
EML
Advisor

Assigning Client IP Address?

Is it possible for a client to specify what IP address to use on its part when connecting to a server? Example is doing a telnet from a machine with 1 LAN card but with 10 IP addresses, to a server with only 1 IP address. Or an ftp.

I believe the use of IP multiplexing was more on the server side, but on this one, the server is a telecom Mobile Switch which is accepting IP connections from an HP server, and it does not support IP multiplexing. So I would like to utilize IP multiplexing on the HP side by specifying to the client what IP address to use when making a connection to a server.

If this is possible, can you give some ideas or examples on how to do it?
2 REPLIES 2
Brian Hackley
Honored Contributor

Re: Assigning Client IP Address?

Edmund,

With commands like telnet, FTP etc you cannot specify which IP assigned to a box that will be used for the Source IP address in the IP packet. There is detail on this and all the technical issues, and possible solutions, are actually covered very well in the "Managing MC/ServiceGuard" manual at http://docs.hp.com
Appendix C "Designing Highly Available Cluster Applications"

Hope this helps,
-> Brian Hackley
Ask me about telecommuting!
EML
Advisor

Re: Assigning Client IP Address?

One of my problem is on an application I was using to connect to a server. When I assigned 16 IP addresses to the lan card, it makes only one connection, using lan0:0. What I tried was to disable all the interfaces and tried to enable it one by one. When I tried first lan0:15, it connected. Then lan0:14 up to lan0:0, and after each enabling, all are established.

So, I was thinking that if the client could know what IP address to use in connecting, then my problem would be solve. But what is bugging my mind is, what is the difference I made when I started the interfaces one by one than starting it all at the same time?