Show routing table

All routing rules including policy routes

ip route show table all

tool
linux133 commands
tags
linuxnetwork

More linux commands

  • ip route add 10.0.0.0/8 via 192.168.1.1 dev eth0

    Add a persistent-until-reboot static route

  • ip neigh show

    Neighbour (ARP/NDP) cache with reachability state

  • ip -s link show eth0

    TX/RX bytes, errors, drops for an interface

  • dig +short A example.com @8.8.8.8

    Query A records via a specific DNS server

  • dig +short -x 8.8.8.8

    PTR record for an IP address

all 133 linux commands