Find MAC address of a NIC on DOS


Thread Starter


Hello: How could I find out the MAC address of NIC cards on a DOS machine. There is no driver installed on this DOS machine. I guess this question, described in other words, is that is there any standard way to read MAC address off of a NIC cards? I mean if I know the memory /I/O resources of the NIC, then can I read a certain memory or I/O location to get the card's MAC address? Your help is greatly appreciated, Regards, Kats

Hullsiek, William

I just did this for my MS-DOS systems. Each manufacturer has its down procedure.

Most manufacturers have a diagnotics diskette, that you can use to run loop back tests and to capture IRQ, DMA, i/o buffers. You can look at the MAC-address (and override).

- Bill Hullsiek

Curt Wuollet

Try Crnwyr packet driver on a search engine. IIRC there are utilities in the suite for this and other purposes. And they are free and I believe, open source.



D. C. Pittendrigh

HI All

Missed the original posting but if you are booting to dos from versions from Win95 type winipcfg at the DOS prompt, for 98 thru to 2000 type IPCONFIG /ALL at the DOS prompt. If you are working on a version of DOS prior to 95 I can't help you, your pain is self inflicted.

Donald Pittendrigh


If you have a Linux/Unix box available, you could use tcpdump and a script like the one at address sniffer utility. Bettelli Stefano <[email protected]>, 1999)
to detect any BOOTP or RARP requests put out by the NIC when the DOS machine is powered up. Just plug the DOS box and the Linux box into a hub (as
opposed to a switched network) and you should be able to capture the broadcast message.

Robert Antonishen, P.Eng.
Sr. Engineer - Commercial Systems
Ontario Power Generation Inc.
700 University Ave. Toronto, ON, Canada
voice : 416-592-1510
fax : 416-592-8766
cell : 416-707-7086
email : [email protected]
text msg: [email protected]

Walter Gonzalez

Try typing "ipconfig /all" from the command prompt. The NIC address is the Physical address without the dashes.

Walter Gonzalez
MicroMotion Controls

Per André Horpen


You can do this by simply typing arp -a at the DOS command prompt. You will then get all of the known IP adresses and according Physical adresses.

I know it's a little late to come with this now, but still....

Oliver Jaksch

Hi there!
I just got the same question... but I found a nice tool:
For 3COM-Adapters you can use CARDFIND to detect and identify your 3COM-Card. It displays everything needed: IRQ, IO, Slot, BootRom, Performance, Media and the NIC/MAC-Adress

You can get this tool at:

There is no need for a special tool. Try the DOS-Command net diag /status and you get the Permanent node name which is the MAC-Address


how do I find a computer or ip or other parameter a system than on mac address related to NIC in a lan or wan network .

example : mac address is " 00-10-5A-73-7F-81 " now,
what is IP ?
example : in win 2000 in 'command prompt' type "ipconfig"
this give under parameter :

C:\>ipconfig /all
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : project1
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com EtherLink XL 10/100 PCI TX
Physical Address. . . . . . . . . : 00-10-5A-73-7F-81
IP Address. . . . . . . . . . . . :
Subnet Mask . . . . . . . . . . . : "

thank you .

try creating a txt file with only a carriage return in it called t.txt.
net diag /status < t.txt > info.txt

this will save the mac address to info.txt

Donald Pittendrigh

Depending on your version of DOS:

You ping the card, and then use ARP to interrogate the translation table generated on your machine. ARP stands for address resolution protocol, if your version of DOS cannot do this, then get a laptop with 2000 on it and use that, should solve your problem.

I think the ARP syntax is ARP -a but I am not sure, try ARP /? It is how I do it and the help tells all, I am getting to old to remember these things, and too intolerant to look up all the answers for other people.

Donald Pittendrigh

Koblenz, Mykel MH

I use the ping command and the arp table


arp -a
int he table you will find the IP address and the physical address of the