Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通常,交换机可以通过学习每个端口上传入帧的源 MAC 地址来自动填充其 MAC 地址表。
我在以下参考文献中找到了上述句子:
04-Layer 2 - 局域网交换配置指南
为什么交换机不使用传出帧的目的 MAC 地址进行 MAC 学习?
我认为在我遇到的某些情况下,它对于防止洪水泛滥很有用。
为什么交换机不使用传出帧的目的 MAC 地址进行 MAC 学习。
简短回答:因为从目标 mac-addresses 中学习是没有意义的
长答案:当发送以太网帧时, 交换机从源 MAC 地址学习两件事:
目标 MAC 地址不提供可供交换机学习的有用信息。当 PC 在某处发送以太网帧时,交换机必须传送到该目标 MAC 地址。学习与交付事件巧合的 MAC 地址的存在和位置是一种错误的算法。