'(CentOS 7 Networking Tools)
“Networking is an essential part of building wealth.” — Armstrong Williams
The networking toolchain is a bit different on every OS. I’ve been spending enough time on CentOS 7 lately that its specifics are worth recording.
I’ll assume you don’t care about OSs that deviate much from RH-derived. I’m also leaving out anything to do with IPv6.
Wireless networking is not something you do much on servers, so it (
mostly omitted, too.
ip command has replaced some of the trusty old guard. If you use Zsh, the
ip tab-completion is excellent for quickly using various subcommands.
nmcli d s
NetworkManager (need it for firewalld)
netstat -tulpn netstat -pn tcp netstat -ln4 netstat -naf inet
ss (socket stat)
traceroute is the old standard, the netadmins I’ve worked with tend
to ask for
iostat -xdm 5
/etc/sysconfig/network-scripts/ifcfg-e* /etc/services /etc/resolv.conf
pinging local Gb network: 0.15 ms
arp iptunnel iwconfig nameif netstat route ifconfig traceroute tcpdump
yum install net-tools (last release 2001 https://lists.debian.org/debian-devel/2009/03/msg00780.html)
incoming network drop
- layers (physical, datalink, network, transport, app)
- private addresses
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 https://en.wikipedia.org/wiki/Private_network
- arp/mac address
- vlan (multi-homing)
simple network management protocol
the only cable you probably want to use