网桥拓扑结构的建立

首先在左下方找到相应的设备,并点击闪电图标连接线路,然后点开每台电脑设置其IP地址和名称。

网桥工作模拟
点击编辑过滤器,选择ARP和ICMP协议

点击终端1.1打开Command Prompt界面,通过1.1ping1.2

在模拟面板上点击捕获得到转发路径

1.1收到包

由于ether0/1学到了1.1和1.2的mac地址所以当1.1和1.2通信的时候,网桥不会将包转发到ether1/1,因此不会影响到1.3和1.4
交换机拓扑结构建立

IP地址

交换机工作模拟
打开交换机的命令提示符,先搞两个回车,先输入en(要在英文输入法下)后输入show mac-address-table 查看mac地址表

用1.1ping1.2

此时fa0/1口学到了1.1的MAC地址,fa0/2学到了1.2的MAC地址

心得
通过使用packet tracer模拟器对网桥和交换机的简单拓扑结构进行模拟,初步了解了交换机和网桥的工作方式,网桥是基于软件转发,而交换机是基于硬件转发。对数据链路层包的接受转发有了更深的理解。
网友评论