Routing choice under user control per application instance?

D. Hugh Redelmeier hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Thu Mar 18 22:24:26 UTC 2010


| From: S P Arif Sahari Wibowo <arifsaha-/E1597aS9LQAvxtiuMwx3w at public.gmane.org>

| I am wondering whether it is possible to choose TCP/IP routing for a specific
| instance of an application - chosen on user-level when the application is
| started?

Do you control the code in the application?  When a program opens a
socket, it can bind it to a particular IP address for its end.  That,
in effect, selects which ethernet interface would be used.  Does that
work for you?  That's what many server programs do.

A totally different technique might be to run the application in a
virtual machine and configure routing instead of bridging between the
VM and the internet.
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list