单臂路由

 

 AR1配置

interface GigabitEthernet0/0/0.10
 dot1q termination vid 10
 ip address 10.1.1.100 255.255.255.0 
 arp broadcast enable
#
interface GigabitEthernet0/0/0.20
 dot1q termination vid 20
 ip address 20.1.1.100 255.255.255.0 
 arp broadcast enable

SW1配置

vlan batch 10 20

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

 

posted @ 2020-05-21 11:05  星火撩原  阅读(147)  评论(0编辑  收藏  举报