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
Did you get any reply to this...? if so i am interested also... firstname.lastname@example.org remove .nospam. to email me back.
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
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.
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.
Try typing "ipconfig /all" from the command prompt. The NIC address is the Physical address without the dashes.
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 :
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. . . . . . . . . . . . : 172.16.13.109
Subnet Mask . . . . . . . . . . . : 255.255.248.0 "
thank you .
If you have a Linux/Unix box available, you could use tcpdump and a script like the one at
(MAC address sniffer utility. Bettelli Stefano <email@example.com>, 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 : firstname.lastname@example.org
text msg: email@example.com
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....
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
Use this to get your mac address in to a variable.
qecho cr lf | net diag /status >%temp%\mac.txt
type %temp%\mac.txt | nset /l7 mac=$4
> try nbmac.zip http://www.kostis.net/freeware/index.htm <
This really seems to work, I am going to give it a good test now to make sure, thanks for the tip.
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
Try poking around here and crynwyr.com.
Or Google packet driver
I used packet drivers with DOS and I seem to recall a utility to do that. With source code.
I use the ping command and the arp table
int he table you will find the IP address and the physical address of the
> I use the ping command and the arp table
> ping xxx.xxx.xxx.xxx
> arp -a
> int he table you will find the IP address and the physical address of the NIC
ARP -A is fine, but am still looking for a way to get the mac offline (w/o internet connection), is that ever possible?
> ARP -A is fine, but am still looking for a way to get the mac
> offline (w/o internet connection), is that ever possible?
Did you try the methods in the other posts? Such as:
or . . .
or . . .
If NetBIOS is enabled:
nbtstat -A xxx.xxx.xxx.xxx
(where xxx.xxx.xxx.xxx is the ip address of the local computer; "localhost" or 127.0.0.1 will not work)
or . . .
some NICs or other ethernet devices have the MAC address printed on a label.
If you post the model number of your NIC card here in the forum, or "Google" it, you may find an archive of the manuals, drivers, or one of us "old-timers" may have one in a back closet. If the computer really is running DOS in 2012 and you do not have the original NIC drivers, do you have the opportunity to recycle old PC's where you live?
It's been a while since I've worked with Packet Drivers, but I thought they didn't include any IP, IPX etc. layer.
So to answer the original question, we need to know what IP implementation is being used, Microsoft, etc?
For Microsoft you use "ipconfig". One source is in the file at http://nu2.nu/download.php?sFile=mstcp.cab. Look at http://nu2.nu/bootdisk/network/ for generaly setting up TCP/IP access from DOS and other sites.
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.