Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-15-2016, 10:57 AM   #1
Registered: Aug 2004
Location: pune
Distribution: Slackware
Posts: 350

Rep: Reputation: 60
Talking ip vs ifconfig


I would like to know some of the advantages that the "ip" command has over the traditional "ifconfig" command.

one advantage that I am aware of is that you could use - #ip route flush all
to clear the routing table of all entries.

Are there any other advantages too ?

Old 01-15-2016, 02:02 PM   #2
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
Are you trying to figure out which one to use? Or are you not sure how to use one or the other? Looking at the man pages for each will get you a long way toward understanding each one.

Of course trying them out is always the best way to learn.
Old 01-22-2016, 02:48 PM   #3
LQ Newbie
Registered: Dec 2015
Posts: 1

Rep: Reputation: Disabled
I personally like the feature
ip -s link
that tells you when a mac-adress last worked.

But it also shows you mutliple ip-adresses on one eth instead of having to call them different names like eth0:1 and eth0:2 etc...
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why "-bash: ifconfig : command not found" when typing "$ifconfig" dangdtvn Linux - Server 9 09-20-2013 06:01 AM
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
ifconfig help riffe Linux - Networking 2 07-31-2004 09:33 AM
Oh where or where has ifconfig gone thotFree Linux - Software 3 11-13-2003 12:27 AM
ifconfig phishintrip Linux - Newbie 19 07-10-2003 11:38 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration