Watch route/link events

Live stream of route/link/addr/neigh changes; great for flapping debug

ip monitor all

tool
iproute212 commands
tags
iproute2monitoringnetworkdebug

More iproute2 commands

  • bridge fdb show br <name>; bridge link show

    Inspect L2 forwarding DB (MAC->port) and bridge port states

  • ss -tip state established '( dport = :443 )'

    Show rtt/cwnd/retrans per socket for 443; pinpoint slow/lossy peers

  • ss -K dst <ip> dport = :8080

    Forcibly close matching sockets (kernel>=4.9); needs CONFIG_INET_DIAG_DESTROY

  • ip addr add 10.0.0.5/24 dev <name> && ip addr show dev <name>

    Assign a secondary IP/prefix live; note: not persisted across reboot

  • ip link set dev <name> mtu 9000 && ip link set dev <name> up

    Set jumbo MTU and bring link up; note: path MTU must match end-to-end

all 12 iproute2 commands