November 18

Linux: Network Connection Speed information

1. ifconfig (to find ethernet card name)
p5p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast
        inet6 fe80::c15d:1159:3654:2fc6  prefixlen 64  scopeid 0x20<link>
        ether 00:0a:f7:a4:13:18  txqueuelen 1000  (Ethernet)
        RX packets 349930173  bytes 29236710276 (27.2 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1149185442  bytes 16287580311793 (15.7 TiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

2. dmesg | grep p5p1
[   14.659351] IPv6: ADDRCONF(NETDEV_UP): p5p1: link is not ready
[   14.697067] bnxt_en 0000:05:00.0 p5p1: NIC Link is Up, 10000 Mbps full duplex, Flow control: none
[   14.697072] bnxt_en 0000:05:00.0 p5p1: EEE is not active

3.ethtool p5p1
Settings for p5p1:
	Supported ports: [ TP ]
	Supported link modes:   1000baseT/Full 
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  1000baseT/Full 
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 10000Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 12
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
	Supports Wake-on: d
	Wake-on: d
	Current message level: 0x00000000 (0)
	Link detected: yes

Copyright 2021. All rights reserved.

Posted November 18, 2021 by Timothy Conrad in category "Linux

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B