Author

Tags

Share article

A lot of Linux distributions are shifting to iproute2 instead of net-tools (aka ifconfig, arp, route). The main reason being net-tools package hasn’t been updated in a decade. However having used the trusted ifconfig, route and arp for so many years, I have never bothered to use ip and hence I now need to Google every time I want to see what my IP address is!

So here’s a short iproute2 primer for net-tools users (like myself).
Find IP addresses of all active interfaces, equivalent of ifconfig

ip addr show up

Alternatively, if you want to see all the interfaces irrespective of their status, equivalent of ifconfig -a