Network Flashcards
lists all available network interfaces on your system
ip link show
view device and address info of device ens3
ip addr show ens3
show statistics about a specific network dev performance
ip -s link show ens3
tests connectivity to a machine
ping -c3 192.0.2.254
ping6 2001:db8:0:1::1
find other IPv6 nodes on the local network
ping6 ff02::1%ens4
show routing information
ip route
ip -6 route
trace the network traffic path to reach a remote host
tracepath access.redhat.com
mtr access.redhat.com
display socket statistics.
ss -ta
ss -plunt
Locate the network interface name that is associated with the 52:54:00:00:fa:0a Ethernet address
ip link
Display the current IP address and netmask for all interfaces
ip -br addr
Display the statistics for the enX interface.
ip -s link show enX
Display the listening TCP sockets on the local system
ss -lt
displays the status of all network devices
nmcli dev status
displays a list of all connections.
nmcli con show
displays a list of all active connections.
nmcli con show --active
adds an eno2 connection of the ethernet type for the eno2 network interface
nmcli con add con-name eno2 type ethernet ifname eno2