CISCO2960上好划分2个不同网段的Vlan,2个Vlan之间用1841Router链接,请问交换机和路由器怎么配置啊?

发布于2022-01-13 17:12:05
1个回答
admin
网友回答2022-01-13
路由器主要配置:interface FastEthernet0/1.100 encapsulation dot1Q 100 ip address 192.168.100.1 255.255.255.0exitinterface FastEthernet0/1.200 encapsulation dot1Q 200 ip address 192.168.200.1 255.255.255.0exitinterface FastEthernet0/1no shutdown交换机主要配置:interface Vlan100exitinterface Vlan200exitinterface FastEthernet0/1 switchport mode trunkexitinterface FastEthernet0/2 switchport access vlan 100 switchport mode access spanning-tree portfastexitinterface FastEthernet0/3 switchport access vlan 200 switchport mode access spanning-tree portfastexit

回到
顶部