ip -br a # brief list of interfaces and addresses
ip a show eth0
ip route # routing table
ip route get 8.8.8.8 # which route/interface would be used
ip link set eth0 up
sudo ip addr add 192.168.1.50/24 dev eth0 # temporary (lost at reboot)
sudo ip route add 10.0.0.0/8 via 192.168.1.1
ip neigh # ARP/neighbour table
ip -s link show eth0 # packet and error counters
Changes made with ip do not survive a reboot; make permanent changes in Netplan, NetworkManager or systemd-networkd. The older ifconfig, route and netstat come from the deprecated net-tools package.