Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 19, 2021 08:52 am GMT

ifconfig vs ipconfig vs iwconfig

This may seem useless to a lot of people, even I am thinking that way but still I got this confusion when I started learning a bit networking and started working in Linux terminal so maybe other also have this confusion and these are the basic commands especially for those who works with networking stuff. Its really very basic. So, what is the difference between ifconfig, iwconfig and ipconfig?

Ifconfig stands for interface configuration and its used to display the network configuration information, you come to know about your IP address for your Wi-Fi router, for your LAN cable, for any interface thats connecting you from the internet and this command provides options for viewing as well as changing your network settings. Well, I am not going to go very deep in it and show you the various options it offers like ifconfig a it shows you all the network interfaces while using just ifconfig only shows the current active network interfaces. So, I guess now you have a basic idea of what is ifconfig and what it shows you but theres a lot you can do after knowing this info, maybe you would like to change your MAC address, configuring IP address or any other thing you would like to do. Alt Text

Ipconfig stands for internet protocol configuration and actually is not much different than ifconfig. While ifconfig works only in Unix based OS, ipconfig works in even in windows and some new versions of Linux too. Ipconfig is a better option than ifconfig, its sort of upgraded version of ifconfig. Its new but it doesnt mean that its superior to the previous one. Things that you can do with ifconfig, can be done with ipconfig, they just have their own ways of doing things but the same thing can be done by both of these commands. However, there are some advantages of ipconfig over ifconfig for example unlike ifconfig, it also displays all currently connected network interfaces whether they are active or not. So, between ifconfig and ipconfig, ifconfig can meet all the basic requirement of our work but now or later, we may have to upgrade, as ipconfig have some more features and ifconfig have some drawbacks. Alt Text

Iwconfig is also similar to ifconfig, but it is only dedicated to wireless networking interfaces means not wired interface like a ethernet cable, LAN cable. It only shows wireless interface. You can change the parameters of that network interface, parameters related to Wi-Fi adapter like transmit power, changing bit rate, changing SSID name and other things are also possible.

To know more about any of these commands, you can give a try to their documentation online or you can just type man ifconfig and itll open the manual for this command or you can try using iwconfig help. Alt Text

I guess now you can understand whats the basic difference between ifconfig, ipconfig and iwconfig and how are they different. Currently, the most basic and widely used command among these is ifconfig.


Original Link: https://dev.to/deepu14d/ifconfig-vs-ipconfig-vs-iwconfig-3k9b

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To