mac地址(a mac address)和ip地址(an ip address)的区别

两者都有“地址”一词,都有数字标签,但这可能是它们之间唯一的相似之处。差异可能没有那么大,但这几个差异可能会更好地理解您的计算机系统是如何工作的。...

两者都有“地址”一词,都有数字标签,但这可能是它们之间唯一的相似之处。差异可能没有那么大,但这几个差异可能会更好地理解您的计算机系统是如何工作的。

定义

code on computer screen

皮克斯拜

mac地址

它被称为媒体访问控制地址,是分配给网络接口的唯一标识符,允许通过物理网段进行通信。这仅仅意味着它是硬件的标识符,在这种情况下,它可以被称为物理地址或硬件地址。它是绝对独特的,将由所述设备的制造商分配。它只是您设备的标签,可以通过您的局域网或任何可能使用您设备地址的网络轻松识别。

Mac地址遵循其形成规则,具有三个编号名称空间,如Mac 48、EUI-48和EUI-64。

  • MAC-48:格式分为六组,每组由两个十六进制数字组成,用连字符分隔。(01-02-03-04-ab-a1)
  • EUI-48:格式分为六组,每组由两个十六进制数字组成,但用冒号分隔。(01:02:03:04:ab:a1)
  • EUI-64:格式分为三组,每组由四个十六进制数字组成,用点分隔。(0102.0304.aba1)

虽然对普通用户来说,知道某个设备的MAC地址似乎不太重要,但实际上,知道谁和多少设备连接到您的网络非常方便。通过MAC地址,您可以通过简单的配置来限制连接。然而,请注意,MAC地址将显示在您的设置中,但不会特别说明它在附近或当前已连接。这只意味着具有所述MAC地址的设备在某个时间点与您的网络连接。通过Wi-Fi,这些设备可能意味着你的手机、平板电脑和其他通过网络连接的设备。

ip地址

它被称为Internet协议地址,是一个用数字标记的计算机网络标识符。它有两个主要功能,即网络接口识别和位置寻址。因此,基本上,它通过网络充当系统的标签,并负责通过网络接口将您与私有或公共网络连接。

两种类型的地址分配

  • 静态IP地址–它是管理员/ISP(Internet服务提供商)手动分配给计算机的IP地址。IP地址不变。
  • 动态IP地址–通常是通过DHCP(动态主机配置协议)在LAN和宽带网络上动态分配的IP地址。IP地址不断变化。

IP地址通常以(IPv4)172.16.254.2和(IPv6)2001:ab5:0:1234:0567:8:9等符号显示。这是因为IPv4由32位组成,限制了地址空间,而IPv6由128位组成。

比较图表

MAC地址IP地址
使用以太网的设备的数字表示(设备和路由器之间的物理连接)使用TCP/IP(设备与internet之间的逻辑连接)的设备的数字表示
由设备制造商分配由用户/管理员、DHCP或ISP分配
可变的不可更改(静态IP地址)和可更改(动态IP地址)
唯一(除非用户更改为镜像其他设备的MAC地址)唯一(错误配置有时会导致重复的IP地址)

mac地址(mac address) vs. ip地址(ip address)

MAC地址和IP地址有什么区别?两者都可能意味着对设备进行标记,但它们的用途截然不同。

虽然某些设备的MAC地址是通过以太网(LAN或MAN的计算机网络)连接的,但某些设备的IP地址是通过TCP/IP(LAN和Internet)连接的。为了进一步解释,让我们假设您的MAC地址是您的物理邮箱,您的IP地址是邮政地址,互联网是您的邮局,路由器是您的邮政运营商。现在你的邮局会知道你的邮政地址,并能给你寄一封邮件。然后,您将能够通过邮政承运人接收该邮件。由于您的邮箱和邮寄地址都位于邮件的接收端,我们可以说,邮政承运人知道您的地址和邮箱,但是,除了您的邮寄地址之外,您的邮局不知道。

你可能感兴趣的文章

ip地址(ip)和mac地址(mac address)的区别

IP与MAC地址 什么是IP地址? 在使用因特网协议在网络的计算机或打印机等实体之间进行通信的网络中,分配给每个实体的逻辑数字标签或地址称为IP地址(Internet协议地址)。IP地址的作用是在接口层分别识别和定位网络中的...

  • 发布于 2020-11-04 20:17
  • 阅读 ( 340 )

了解ip和mac地址:它们有什么好处?

... 什么是ip地址(an ip address)? ...

  • 发布于 2021-03-13 11:32
  • 阅读 ( 295 )

web服务器如何知道您是否使用直接ip地址访问?

...用直接IP地址访问: Some web servers, when accessed using their IP address, return an error that direct IP address access is not allowed. I have been wondering for some time how this works. Does a browser always resolve the IP address and connect to it? Direct IP address access is just skippi...

  • 发布于 2021-04-09 16:00
  • 阅读 ( 200 )

不同类型的局域网ip地址代表什么?

...Cat想知道不同类型的LAN IP地址代表什么?: I have seen LAN IP addresses in the following ways/forms: 10.0.0.* 192.168.0.* 192.168.1.* 192.168.2.* 127.0.0.* (this one usually ends with a 1 and I am not sure if it is a LAN address or not, since I normally see it with proxy stuff) Why ar...

  • 发布于 2021-04-09 22:09
  • 阅读 ( 239 )

如何强制mac地址的唯一性?

...in and again I have read that devices are uniquely identified by their MAC addresses, but how are MAC addresses determined? And do they tell us anything about the devices they represent? 如何强制MAC地址的唯一性? 答案 超级用户贡献者DavidPostill为我们提供了答案: How are ...

  • 发布于 2021-04-10 06:31
  • 阅读 ( 219 )

为什么需要以太网/mac地址?

...关于以太网/MAC地址的需求: I do not understand why Ethernet/MAC addresses are needed. Surely all computers could just be connected to a unified network and use IP addresses to communicate? For example, there is the following mechani** in Ethernet: A computer with the IP address 192.168.1...

  • 发布于 2021-04-11 04:47
  • 阅读 ( 215 )

同一wi-fi网络上的两台计算机是否具有相同的ip地址?

...but I wondered if two computers on the same Wi-Fi network have the same IP address? For example, my dad’s computer and my computer at home. If so, how does the outside world distinguish one computer from the other (like when a server wants to send some data back to us)? 这两台计算机的IP地...

  • 发布于 2021-04-11 07:22
  • 阅读 ( 242 )

如何找到网站的ip地址?

...yLearner想知道如何找出网站的IP地址: If I want to know the IP address of a website, then one way is to ping the website. For example, if I want to know the IP address of google.com, then I can ping it via the command prompt. So 74.125.236.195 is the IP address for Google. But suppose I...

  • 发布于 2021-04-11 11:36
  • 阅读 ( 295 )

是什么阻止你改变你的公共ip地址并在互联网上造成严重破坏?

...an ISP and I’m using cable internet access. The ISP gives me a public IP address of 60.61.62.63. What keeps me from changing this IP address to, let’s say, 60.61.62.75, and messing with another c***umer’s internet access? For the sake of this argument, let’s say that this other IP address is...

  • 发布于 2021-04-11 15:23
  • 阅读 ( 199 )

mac地址到底是用来做什么的?

...者Vishnu Vivek对MAC地址及其功能很好奇: I understand that IP addresses are hierarchical, so that routers throughout the internet know which direction to forward a packet. With MAC addresses, there is no hierarchy, and thus packet forwarding would not be possible. So, MAC addresses are no...

  • 发布于 2021-04-11 16:47
  • 阅读 ( 304 )
Apisy
Apisy

0 篇文章

相关推荐