Comments on: ifconfig vs ip: What’s Difference and Comparing Network Configuration https://www.tecmint.com/ifconfig-vs-ip-command-comparing-network-configuration/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 12:12:59 +0000 hourly 1 By: Nerd https://www.tecmint.com/ifconfig-vs-ip-command-comparing-network-configuration/comment-page-1/#comment-1647024 Fri, 12 Nov 2021 09:01:31 +0000 http://www.tecmint.com/?p=19050#comment-1647024 Command "ip a" provides netmask information in a bitcount format after the ip address.

]]>
By: dragonmouth https://www.tecmint.com/ifconfig-vs-ip-command-comparing-network-configuration/comment-page-1/#comment-1313628 Sun, 26 Jan 2020 18:04:42 +0000 http://www.tecmint.com/?p=19050#comment-1313628 In reply to Sebastian.

The trend in Linux lately has been to move from simple, do one thing well apps to complex, do as much as possible apps. Just take a look at GRUB v. GRUB2

]]>
By: Den https://www.tecmint.com/ifconfig-vs-ip-command-comparing-network-configuration/comment-page-1/#comment-1307944 Mon, 23 Dec 2019 02:31:33 +0000 http://www.tecmint.com/?p=19050#comment-1307944 In reply to fatboy92.

Great point. Many other commands (at least in Gnome) use the get/set pair of commands.

]]>
By: Sebastian https://www.tecmint.com/ifconfig-vs-ip-command-comparing-network-configuration/comment-page-1/#comment-1281224 Sat, 02 Nov 2019 05:28:06 +0000 http://www.tecmint.com/?p=19050#comment-1281224 I just updated Ubuntu from 16.04 to 18.04, and I found out that ifconfig is gone, and replaced by ip. Thank you for the article!! However, I think ifconfig was (is) better because the syntax was simpler.

As your examples show, there are many more words necessary to achieve the same command with “ip“. More words = more possibilities for messing up, more syntax to remember. Maybe someone could write a wrapper that takes ifconfig syntax and transparently translates it to “ip” syntax … ??

]]>
By: manju https://www.tecmint.com/ifconfig-vs-ip-command-comparing-network-configuration/comment-page-1/#comment-1190048 Tue, 02 Jul 2019 08:22:13 +0000 http://www.tecmint.com/?p=19050#comment-1190048 How to collect the netmask information. ifconfig gives us 255.255.255.0, but IP command not providing any data. How to retrieve it?

]]>