ENSP配置 实例二 单臂路由配置
单臂路由配置
配置
路由:
interface EigabitEthernet0/0/0
ip address 10.0.1.1 24
interface EigabitEthernet0/0/0.1
dot1q termination vid 10
ip address 192.168.1.254 24
arp broadcast enable
interface EigabitEthernet0/0/0.2
dot1q termination vid 20
ip address 172.16.1.254 24
arp broadcast enable
交换机:
vlan batch 10 20
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan all
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 10
interface GigabitEthernet0/0/2
port link-type trunk
port trunk pvid vlan 20
port trunk allow-pass vlan 20