当前位置:网站首页>[Hcia]No.15 Vlan间通信
[Hcia]No.15 Vlan间通信
2022-07-03 02:23:00 【数通那点事】
目录
Vlan间通信方式:
在实际工作中,我们经常需要将不同Vlan实现通联,主要采用的方式可以有:
多臂路由:由路由器多个接口提供VLAN间通信的方案,原理和路由基础相同。
单臂路由:相对于多臂路由方案可以节省路由器接口;但是,单臂路由随着VLAN数量的增加,链路的带宽压力也会加大。
三层交换:通过三层交换机的Vlanif接口实现了三层数据通信;相比单臂路由方案,三层交换更具有扩展性,即使VLAN增加也不会对其性能造成很大影响。
Vlan间通信的具体配置:
1.多臂路由。
(1)在交换机上,首先创建Vlan10和Vlan20,然后将G2,G3配置成access模式,G0,G4配置成access或trunk均可。
(2)在路由器上,配置各个网关的IP。
2.单臂路由。
(1)交换机上,创建好Vlan10和20后,将连接PC的接口配置access模式,连接路由的接口配置trunk模式。
(2)路由器接口配置如下:
3.三层交换。
交换机接口配置如上,这里需要在交换机上建立三层接口Vlanif,用这个三层接口充当Vlan网段的网关。具体配置和配置接口IP地址一样。
OK,今天内容就结束了,大家可以实验一下,很简单。
边栏推荐
- Restcloud ETL cross database data aggregation operation
- Unrecognized SSL message, plaintext connection?
- Summary of ES6 filter() array filtering methods
- require. context
- COM和CN
- What are MySQL locks and classifications
- 【 tutoriel】 Chrome ferme les cors et les messages de la politique inter - domaines et apporte des cookies à travers les domaines
- 5.文件操作
- require.context
- GBase 8c 函数/存储过程参数(二)
猜你喜欢
Detailed introduction to the usage of Nacos configuration center
通达OA v12流程中心
创建+注册 子应用_定义路由,全局路由与子路由
Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)
微服务组件Sentinel (Hystrix)详细分析
《上市风云》荐书——唯勇气最可贵
easyExcel
stm32F407-------ADC
Comment communiquer avec Huawei Cloud IOT via le Protocole mqtt
Detailed introduction to the deployment and usage of the Nacos registry
随机推荐
GBase 8c触发器(三)
[Flutter] dart: class;abstract class;factory;类、抽象类、工厂构造函数
8 free, HD, copyright free video material download websites are recommended
Y54. Chapter III kubernetes from introduction to mastery -- ingress (27)
Exception handling in kotlin process
Awk from introduction to earth (0) overview of awk
Su Shimin: 25 principles of work and life
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor
GBase 8c系统表-pg_auth_members
Oauth2.0 authentication, login and access "/oauth/token", how to get the value of request header authorization (basictoken)???
Method of removing webpage scroll bar and inner and outer margins
GBase 8c系统表-pg_conversion
awk从入门到入土(3)awk内置函数printf和print实现格式化打印
[tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
4. 类和对象
Job object of collaboration in kotlin
elastic stack
awk从入门到入土(0)awk概述
Startup mode and scope builder of collaboration in kotlin
Gbase 8C system table PG_ conversion