資源描述:
《路由與交換技術--實驗7講解.ppt》由會員上傳分享,免費在線閱讀,更多相關內容在教育資源-天天文庫。
1、實驗拓撲連線圖R1R2R5R3S2S3S4S5S1S?/0S?/0S?/0S?/0S?/0S?/0E0/?E0/?123456111133334444PC1PC2PC3PC4PC5PC6PC7PC8192.168.2.11255.255.255.0192.168.2.1192.168.2.55255.255.255.0192.168.2.1192.168.3.22255.255.255.0192.168.3.1192.168.3.66255.255.255.0192.168.3.1192.168.4.33255.255.255.0192.168.4.119
2、2.168.4.77255.255.255.0192.168.4.1192.168.5.44255.255.255.0192.168.5.1192.168.5.44255.255.255.0192.168.5.1PC8192.168.9.2/24192.168.6.1/24192.168.7.1/24192.168.9.1/24192.168.8.2/24192.168.8.1/24192.168.10.2/24192.168.10.1/24注釋:“?”是“0”和“1”之中的一個,需要根據實際的硬件連線接口選擇。vlan2:192.168.2.1vlan3:1
3、92.168.3.1vlan4:192.168.4.1vlan5:192.168.5.1vlan6:192.168.6.2vlan7:192.168.7.2PC的IP地址配置PC1IP地址:192.168.2.11子網掩碼:255.255.255.0網關:192.168.2.1PC2IP地址:192.168.3.22子網掩碼:255.255.255.0網關:192.168.3.1PC3IP地址:192.168.4.33子網掩碼:255.255.255.0網關:192.168.4.1PC4IP地址:192.168.5.44子網掩碼:255.255.255.0網關:192
4、.168.5.1PC5IP地址:192.168.2.55子網掩碼:255.255.255.0網關:192.168.2.1PC6IP地址:192.168.3.66子網掩碼:255.255.255.0網關:192.168.3.1PC7IP地址:192.168.4.77子網掩碼:255.255.255.0網關:192.168.4.1PC8IP地址:192.168.5.88子網掩碼:255.255.255.0網關:192.168.5.1交換機S1的配置S1的配置resetsaved-configurationsystsm[H3C]sysnameS1[S1]vlan
5、2[S1-vlan2]quit[S1]vlan3[S1-vlan3]quit[S1]vlan4[S1-vlan4]quit[S1]vlan5[S1-vlan5]quit[S1]vlan6[S1-vlan6]portEthernet1/0/1[S1-vlan6]quit[S1]vlan7[S1-vlan7]portEthernet1/0/2[S1-vlan7]quit[S1]interfaceEthernet1/0/3[S1-Ethernet1/0/3]portlink-typetrunk[S1-Ethernet1/0/3]porttrunkpermitvlanall[S1-E
6、thernet1/0/3]quit[S1]interfaceEthernet1/0/4[S1-Ethernet1/0/4]portlink-typetrunk[S1-Ethernet1/0/4]porttrunkpermitvlanall[S1-Ethernet1/0/4]quit[S1]interfaceEthernet1/0/5[S1-Ethernet1/0/5]portlink-typetrunk[S1-Ethernet1/0/5]porttrunkpermitvlanall[S1-Ethernet1/0/5]quit[S1]interfaceEthernet1/0/6
7、[S1-Ethernet1/0/6]portlink-typetrunk[S1-Ethernet1/0/6]porttrunkpermitvlanall[S1-Ethernet1/0/6]quit[S1]interfaceVlan-interface2[S1-interface-vlan2]ipaddress192.168.2.1255.255.255.0[S1-interface-vlan2]interfaceVlan-interface3[S1-interface-vlan3]ipaddress19