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. 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 > > - -- > Bernd Naumann <[email protected]> > > PGP: 0xA150A04F via pool.sks-keyservers.net > XMPP: [email protected] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > > iQIcBAEBAgAGBQJUUUOrAAoJEEYW3OihUKBP6EEQAIUAwFdtrMUMk1EXWze2mK2s > AcIrfQSQaRc09hq6h5u/lMdNJ5cDAP+uJpiz+dFqRe5mo1rWhFYrvaT7z7t8BcB8 > 59O3/1b0SIJz9EsNSNo7n4+nFTCLIjNZhzXAk/DEdmebr9vGalbGYpASTddKE0Og > 4T2yUUBF8ZfR9a2qV654zDJmD9GawRFBwcN3+rb4cILW2Ktq2eu1brTtxJjc8W68 > lSo1cu0DgxqzQfkGEZ3ZDKhPYrLTecMT2H4FdowtAIPyHNzLTSJGwUnrmmetR7ed > sqZOiSS0hdiPIwyy9KEckExrVmg3XNESIyUqDQxrQIMpYN11r5/AnpBtdMGkNl5n > Q07hQzcqNsks9aakklpBeKGnPN5beiND8lM94fPvG27peNtgiVZqojhW8UC6/5Aa > RlqbKP3Q6j8c7c0Y+AvrwYTaksq1Xcv30XniymcEBEEVbrts6wQ2mOW4iO6GF8Zl > ZBR2vPySl1n1xaqEZeoGZANcXhE9HU1OzG3tI7F1J28ecfwosQUbKUe8WtLRX88V > LbGVWNzv16Nq0IEJ3YD4c/fy1+hCrJEYDbh+7k5f0fhBxhTvvpFcZe8Yc07PSZ5Q > Aa7gUVp2tYNbJC+Ha/3LJbSBNGwW83opbsWZ5Z7YFrzWF2sf3W43cNhwJn2lhMBx > cGTJBN1Wf8e+WroyKA2w > =n+6R > -----END PGP SIGNATURE----- > _______________________________________________ > openwrt-users mailing list > [email protected] > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users > -- Joerg Jungermann _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
