Entry
Network: Address: MAC: View: How to find out your MAC address from the MSDOS command line?
Mar 25th, 2005 23:49
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 20 January 2004 - 10:45 pm --------------------
Network: Address: MAC: View: How to find out your MAC address from the
MSDOS command line?
Method: nbtstat command
---
Type the command
nbtstat -a <your IP address>
---
To found out your IP address,
type the following command:
ipconfig
on the command line.
---
---
A typical output of the nbtstat command is:
+-------------------------------------------------+
|nbtstat -a 192.168.0.1 |
| |
|VMware Network Adapter VMnet8: |
|Node IpAddress: [192.168.83.1] Scope Id: [] |
| |
| NetBIOS Remote Machine Name Table |
| |
| Name Type Status |
| ---------------------------------------------|
| DELLI8500 <00> UNIQUE Registered |
| MSHOME <00> GROUP Registered |
| DELLI8500 <03> UNIQUE Registered |
| DELLI8500 <20> UNIQUE Registered |
| ADMINISTRATOR <03> UNIQUE Registered |
| MSHOME <1E> GROUP Registered |
| MSHOME <1D> UNIQUE Registered |
| ..__MSBROWSE__.<01> GROUP Registered |
| |
| MAC Address = 00-0B-DB-17-2E-43 |
| |
| |
|Network Bridge (Network Bridge) 13: |
|Node IpAddress: [169.254.97.6] Scope Id: [] |
| |
| NetBIOS Remote Machine Name Table |
| |
| Name Type Status |
| ---------------------------------------------|
| DELLI8500 <00> UNIQUE Registered |
| MSHOME <00> GROUP Registered |
| DELLI8500 <03> UNIQUE Registered |
| DELLI8500 <20> UNIQUE Registered |
| ADMINISTRATOR <03> UNIQUE Registered |
| MSHOME <1E> GROUP Registered |
| MSHOME <1D> UNIQUE Registered |
| ..__MSBROWSE__.<01> GROUP Registered |
| |
| MAC Address = 00-0B-DB-17-2E-43 |
| |
| |
|Ethernet Broadcom 440x 10 100 built in: |
|Node IpAddress: [192.168.0.3] Scope Id: [] |
| |
| NetBIOS Remote Machine Name Table |
| |
| Name Type Status |
| ---------------------------------------------|
| DELLI8500 <00> UNIQUE Registered |
| MSHOME <00> GROUP Registered |
| DELLI8500 <03> UNIQUE Registered |
| DELLI8500 <20> UNIQUE Registered |
| ADMINISTRATOR <03> UNIQUE Registered |
| MSHOME <1E> GROUP Registered |
| MSHOME <1D> UNIQUE Registered |
| ..__MSBROWSE__.<01> GROUP Registered |
| |
| MAC Address = 00-0B-DB-17-2E-43 |
| |
| |
|Verizon cable: |
|Node IpAddress: [190.168.52.105] Scope Id: [] |
| |
+-------------------------------------------------+
---
To see more information, type
nbtstat
on the command line, here a typical screen after that:
+---------------------------------------------------------------------+
| Displays protocol statistics and current TCP/IP connections using |
| NBT (NetBIOS over TCP/IP). |
| |
| NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n] [-r] [-R] [-RR]|
| [-s] [-S] [interval] ] |
| |
| -a (adapter status) Lists the remote machine's name table given |
| its name |
| |
| -A (Adapter status) Lists the remote machine's name table given |
| its IP address. |
| |
| -c (cache) Lists NBT's cache of remote [machine] names |
| and their IP addresses |
| |
| -n (names) Lists local NetBIOS names. |
| |
| -r (resolved) Lists names resolved by broadcast |
| and via WINS |
| |
| -R (Reload) Purges and reloads the remote cache |
| name table |
| |
| -S (Sessions) Lists sessions table with the destination |
| IP addresses |
| |
| -s (sessions) Lists sessions table converting destination |
| IP addresses to computer NETBIOS names. |
| |
| -RR (ReleaseRefresh) Sends Name Release packets to WINS and |
| then, starts Refresh |
| |
| RemoteName Remote host machine name. |
| |
| IP address Dotted decimal representation of the IP address. |
| |
| interval Redisplays selected statistics, pausing interval |
| seconds between each display. |
| Press Ctrl+C to stop redisplaying statistics. |
+---------------------------------------------------------------------+
---
---
Method: ipconfig
You can get the MAC address also by typing the command
ipconfig /all
The entry 'Physical address' shows the MAC address for that
adaptor.
---
---
Internet: see also:
---
How to find your MAC address (Unix: Solaris/SunOS; Linux; FreeBSD;
IRIX; HP-UX. Windows: Windows 95; Windows NT; Windows 2000; Windows
XP. Macintosh)
http://www-dcn.fnal.gov/DCG-Docs/mac/
---
Network: Links: Overview: Can you give me an overview of links?
http://www.faqts.com/knowledge_base/view.phtml/aid/34809/fid/625
----------------------------------------------------------------------