I have 2 nics
eth0 is 192.168.1.100 connected to modem0
eth1 is 192.168.254.2 connected to modem1
Azureus, the java bittorent client, has a feature that allows a user to bind azureus traffic to a specific ethernet device.
in azureus I have it set to bind to eth1(i use tcp 6666 and udp 6667 in azureus)...
netstat -an | grep 666:
Code:
netstat -an | grep 6667
tcp 0 0 192.168.1.100:45678 208.100.23.31:6667 ESTABLISHED
tcp 0 32 192.168.1.100:33468 70.85.129.210:6667 ESTABLISHED
tcp 0 0 192.168.1.100:48351 85.17.111.117:6667 ESTABLISHED
tcp 0 0 192.168.1.100:49091 212.178.133.174:6667 ESTABLISHED
udp 0 0 192.168.254.2:6667 0.0.0.0:*
notice the bottom one where 0.0.0.0 is, that it is indeed bound to eth1, so why is there bittorrent traffic on eth0/1.100?
route produces:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.254.0 * 255.255.255.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
default 192.168.254.254 0.0.0.0 UG 1 0 0 eth1
--thanks in advance