2024年2月26日发(作者:)

什么命令可以查看网卡的MAC地址

如何查看MAC地址

Mac地址又称为物理地址(Physical Address)。不同的操作系统下,查看的命令稍有不同。在Windows操作系统下,首先进入MS-DOS(或命令操作符)状态,然后输入查看MAC地址命令,即可获得适配器地址 (即MAC地址)。

如何进入MS-DOS:

《开始菜单》——《运行》中执行下面的命令

win98: command

win2000/xp/NT:cmd

如何查看MAC地址:

在MS-DOS状态下,输入下表的命令

操作系统

命令

Windows2000

ipconfig /all

WindowsXP

ipconfig /all

WindowsNT

ipconfig /all

Windows98

ipconfig /all或者winipcfg

WindowsME

ipconfig /all或者winipcfg

Linux

/sbin/ifconfig -a

如何查看MAC地址:

在MS-DOS状态下,输入下表的命令

操作系统

命令

Windows2000 ipconfig /all

WindowsXP ipconfig /all

WindowsNT ipconfig /all

Windows98 ipconfig /all

或者 winipcfg

WindowsME ipconfig /all

或者 winipcfg

Linux /sbin/ifconfig -a

下面是在window2000下查看MAC地址的例子。

C:>ipconfig /all

Windows 2000 IP Configuration

Ethernet adapter

本地连接:

Connection-specific DNS Suffix . :

Deion : Intel(R) PRO/100 VE Network Connection

Physical Address. . . . . . . . . : 05-16-DC-59-C2-34

DHCP Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 202.194.145.33

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 202.194.145.254

DNS Servers . . . . . . . . . . . : 202.194.145.1