互联网上mac地址的实际用途是什么? [英] What is the actual use of mac address on internet?

查看:237
本文介绍了互联网上mac地址的实际用途是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习欺骗攻击,现在对IP和MAC地址感到困惑。我了解到从计算机发送的每个数据包(TCP,ICMP等)都有一个以太网头,其中包含源和目标的mac地址(希望我是对的)。 mac地址与计算机有什么关系来接受或拒绝来自互联网的数据包吗?
例如考​​虑一种情况:

I was learning about spoofing attacks and now confused on IP and MAC addreses. I learned that every packets(TCP, ICMP, etc..) send from a computer have an Ethernet header which contain mac address of source and destination (Hope I'm right). Is mac address have anything to do with a computer to accept or reject a packet coming over internet? For example consider a situation:

我发送一个欺骗性数据包(HTTP GET请求),我的目标的IP地址为IP源和端口12345, google.com。

I'm sending a spoofed packet (an HTTP GET request) with my target's ip address as IP source and port 12345, to google.com.

因为我不知道目标的mac地址,所以它是我的mac地址在数据包的以太网头上作为mac源。

As i dont know the mac address of target, it is my mac address on Ethernet header of the packet as mac source.

google.com会在端口12345上向目标IP发送HTTP响应,如果目标正在侦听端口12345,目标是否会收到该数据包?或者由于错误的mac地址而被拒绝?

google.com will send the HTTP response to target's IP on port 12345, will the target recieve that packet if it is listening on port 12345? Or will it be rejected due to false mac address?

同样适用于ICMP泛滥攻击?

And do the same apply on ICMP flooding attacks?

推荐答案

MAC地址是硬件地址。

The MAC address is the hardware address.

如果我将数据包发送到IP地址,则在网络级别发送数据包被路由到MAC(硬件)地址。这通常是给定IP地址的硬件设备路由。因此,通过互联网发送的数据包将通过各种设备进行路由,并且在每个阶段将数据包定向到不同的MAC地址。

If I send a packet to an IP address, at the network level the packet is routed to the MAC (hardware) address. That will usually be a hardware device en route to the given IP address. So a packet sent across the internet will be routed via various devices, and at each stage the packet is directed to a different MAC address.

因此,MAC地址可以识别特定设备。

As such, the MAC address can identify a particular device.

这篇关于互联网上mac地址的实际用途是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆