Discussion Forums > Technology

Using both ethernet and wireless.

(1/2) > >>

tomoya-kun:
I've got 2 lines at the moment from 2 ISPs.  Can I connect to wifi, plug in an ethernet and use both?  And say, set torrents to ethernet and everthing else to wifi?

bork:
You can have both on without causing a problem, its just that the system will have a preference on which of the two it will use.  Assuming your using windoz, do a "route print" in a dos box and look at the bottom where it say's 'Default Gateway:'; that's the network that is going to be used.

Your system will use that entry to make decisions  on were to send its traffic out on.  The receiving system can only send traffic back to yours based on the direction it came from.

Some more about Windoz - having both on can cause weird directory synchronization problems it you are use it.

Pentium100:

--- Quote from: tomoya-kun on October 16, 2010, 05:54:31 AM ---I've got 2 lines at the moment from 2 ISPs.  Can I connect to wifi, plug in an ethernet and use both?  And say, set torrents to ethernet and everthing else to wifi?

--- End quote ---
I assume you use Windows XP.

In theory yes, however, the configuration may be a bit complicated.

If your Ethernet connection has a static IP, then set it to a large metric (larger than the one on WiFi), set the IP in uTorrent as the one to bind to (net.bind_ip and net.outgoing_ip).This way, uT will use Ethernet and everything else will use WiFi, if WiFi fails, everything will use Ethernet, if Ethernet fails uT won't work.

If your Ethernet connection has a dynamic IP or you want to separate them more cleanly, you will have to use additional machine (either real or virtual, let's assume virtual). Create a virtual machine with two network cards (one bound to host OS (host OS will have 3 network connections now  - two internet connections and one connection to the guest OS), the other directly to the real Ethernet network card), install your OS of choice and use BitTorrent there, or anything else you want to use there. Unbind TCP/IP protocol on the Ethernet connection on your host OS.

This way your host OS will use WiFi only, guest OS will only use Ethernet. The additional network connection between host and guest will be used to put downloaded files on the host (I assume you can set up file sharing).

You can also use a virtual machine as a router to load balance between the two connections (so that they both are used for everything) or use it to specify which traffic goes trough which connection (in that case you will have to while list which ports go trough WiFi, since BitTorrent uses a lot of different ports and is difficult to filter). If you are interested in this option, tell me, since I am too lazy to write it up now and the previous way is a bit easier.

If you need diagrams let me know.


UPDATE: when I wrote this post I did not see bork's reply. Anyway, setting a default gateway to WiFi should work, but do not forget to have Ethernet's gateway too (but with higher metric) since otherwise uT won't be able to make connections. But thi is basically the same as my first option and needs static IP for Ethernet.

tomoya-kun:
I see.  I think I got it working, but some programs (steam) try to use ethernet even if my torrents are using that whole connection 

Xiong Chiamiov:
It'd be a lot easier to have two separate machines.  Or, even better, have some sort of load-balancing solution that directs traffic over whichever line it thinks will work better.  I don't really know anything about this, though.

Navigation

[0] Message Index

[#] Next page

Go to full version