网络安全工程(实验19)三层交换机实现两台处于不同vlan的PC通信

 

 

路由器SW1的配置:

sysname sw1

vlan batch 100 200

 

interface Vlanif100
ip address 192.168.1.254 255.255.255.0

interface Vlanif200
ip address 192.168.2.254 255.255.255.0


interface GigabitEthernet0/0/1
port link-type access
port default vlan 100

interface GigabitEthernet0/0/2
port link-type access
port default vlan 200

验证:

 

posted @ 2022-01-25 11:30  Stary_tx  阅读(280)  评论(0)    收藏  举报