1、网络技术实训期末测试实验二实验二拓扑图SW1配置hostname SW1enable password wanggong(设置enable密码)no ip routinginterface FastEthernet0/0switchport access vlan 10interface FastEthernet0/15switchport mode trunkinterface Vlan1no ip addressno ip route-cache以下实现SVIinterface Vlan10ip address 10.1.1.253 255.255.255.0line con 0exec-
2、timeout 0 0logging synchronous以下开启远程管理line vty 0 4password ciscologinendSW2配置hostname SW2enable password wanggong(配置enable密码)no ip routinginterface FastEthernet0/0switchport access vlan 20interface FastEthernet0/14switchport mode trunkinterface FastEthernet0/15switchport mode trunk以下配置SVIinterface V
3、lan20ip address 10.1.2.253 255.255.255.0line con 0exec-timeout 0 0logging synchronous以下开启远程管理line vty 0 4password ciscologinendR3配置hostname R3interface FastEthernet0/1switchport access vlan 30以下实现单臂路由功能interface FastEthernet1/0no ip addressinterface FastEthernet1/0.10encapsulation dot1Q 10ip address
4、 10.1.1.254 255.255.255.0interface FastEthernet1/0.20encapsulation dot1Q 20ip address 10.1.2.254 255.255.255.0interface Vlan1no ip address以下实现SVIinterface Vlan30ip address 10.1.3.254 255.255.255.0line con 0exec-timeout 0 0logging synchronousendPC3配置hostname PC3no ip routinginterface FastEthernet0/0i
5、p address 10.1.3.1 255.255.255.0ip default-gateway 10.1.3.254line con 0exec-timeout 0 0logging synchronousendPC2配置hostname PC2no ip routinginterface FastEthernet0/0ip address 10.1.2.1 255.255.255.0ip default-gateway 10.1.2.254line con 0exec-timeout 0 0logging synchronousline aux 0line vty 0 4endPC1配
6、置hostname PC1no ip routinginterface FastEthernet0/0ip address 10.1.1.1 255.255.255.0ip default-gateway 10.1.1.254line con 0exec-timeout 0 0logging synchronousendSW1的vlan表,trunk信息SW2的vlan表,trunk信息R3的vlan表PC1 ping PC2PC1 ping PC3PC2 ping PC3全部PC互通PC1对SW1的远程管理PC1对SW2的远程管理PC2对SW1的远程管理PC2对SW2的远程管理PC3对SW1的远程管理PC3对SW2的远程管理
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1