1. A sends ARP -who is 10.1.1.3?
Destination MAC address : ALL FF’s
Source MAC address: A1
2. ARP is broadcast so switch forwards out all ports
3. B replies to ARP
Destination MAC:A1
Source MAC: B1
4. A sends to B
Destination MAC: B1
Source MAC: A1
Destination IP address: 10.1.1.3
Souce IP: 10.1.1.2
5. Switch performs CAM lookup using destination mac address and forwards packet to B1.
———————————————————————————————————–
Layer 2 / Layer3 IP Switching Procedures
Packets will send from A to D across multiple vlans:
1. A sends ARP – who is 10.5.1.2?
Destination MAC address : ALL FF’s
Source MAC address: A1
2. Switch replies to ARP – saying send it to me
3. A sends to Switch
Destination MAC: C1
Source MAC: A1
Destination IP: 10.5.1.2
Souce IP: 10.1.1.2
4.Switch does a L3 lookup
5. Packet forwarded
Destination MAC: D1
Souce MAC: C3
Destination IP: 10.5.1.2
Source IP:10.1.1.2
6. Switch does a forwarding lookup
7: Packet forwarded
Destination MAC: F2
Source MAC: D2
Destination IP: 10.5.1.2
Souce IP: 10.1.1.2
本文详细解析了二层数据包如何在相同VLAN内交换,以及跨多个VLAN从A到D的数据包交换过程,涉及ARP请求与响应、CAM查找等关键步骤。




2717

被折叠的 条评论
为什么被折叠?



