单臂路由 eNSP (第八组)

交换机配置:

vlan batch 10 20   (创建vlan)

interface Ethernet0/0/1

port link-type trunk

port trunk allow-pass vlan 10 20

interface Ethernet0/0/2

port link-type access

port default vlan 10

interface Ethernet0/0/3

port link-type access

port default vlan 20

路由器配置:

interface Ethernet0/0/0.1

dot1q termination vid 10

ip address 192.168.10.254 24

arp boadcast enable

interface Ethernet0/0/0.2

dot1q termination vid 20

ip address 192.168.20.254 24

arp boadcast enable

猜你喜欢

转载自www.cnblogs.com/cxx123/p/9987712.html