troubleshooting Question

How to get unix client to use higher speed NIC in its socket?

Avatar of phoffric
phoffric asked on
CTCP/IPNetwork Architecture
7 Comments4 Solutions611 ViewsLast Modified:
In multi-homed UNIX box, for servers, we can bind a specific IP address (or all of them) and ports to the socket. In sample client code, I just see the client socket associated with the server's IP address and port. I would like this client to connect to a server using only the client's higher speed card's IP address. Does anyone have some IPv4 sample client code to do this showing both the server and client socket association in the client code? (I am dealing with straight IP addresses, so DNS is not part of this topic.) My understanding is that without this binding, the client will use "lan0" (100 Mbps) instead of "lan1" (1Gbps).
Thanks,
  Paul
ASKER CERTIFIED SOLUTION
mccarl
IT Business Systems Analyst / Software Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2015

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 4 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros