首页 > 其他 > 详细

单臂路由

时间:2019-05-14 21:28:35      阅读:141      评论:0      收藏:0      [点我收藏+]

原来的基础上,增加一台交换机,接口1、2、/4配置成trunk,路由器进入子接口,最后配置主机的网关

技术分享图片

左边交换机:

sys

valn 10

vlan 20

interface gi 1/01/

port link-type access 

port access vlan 10

interface gi 1/0/2

port link-type access

port access vlan 10

interface gi 1/0/3

port link-type access

port access vlan 20

interface gi 1/0/4

port link-type access

port access vlan 20

qu

interface gi 1/0/48

port link-type trunk 

port trunk permit vlan 10 20

右边交换机:

sys

vlan 10

vlan 20

interface gi 1/0/1

port link-type access 

port access vlan 10

interface gi 1/0/2

port link-type access

port access vlan 20

qu

interface gi 1/0/48

port link-type trunk

port trunk permit vlan 10 20

上面交换机:

sys

vlan 10 

vlan 20

interface range gi 1/0/1 to 1/0/2

port link-type trunk

port trunk permit vlan 10 20

interface gi 1/0/48

port link-type trunk 

port trunk permit vlan 10 20

路由器:

sys

interface gi 0/0.10

vlan-type dot1q vid 10

ip address 192.168.10.254 24

interface gi 0/0.20

vlan-type dot1q vid 20

ip address 192.168.20.254 24

单臂路由

原文:https://www.cnblogs.com/danmin/p/10864560.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!