Menginstall package
Pada system operasi Centos \ Redhat
sudo yum install ethtool
[root@labs ~]# sudo yum install ethtool Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile epel/x86_64/metalink | 5.1 kB 00:00:00 * epel: d2lzkl7pfhq30w.cloudfront.net base | 3.6 kB 00:00:00 extras | 2.9 kB 00:00:00 updates | 2.9 kB 00:00:00 zimbra | 3.0 kB 00:00:00 zimbra-8815-oss | 3.0 kB 00:00:00 Package 2:ethtool-4.8-10.el7.x86_64 already installed and latest version Nothing to do [root@mail ~]#
Pada system operasi Ubuntu
sudo apt install ethtool
Check nama interface yang akan di check
[root@mail ~]# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:e0:4c:b7:2d:35 brd ff:ff:ff:ff:ff:ff inet 192.168.10.100/24 brd 192.168.10.255 scope global noprefixroute enp2s0 valid_lft forever preferred_lft forever inet6 fe80::3dd8:e347:ca91:cb87/64 scope link noprefixroute valid_lft forever preferred_lft forever [root@labs ~]#
[root@labs ~]# ethtool enp2s0 Settings for enp2s0: Supported ports: [ TP AUI BNC MII FIBRE ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: d Current message level: 0x00000033 (51) drv probe ifdown ifup Link detected: yes [root@labs ~]#