Show Menu
Cheatography

ip linux Cheat Sheet (DRAFT) by

network config linux (light)

This is a draft cheat sheet. It is a work in progress and is not finished yet.

ip

ip -c a
show ip with colors
ip addr add [ip] dev [iface]
add ip
ip addr show
show
ip addr del [ip]/[­mask] dev [iface]
del ip
ip addr flush dev [iface]
reset
 

route

ip route show
show
ip route add [subne­t]/­[mask] via [gateway] dev eth0
add
ip route del [subne­t]/­[mask]
dell