Run command in netns iproute2
Create an isolated network namespace and run commands inside it
ip netns add test && ip netns exec test ip -br a
more iproute2
all 12 commands →
Inject latency and loss
tc qdisc add dev <name> root netem delay 100ms loss 1% && tc -s qdisc show dev <name>
Remove netem qdisc
tc qdisc del dev <name> root
Watch route/link events
ip monitor all
Bridge FDB and ports
bridge fdb show br <name>; bridge link show
Per-socket TCP internals
ss -tip state established '( dport = :443 )'