in reply to Network interface selection in a Perl module.
In a normal TCP setup, you should not need to specify which interface is used to send network packets. The operating system should figure this out for you automatically. It is even explicitly possible that more than one interface could be used (to increase throughput or to allow network failures to be routed around).
If the operating system is selecting the wrong interface, then the way to fix this is to adjust your routing table so this incorrect interface is no longer considered a candidate for traffic destined for the remote address in question.
If you have difficulty figuring out how to do this, include the output from "route print" and remote IP address you are trying to connect and/or send to.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Network interface selection in a Perl module. (route)
by foil (Sexton) on Jan 28, 2005 at 21:41 UTC |