拓扑图:
pc1配置:
pc2配置:
pc3配置:
pc4配置:
pc5配置:
switch配置:
sys
sysname sw1
vlan batch 10
interface Ethernet0/0/2
shutdown
interface Ethernet0/0/3
port link-type access
port default vlan 10
结果验证;
pc1去ping pc4
最初arp表空白
pc1收到pc4的mac地址
pc2和pc3未收到pc1的arp请求