Problem: My USB adapter eth1 (Startech USB31000S) is only allowing half the speed through it.
For example when eth0 is plugged into the modem and eth1 into the router my down speed is 40Mbps and up is 2.5Mbps. Then if I switch the cables eth0 is in the router and eth1 is in the modem down is now 20Mbps and up is 5Mbps.
Here is my /etc/network/interfaces
Code: Select all
$ more interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
# The loopback network interface
auto lo br0
iface lo inet loopback
# Set up interfaces manually, avoiding conflicts with, e.g., network manager
iface eth0 inet dhcp
iface eth1 inet dhcp
# Bridge setup
iface br0 inet dhcp
bridge_ports eth0 eth1
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.confCode: Select all
$ sudo mii-tool -v
negotiated 1000baseT-HD flow-control, link ok
product info: vendor 00:01:f0, model 12 rev 3
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
eth1: negotiated 1000baseT-FD flow-control, link ok
product info: vendor 00:07:32, model 17 rev 5
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-controlCode: Select all
$ifconfig -a
br0 Link encap:Ethernet HWaddr 00:24:9b:1e:fd:04
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::224:9bff:fe1e:fd04/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1090 errors:0 dropped:0 overruns:0 frame:0
TX packets:329 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:177740 (173.5 KiB) TX bytes:37079 (36.2 KiB)
eth0 Link encap:Ethernet HWaddr b8:27:eb:a0:37:68
inet addr:169.254.189.171 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21508 errors:0 dropped:0 overruns:0 frame:0
TX packets:34730 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11545887 (11.0 MiB) TX bytes:39210718 (37.3 MiB)
eth1 Link encap:Ethernet HWaddr 00:24:9b:1e:fd:04
inet addr:169.254.8.223 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34601 errors:0 dropped:0 overruns:0 frame:0
TX packets:21476 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38426874 (36.6 MiB) TX bytes:12022508 (11.4 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:76 errors:0 dropped:0 overruns:0 frame:0
TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:9645 (9.4 KiB) TX bytes:9645 (9.4 KiB)