vlan间路由

Posted zengminghao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vlan间路由相关的知识,希望对你有一定的参考价值。

给主机1和主机2配置IP地址和子网掩码,在交换机创建vlan 10和vlan 20,利用access进入接口模式,在主机上配置网关

技术图片技术图片

主机1:IP地址192.168.10.1子网掩码255.255.255.0网关地址192.168.10.254

主机2:IP地址192.168.20.1子网掩码255.255.255.0网关地址192.168.20.254

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

interface vlan-interface 10

ip address 192.168.10.254 24

interface vlan-interface 20

ip address 192.168.20.254 24

以上是关于vlan间路由的主要内容,如果未能解决你的问题,请参考以下文章

VLAN间路由之单臂路由

华为-vlan 间路由之单臂路由

单臂路由实现vlan间路由

使用SVI实现Vlan间路由

使用SVI实现Vlan间路由

利用单臂路由实现VLAN间路由