Route配置 int g0/0.1 ip add 192.168.10.1 255.255.255.0 vlan-type dot1q vid 10 #子接口封装dot1q并分配给VLAN 10 quit int g0/0.2 ip add 192.168.20.1 255.255.255.0 vlan-type dot1q vid 20 #子接口封装dot1q并分配给VLAN 20 quit Switch 配置 vlan 10 port e1/0/1 qu vlan 20 port e1/0…