ubuntu - how to route client HTTP requests over multiple NIC with libcurl -


on ubuntu machine, wonder if there way route specific http requests same server - let's say, video provider - on multiple network interface cards (nics).

i've heard link bonding, seems outside of control of applicative code. libcurl used perform task ?

i think can inspect system configuration detect multiple nics, how translate address read specific interface ?

normally outgoing interface depends on routing table.

curl supports selecting outgoing interface.

--interface <name>  perform operation using specified interface. can enter interface name, ip address or host name. example like:   curl --interface eth0:1 http://www.netscape.com/  if option used several times, last 1 used.  

if want use several interfaces same operation (like in article mentioned), need package ifenslave-2.6. google lists many tutorials how use it.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -