Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-09-2017, 07:49 PM   #1
LQ Newbie
Registered: Aug 2017
Posts: 1

Rep: Reputation: Disabled
How to get correct link speed for bridge device? Most list unknown/Invalid links speed.

I am using Ubuntu 16.04, and have setup a bridged network for KVM with the following configuration in /etc/network/interfaces:

auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto samba
iface samba inet dhcp
bridge_ports eno1
bridge_stp off
bridge_fd 0
bridge_maxwait 0

#cat /sys/class/net/eno1/speed
#cat /sys/class/net/samba/speed
Invalid argument

#ethtool samba
Settings for samba:
Link detected: yes


So in most cases I get no link speed data at all. However when using tools such as FusionInventory, the bridge and all other virtual servers are listed with a link speed of 10Mbit/s. I am kind of guessing this is just a fallback value, as my Debian Stretch guest system list the following data for ens3:

ethtool ens3
Settings for ens3:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: Unknown!
Duplex: Unknown! (255)
Port: Other
Transceiver: internal
Auto-negotiation: off
Link detected: yes
Old 08-11-2017, 10:53 AM   #2
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Most network adapters will negotiate one of: 10/100/1000 Mb/s. Usually syslog will tell you what the connection speed is.
Old 08-11-2017, 10:56 AM   #3
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,733

Rep: Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223
One of the ways to speed test road vehicles is to do a flying kilometre - measure it over a distance.

Why not set up the computer equivalent? Get your fastest source and download 1G from it. As long as you're not bridging multiple gigabit nics there shouldn't be a problem if you can feed it with a gigabit nic.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID10 write speed decreased to normal SSD speed after rebuilding the array. mke2k Linux - Server 2 07-11-2014 05:15 AM
[SOLVED] RAM speed unknown a.abdulna Linux - Newbie 3 08-06-2013 04:38 AM
dmiencode shows Speed: Unknown. How do I know what memory is in my server? Ujjain Linux - Newbie 1 05-01-2009 11:48 AM
Fedora doesnt recognize correct cpu speed gomartin Fedora 5 08-17-2004 05:03 PM
How to setting the correct value in BIOS about CPU speed? explorer1979 General 1 09-09-2001 06:35 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration