LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-09-2017, 06:49 PM   #1
kandresen
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
100
#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
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Link detected: yes
 
Old 08-11-2017, 09:53 AM   #2
AwesomeMachine
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, 09:56 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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.
 
  


Reply



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 04:15 AM
[SOLVED] RAM speed unknown a.abdulna Linux - Newbie 3 08-06-2013 03:38 AM
dmiencode shows Speed: Unknown. How do I know what memory is in my server? Ujjain Linux - Newbie 1 05-01-2009 10:48 AM
Fedora doesnt recognize correct cpu speed gomartin Fedora 5 08-17-2004 04:03 PM
How to setting the correct value in BIOS about CPU speed? explorer1979 General 1 09-09-2001 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:45 PM.

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