ensp单臂路由配置:
pc1:
pc2:
交换机配置:
int e0/0/1
port link-type access
port default vlan 10
int e0/0/2
port link-type access
port default vlan 20
int e0/0/3
port link-type trunk
port trunk alliow-pass 10 20
路由器配置:
开启端口:int g0/0/0
undo shutdown
配置子接口:
int g0/0/0.1
ip add 192.168.10.254 24
dot1q termination vid 10
arp broadcast enable
配置子接口:
int g0/0/0.2
ip add 192.168.20.254 24
dot1q termination vid 20
arp broadcast enable