-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/29/2014 10:29 PM, joerg jungermann wrote: > Hi, > >> TL;DR How to set 'speed' and 'duplex' of virtual network >> devices? > TL:DR you cannot > > Ethtool displays parameters of real Ethernet links. If it displays > somthing on tun or tap devices it's *strange*, as the speed is > limited to the speed the openvpn instances on the devices > terminating the tunnels are able to archieve.
Hi again, /* The speed and duplex value is 'hard coded' in ethtool and mii-tool. Windows machines behave similar. */ It might be related to OpenVPN. I'm using a point-to-point connection for booth tunnels, but I was unable to find any information on that, which might be in connection to the OpenVPN configuration. I tested some options like fragmentation and mtu size, and got closer to the 20 Mb/s of the bonding device, but I find it hardly strange that the tunnel only get 10 Mb/s throughput at maximum. The load of the router and gateway is fine. Do you know anything about max throughput on point to point tunnels? Good night, and thanks anyway, Bernd > > best regards > >> >> Hi @ all, >> >> I just found out that `ethtool tun0` per default will print that >> the device speed of an virtual (tunnel) device is 10Mb/s, and >> that ethtool can only change settings of "pysical" links, just >> like `mii-tool` can do. >> >> So my questions are: * Is the transmission rate /limited/ by this >> value? (Cause it seams so...) * Is there any way it can be set? >> >> In my case I have two (OpenVPN) tunnel devices (udp), which are >> bonded together with 'bonding round robin mode' (mode 0). tun0 >> and tun1 have 10Mb/s speed and bond0 has 20Mb/s and that are the >> actual transmission rates I can get, when transferring data. >> >> But I'm connected via a Gigabit-Switch on an 100Mb/s uplink (also >> the bonding gateway is connected with 100Mb/s), so I want to use >> the full uplink speed. If I am connected directly to the uplink >> router (with my computer) I get ~ 10MB/s, so everything seams >> fine. >> >> Is there any way to change that 10Mb/s tunnel device behavior? >> >> Thanks for advice and references, Bernd >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJUUYWWAAoJEEYW3OihUKBP2xAP/j0NsqGA4aR1y9e0s/JKWp+H GxCYzHjhn3k21YWI8nuARp3o2neowxZ6X3Z2ouSEudR7R9W1CguleYXJndlVll+n 3LjWOv7AbRo/NSJdYng92STSZaKQPcTUrJKH1WhRXWMYYmygGMVc/KysvW5Bw9ke /HMZxsLBcnKCTdTSbT01uv4AqiG8Pc5CPwLKli2BxlHM/apJAERz3NZON12+1Tjq UfMOg7fQJimmQsd7UnVIt8YVPUopgNojgx9wHrQbdKrBfpRp+Ng6rmaeukwVmHbJ chys6fnPnb1RGQAsq07KVtmLCIM2vzh9MzQBM79/n9A2MCQVMGOPKQx63e8X4vGx W3SvcIrnsiWxY/aZvmKIli3ddhmdEZUQ/OXhAAPQmdBJzFaruCLwiz78IM1tA4UW Nmzksn6RBBW+5sCvmVty78Lto49MTFm6Tog8ssoqJuLaon4n0eXH7Pn8VJ+vsvPl A7AaMAHKeeCk0v606Xu/XFA9/x1VsjDCva/mAzwPOX6W+eG2Uq7uCv7G4ghyObMx SgcLAlPBbnIr9n8NS1vgT83JECQ3d7WsspDwFRzTcaBccBzxKigGC8R+odhMpp7T 37mHeo8b6Xjf1ey4/H1RWKXnKtxmpqpHolwGI7p2p//ZrQizhT7RKRVi3hIM/Y28 9yK+EGNPsAopbxjChO2m =btIH -----END PGP SIGNATURE----- _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
