1 / 67
文档名称:

以太网技术基础.ppt

格式:ppt   大小:2,075KB   页数:67页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

以太网技术基础.ppt

上传人:小英小英 2022/7/7 文件大小:2.03 MB

下载得到文件列表

以太网技术基础.ppt

文档介绍

文档介绍:This template is the internal standard courseware template of the enterprise
以太网技术基础
以太网技术基础
编制 刘 俊
审核 代谢寅
版本.
端口1
MACD
MACA
......
端口2
二层交换机的操作:
查MAC转发表处理转发
对于表中不包含的地址,通过泛洪的方式转发
一般不对帧格式进行修改
基于源MAC进行地址学习
A
B
C
PORT1
PORT2
D
L2 Switch
MAC地址·
端口号
MACA
1
MACB
3
MACC
2
MACD
4
使用MAC地址自动学习和老化机制对MAC地址表进行维护。
PORT3
PORT4
二层交换机工作原理
接收网段上的所有数据帧;
利用接收数据帧中的源MAC地址来建立MAC地址表(源地址自学习),使用地址老化机制进行地址表维护;
在MAC地址表中查找数据帧中的目的MAC地址,如果找到就将该数据帧发送到相应的端口(不包括源端口);如果找不到,就向所有的端口泛洪(不包括源端口 );
向所有端口泛洪广播帧和组播帧(不包括源端口 )。
地址学习
Initial MAC address table is empty
MAC address table




E0
E1
E2
E3
A
B
C
D
Station A sends a frame to Station C
Switch caches station A MAC address to port E0 by learning the source address of data frames
The frame from station A to station C is flooded out to all ports except port E0 (unknown unicasts are flooded)
MAC address table




E0:
E0
E1
E2
E3
D
C
B
A
地址学习(续)
二元组(端口号,MAC地址)
Station D sends a frame to station C
Switch caches station D MAC address to port E3 by learning the source Address of data frames
The frame from station D to station C is flooded out to all ports except port E3 (unknown unicasts are flooded)
MAC address table




E0:
E3:
E0
E1
E2
E3
D
C
A
B
地址学习(续)
Station A sends a frame to station C
Destination is known, frame is not flooded
E0:
E2:
E1:
E3:




E0
E1
E2
E3
X
X
D
C
A
B
MAC address table
目的地址在MAC地址表中
地址学习与转发
MAC地址的学习与老化
含某一源MAC地址的帧进入交换机的瞬间,交换机学习到该MAC地址,并开始进入老化周期;
针对帧的源MAC地址
MAC地址表深度/MAC地址表学习速度
后续每一个