【计算机网络】MAC地址简介

MAC(M edium A ccess C ontrol),即媒介访问控制,是计算机网络通信中的重要概念。每个NIC(N etwork I nterface C ard),即网络适配器,都具有独自且不变的MAC地址(烧录的),即物理地址(而IP地址则会因接入新网络,重新分配而改变)。

教科书中对MAC地址的描述:

MAC (or LAN or physical or Ethernet) address:

  • function: used 'locally' to get frame from one interface to another physically-connected interface (same network, in IP-addressing sense).
  • 48 bit MAC address (for most LANs) burned in NIC ROM, also sometimes software settable.
  • e.g.: 1A-2F-BB-76-09-AD(12个16进制位,共12 * 4 = 48bit)

Windows系统中,通过命令ipconfig /all查看本机网卡的MAC地址,位于物理地址 一项(仅通过ipconfig命令不会显示MAC地址):

Linux系统中,使用简单的ifconfig命令(在net-tools软件包中)即可查看网卡的MAC地址,位于ether(ethernet)一项:

相关推荐
王哲晓29 分钟前
Linux通过yum安装Docker
java·linux·docker
gopher951143 分钟前
linux驱动开发-中断子系统
linux·运维·驱动开发
码哝小鱼1 小时前
firewalld封禁IP或IP段
linux·网络
鼠鼠龙年发大财1 小时前
【x**3专享】安装SSH、XFTP、XShell、ARM Linux
linux·arm开发·ssh
nfgo1 小时前
快速体验Linux发行版:DistroSea详解与操作指南
linux·ubuntu·centos
Rookie_explorers2 小时前
Linux下go环境安装、环境配置并执行第一个go程序
linux·运维·golang
weixin_424215842 小时前
shell运算实战案例-KFC点餐系统
linux·centos
小黑爱编程3 小时前
【LInux】HTTPS是如何实现安全传输的
linux·安全·https
BeyondESH3 小时前
Linux线程同步—竞态条件和互斥锁(C语言)
linux·服务器·c++
鱼饼6号3 小时前
Prometheus 上手指南
linux·运维·centos·prometheus