Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Single application sending data over multiple network interfaces: (4 Items)
   
Single application sending data over multiple network interfaces  
Hello,

We have box supporting Ethernet and WiFi. Each of these drivers runs within separate io-pkt contexts with corresponding 
SOCK variable set.Based on earlier discussions i found that each of io-pkt stack maintains it's own routing table. 
Our applications are started by pre-pending the correct SOCK instance.
How do i ensure that my application can Tx and Rx over multiple network interfaces at the same time? We plan to use some
 3rd party libraries that send multicast UDP packets over all interfaces active within our box.

Regards,
Sesh
Re: Single application sending data over multiple network interfaces  
You are going to need to run all the interfaces in the same io-pkt instance. The two scenarios where running multiple io
-pkt's are useful are 1) Debugging one via a network connection on the other, 2) Completely separate networks for 
security.

If it was just your own applications you can play around with the environment to hit the appropriate io-pkt, but if you 
are using 3rd party libraries you will have to run everything in one io-pkt.
RE: Single application sending data over multiple network interfaces  
There are other reasons:
	- Robustness (before some patch was release no so long ago, lots of traffic on more than one NIC would crash io-pkt.
	- To make sure QNET processing doesn`t influence TCP/IP on another NIC, we go bitten by this one is the reason we are 
using multiple instances of io-pkt today.
	
-----Message d'origine-----
De : Nick Reilly [mailto:community-noreply@qnx.com] 
Envoyé : 21 avril 2015 10:51
À : drivers-networking
Objet : Re: Single application sending data over multiple network interfaces

You are going to need to run all the interfaces in the same io-pkt instance. The two scenarios where running multiple io
-pkt's are useful are 1) Debugging one via a network connection on the other, 2) Completely separate networks for 
security.

If it was just your own applications you can play around with the environment to hit the appropriate io-pkt, but if you 
are using 3rd party libraries you will have to run everything in one io-pkt.



_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post113734
To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
Re: Single application sending data over multiple network interfaces  
Thanks for the responses. We use QNX supplied ethernet and WiFi drivers. 
Each of the interfaces reside on a separate subnet
All traffic moving from one interface to other goes through our application ( IP forwarding disabled ).

Regards,
Sesh