实验线路连接图:
测试机配置[如图示]
DCRS-5526S配置
SwitchA(Config)#vlan 10 SwitchA(Config-Vlan10)#switchport interface ethernet 0/0/1-8 Set the port Ethernet0/0/1 access vlan 10 successfully Set the port Ethernet0/0/2 access vlan 10 successfully Set the port Ethernet0/0/3 access vlan 10 successfully Set the port Ethernet0/0/4 access vlan 10 successfully Set the port Ethernet0/0/5 access vlan 10 successfully Set the port Ethernet0/0/6 access vlan 10 successfully Set the port Ethernet0/0/7 access vlan 10 successfully Set the port Ethernet0/0/8 access vlan 10 successfully |
(1)测试机A可以ping通测试机B。
实验要求:
掌握Vlan的定义,同一Vlan中的主机只要IP为同一网段便可以相互通信。