cant bind applications to network adapters/interfaces

B

bulk88

I have a problem binding applications to particular interfaces/network
adaptors.

I have Win XP SP 2 Pro. I have 2 network adapters in my Machine, Wifi
(Intel 3495ABG) and Ethernet (Broadcom Netxtreme Gigabit). I am using
a bittorent application (utorrent specifically, but azureus exhibits
similar behaviour), and I am attempting for it to use the Ethernet for
all its communications, and all other applications to use the Wifi. I
am not trying to download anything in Bittorent, only upload,
behaviour for downloading is unknown. I changed "interface metrics" in
the properties of TCPIP for each adapter using Windows GUI and Network
Connections. I set the ethernet to 100, and the wifi to 1. I belive
that will make the wifi the "default" adaptor in the system. I
disabled Dead Gateway Detection through registry, it didnt do
anything. I force the bittorrent application to only use the
ethernet's IP through its own options.

When wifi adaptor is on, Firefox (and presumably any other application
that isnt the BT one), goes through the Wifi, verified by checking my
IP on a webpage. When wifi is off, Firefox goes through ethernet.


When the wifi adapter is disabled, I get full CONSTANT upload speed on
the ethernet in the BT app (BT app's settings are always set to use IP
of ethernet by me for all testing). When I turn on wifi, immediately
speed drops, and goes to zero for 1 to 2 mins , then comes back for 30
seconds at full speed, then drops again to zero for 1 to 2 mins , and
keeps doing this over and over.

Using 2 copies of Wireshark/Ethereal, I noticed that when my upload
goes to zero in the application, ethernet IP stops sending out any
data on ethernet adapter, I get a ton of retransmission requests from
the other IPs on ethernet adapter, no reply is ever given to them.
When I look at my wifi side, I see a couple (2-3) packets go OUT WITH
ETHERNET IP destined for the IPs I saw on ethernet adapter sniffer, no
more than 2-3 of these "ethenet IP as source going out over wifi
adapter" packets I see. Then there is a long wait (1-2 mins) until
the bittorent application starts uploading again over the ethernet
adapter.

When BT program starts uploading, I see a ARP request to get my
default gateway's MAC. Then the BT program makes new connections
(SYNs) to all the other IPs.

The ethernet IP is a 10.0.8.*, wifi is 192.168.1.*. Plus external IPs
are different for wifi and ethernet and different ISPs. What on earth
is going on? I am pretty sure this problem is related to windows, not
the specific applications.
 
B

bulk88

I have a problem binding applications to particular interfaces/network
adaptors.

I have Win XP SP 2 Pro. I have 2 network adapters in my Machine, Wifi
(Intel 3495ABG) and Ethernet (Broadcom Netxtreme Gigabit). I am using
a bittorent application (utorrent specifically, but azureus exhibits
similar behaviour), and I am attempting for it to use the Ethernet for
all its communications, and all other applications to use the Wifi. I
am not trying to download anything in Bittorent, only upload,
behaviour for downloading is unknown. I changed "interface metrics" in
the properties of TCPIP for each adapter using Windows GUI and Network
Connections. I set the ethernet to 100, and the wifi to 1. I belive
that will make the wifi the "default" adaptor in the system. I
disabled Dead Gateway Detection through registry, it didnt do
anything. I force the bittorrent application to only use the
ethernet's IP through its own options.

When wifi adaptor is on, Firefox (and presumably any other application
that isnt the BT one), goes through the Wifi, verified by checking my
IP on a webpage. When wifi is off, Firefox goes through ethernet.

When the wifi adapter is disabled, I get full CONSTANT upload speed on
the ethernet in the BT app (BT app's settings are always set to use IP
of ethernet by me for all testing). When I turn on wifi, immediately
speed drops, and goes to zero for 1 to 2 mins , then comes back for 30
seconds at full speed, then drops again to zero for 1 to 2 mins , and
keeps doing this over and over.

Using 2 copies of Wireshark/Ethereal, I noticed that when my upload
goes to zero in the application, ethernet IP stops sending out any
data on ethernet adapter, I get a ton of retransmission requests from
the other IPs on ethernet adapter, no reply is ever given to them.
When I look at my wifi side, I see a couple (2-3) packets go OUT WITH
ETHERNET IP destined for the IPs I saw on ethernet adapter sniffer, no
more than 2-3 of these "ethenet IP as source going out over wifi
adapter" packets I see. Then there is a long wait (1-2 mins) until
the bittorent application starts uploading again over the ethernet
adapter.

When BT program starts uploading, I see a ARP request to get my
default gateway's MAC. Then the BT program makes new connections
(SYNs) to all the other IPs.

The ethernet IP is a 10.0.8.*, wifi is 192.168.1.*. Plus external IPs
are different for wifi and ethernet and different ISPs. What on earth
is going on? I am pretty sure this problem is related to windows, not
the specific applications.

Disabling Utorrent's interface binding, and instead loading it with
this http://www.r1ch.net/stuff/forcebindip/ produced the same results.
Maybe the below is useful to someone. 10.0.8.7 is the ethernet I want
Utorrent to use. 192.168.1.127 is the wifi i want everything else to
use.

C:\Documents and Settings\Owner>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 e5 d0 9b 9a 86 ...... Broadcom NetXtreme 57xx Gigabit
Controller - Pa
ket Scheduler Miniport
0x3 ...00 ae e1 32 28 b4 ...... Intel(R) PRO/Wireless 3945ABG Network
Connectio
- Packet Scheduler Miniport
0x20005 ...00 16 41 92 7c 40 ...... Bluetooth Personal Area Network
from TOSHIB
- Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 10.0.8.1
10.0.8.7 100
0.0.0.0 0.0.0.0 192.168.1.1
192.168.1.127 1
10.0.8.0 255.255.255.0 10.0.8.7
10.0.8.7 100
10.0.8.7 255.255.255.255 127.0.0.1
127.0.0.1 100
10.255.255.255 255.255.255.255 10.0.8.7
10.0.8.7 100
127.0.0.0 255.0.0.0 127.0.0.1
127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.127
192.168.1.127 1
192.168.1.127 255.255.255.255 127.0.0.1
127.0.0.1 1
192.168.1.255 255.255.255.255 192.168.1.127
192.168.1.127 1
224.0.0.0 240.0.0.0 10.0.8.7
10.0.8.7 100
224.0.0.0 240.0.0.0 192.168.1.127
192.168.1.127 1
255.255.255.255 255.255.255.255 10.0.8.7
10.0.8.7 1
255.255.255.255 255.255.255.255 192.168.1.127
192.168.1.127 1
255.255.255.255 255.255.255.255 192.168.1.127
20005 1
Default Gateway: 192.168.1.1
===========================================================================
Persistent Routes:
None

C:\Documents and Settings\Owner>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top