A friend of mine said that ip is supposed to be the successor of ifconfig and iwconfig — yet I found no Wikipedia article about it and have never seen anyone mention or recommend it online even though it's from the year 2002 according to its man page. That indicates that it's not much used.

The name ip is difficult to Google so I decided to ask here.

2 Answers 2


The ip command is part of the iproute2 collection of utilities.

According to the Linux Foundation the ifconfig command should be deprecated, but most distros still include them. iproute2 also contains the tc (traffic control) command. See usage information by using the $ man ip command.

There was a discussion about this on serverfault last year.

  • ifconfig, not ipconfig.
    – joschi
    Sep 26, 2010 at 8:16
  • @joschi Thanks for catching that. I edited it.
    – Chris_O
    Sep 26, 2010 at 18:55

IP is a newer subset of commands that is meant to take the place of ifconfig, some examples:

ip link show    List network interfaces
ip link set dev eth0 name wan   Rename interface eth0 to wan
ip link set dev eth0 up Bring interface eth0 up (or down)
ip addr show    List addresses for interfaces
ip addr add brd + dev eth0   Add (or del) ip and mask (
ip route show   List routing table
ip route add default via  Set default gateway to

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.