GetMAC provides a quick method for obtaining the MAC (Ethernet) layer address and binding order for a computer running Windows 2000, locally or across a network. This can be useful when you want to enter the address into a sniffer, or if you need to know what protocols are currently in use on a computer.
File Required
Getmac.exe Topics
getmac [\\computername] [computername.domain.com]
Where:
When you type:
C:\>getmac \\host
you get the following information returned:
Information for machine \\host
Transport Address Transport Name
----------------- --------------
00-00-1B-16-78-76 \Device\NetBT_NE32007
00-00-1B-16-78-76 \Device\NwlnkNb
00-00-00-00-00-00 \Device\NetBT_NdisWan5
52-41-53-48-00-01 \Device\Nbf_NdisWan4
52-41-53-48-00-04 \Device\Nbf_NdisWan8
00-00-1B-16-78-76 \Device\Nbf_NE32007
In this example 00-00-1b-16-78-76 is the address of an NE3200 Ethernet card, and 00-00-00-00-00-00, 52-41-53-48-00-01, and 52-41-53-48-00-04 are RAS addresses.
When attempting a connection to a remote computer over the network, the workstation service will use the following order:
NetBT (TCP/IP) over the NE3200
NwlinkNb (IPX) over the NE3200
NetBT over one of the RAS links
Nbf (NetBIOS) over two other remote access server links
Nbf over the NE3200
To change the order in which Windows 2000 attempts connections for the workstation service