Thursday, November 29, 2007

Networks: Retrieving the MAC address

What command would you use to retrieve a computer's MAC address?
1. >>ping
2. tracert
3. ipconfig
4. netstat

Explanation : You should use the ipconfig command and run ipconfig /all to retrieve a computer's Media Access Control (MAC) address. The MAC address is the address that is hard-coded on the computer's network interface card (NIC).

You should not use the ping command to retrieve a computer's MAC address. The ping command is used to trace communication between two computers.

You should not use the tracert command to retrieve a computer's MAC address. The tracert command is used to test communication with another computer and return detailed routing information.

You should not use the netstat command to retrieve a computer's MAC address. The netstat command is used to view networking status information. For example, the netstat command can be used to identify which ports are open and are monitored ("listened to") by the computer. Ports are used to direct network traffic to the appropriate service or application. The most commonly used default ports are defined as well-known ports. Ports often found open on a Windows computer include port 80, which is the default for Hypertext Transfer Protocol (HTTP) traffic for Web-related traffic, and port 53, which is used for Domain Name Service (DNS) traffic.
Objective: Networks