View All Network Setting. The “ifconfig” command with no arguments will display all the active. The ipconfig (short for IP Configuration) is a basic, yet popular, Windows network command-line utility used to display the TCP/IP network configuration of a computer.If you are familiar with Linux, this tool is similiar to ifconfig.This tool is often used for troubleshooting network connectivity issues.
How to get your local IP address with Ipconfig equivalent for Mac OS X
Ipconfig Mac – Just like you you can open command prompt in Windows and hit “ipconfig” to get your local LAN/WLAN IP address, you have the same option on a Mac in OS X with the command “ifconfig”.
Simply open up the terminal, eg. by pressing cmd+space and typing “terminal”.
Then type “ifconfig” and hit enter.
Then type “ifconfig” and hit enter.
How to get your local IP address from System Preferences
Another option to get your local IP address on a Mac is to click the Apple logo in the taskbar, then click “System Preferences”, type “Network” and hit enter. This will open up a graphical view, which shows you your local IP address as illustrated:
![Ipconfig Ipconfig](/uploads/1/2/6/4/126469802/476047508.png)
We can find mac address (physical address) of a computer using the command ‘getmac‘. This can be used to get mac address for remote computers also. Below are few examples on how to use this command. It works on XP, Vista, Windows 7, Server 2003 and Server 2008 operating systems.
Get mac addresses from CMD
Just run the command getmac to get the mac addresses. Find an example below.
This command does not show mac addresses for the network connections which are disabled. You can run ncpa.cpl and check which NICs are disabled. Further, I have received comments that this command does not help identify the mac address for a specific device. For example, if I need to get the mac address for my WiFi card, output of getmac command is not helpful. We can use ipconfig command to deal with this.
Get mac address of a remote computer
Mac Command For Ipconfig
We can retrieve the mac addressses for a remote computer using nbtstat command.
Example:
Example:
Alternatively, We can run the below command to retrieve the mac addresses of a remote computer.
remote_computer : Full name of the remote computer or IP address
username and password are of the account on the remote computer.
username and password are of the account on the remote computer.
Example:
![Mac Commands For Ipconfig Mac Commands For Ipconfig](/uploads/1/2/6/4/126469802/373820970.jpg)
If you do not want to specify the password, you can skip /p parameter. You will be prompted to enter the password and the command execution will take place after that.
Apple Ipconfig
Errors:
Using getmac command we can retrieve the mac addresses of the machines running windows OS only. If you try this for a Linux machine you would get the error “The RPC server is unavailable.”
Ipconfig Commands Cheat Sheet
If you provide incorrect password, the command would fail with the error message “Logon failure: unknown user name or bad password.”
Also Read:
Windows CMD commands reference
Windows CMD commands reference