How to Configure Inter VLAN Routing on Layer 3 Switches?

11 篇文章 0 订阅
订阅专栏

With the development of technology, no matter how far you are away from families, you can communicate with them at any time in any places. The same is true to the optic communication, regardless of the physical locations of two hosts or the different VLANs they belong to, they can exchange with each other by inter VLAN routing. Then what is inter VLAN routing and how to configure inter VLAN routing on layer 3 switches?

What Is Inter VLAN Routing?

In figure 1, three computers connected to a gigabit Ethernet switch form a LAN (local area network) within a limited area. However, they cannot communicate with hosts in another LAN, because there is no connection between these  Ethernet switches. Then there comes the VLAN which provides us with logical separation or segmentation of our networks to facilitate communication among hosts in different LANs. However, each VLAN is a unique broadcast domain, so computers on separate VLANs are unable to communicate with each other by default. There is a way to solve the problem, and that’s what we are going to shed light on—inter VLAN routing.

LAN and VLAN in NetworkingFig. 1 LAN and VLAN in Networking

The process of forwarding network traffic from one VLAN to another VLAN using routing is known as inter-VLAN routing. One of the ways to carry out inter-VLAN routing is by connecting a router to the switch infrastructure. When using a router to facilitate inter-VLAN routing, the router interfaces can be connected to separate VLANs. Devices on those VLANs communicate with each other via the router. Apart from that, a more convenient way is introduced—configure inter VLAN routing on layer 3 switches. Layer 3 switching is more scalable than a router which only provides a limited number of available ports.

How to Configure Inter VLAN Routing on Layer 3 Switches?

To enable a layer 3 switch to perform routing functions, the switch must have IP routing enabled.  10gb Ethernet switch and 40gb Ethernet switch are recommended for working as layer 3 switch.

Inter VLAN Routing

Fig.2 Inter VLAN Routing on Layer 3 Switches

In figure 2, layer 3 switch is configured with IP address 10.0.0.1. VLAN10 and VLAN20, with IP address 10.10.10.10 and IP address 10.20.20.20 respectively are configured on layer 2 switches. These two IP addresses will be the default gateway addresses for hosts belonging to VLAN10 and VLAN20 on the layer 2 switches respectively. Also, all interfaces connecting the three switches must be configured as trunk ports to allow VLAN10 and VLAN20 tagged frames to pass between switches. Traffic between VLAN10 and VLAN20 will be routed by the layer 3 switch after configuring inter VLAN routing. These steps can be achieved by VLAN configuration command below.

Create VLANs 10 and 20 in the switch database

inter VLAN routing configuration 1
Assign port Fe0/1 in VLAN 10 and port Fe0/2 in VLAN 20

inter VLAN routing configuration 2

Create trunk port Fe0/24

inter VLAN routing configuration 3

Enable layer 3 routing and create VLANs 10 and 20 in the switch database

inter VLAN routing configuration 4

Create trunk ports Fe0/47 Fe0/46

inter VLAN routing configuration 5

Configure Switch VLAN Interfaces (SVI) to acts as a virtual layer 3 interface on the layer 3 switch

inter VLAN routing configuration 6

Conclusion

VLAN is created to enable the communication among hosts in different LANs. Inter VLAN routing is developed to realize the exchange among hosts in different VLANs. Inter VLAN routing on layer 3 switch without a router is also approachable with the development of technology. For more configuration about network switches, please refer to our website www.fs.com.

Inter-VLAN Routing
m0_63825213的博客
07-12 449
我们都知道,一个 VLAN 是一个广播域,vlan 有作用于隔离广播,那么 VLAN 之间如果想要通信,就必须接触层三交换在前期,我们通过单臂路由来操作 VLAN 间流量互访,但却十分的浪费资源这里,我们回顾以下单臂路由的操作 0x02 SVI Switch Virtual Interfaces ( SVI ) 交换式虚拟接口参考图如下:层三交换 SVI 配置参考 0x03 三层交换机的端口模式 二层接口 (switchport):access 模式、trunk 模式 三层接口:路由接口 (no s
4.3.8 Configure Layer 3 Switching and Inter-VLAN Routing
05-27
4.3.8 Packet Tracer - Configure Layer 3 Switching and Inter-VLAN Routing Cisco Packet Tracer 思科模拟器 正确答案文件 可直接上交正确答案文件 本答案版权归mewhaku所有,严禁再次转载!!! Copyright @mewhaku 2022 All Rights Reserved
Layer 3 Routing with Open vSwitch for inter-VLAN
lianliange85的专栏
09-25 1359
出处:http://blog.scottlowe.org/2012/10/31/layer-3-routing-with-open-vswitch/ Open vSwitch (OVS) is a core component in a number of prominent virtualization- and cloud-related products and projects
Cisco Switches/Router Layer 3 Security
weixin_33790053的博客
10-15 120
1. Enable secure Telnet access to a router user interface, and consider using Secure Shell (SSH) instead of Telnet. 2. Enable SNMP security, particularly adding SNMPv3 support. 3. Turn of...
Vlan and Inter-Vlan Routing
weixin_57449675的博客
04-19 247
//create a vlan S1# configure terminal S1(config)# vlan 20 S1(config-vlan)# name student S1(config-vlan)# end //Assign prots to Vlans S1#configure terminal S1(config)# interface F0/18 S1(config-if)# switchport mode access S1(config-if)#switchpor
4.2.7Configure Router-on-a-Stick Inter-VLAN Routing
05-27
4.2.7 Packet Tracer - Configure Router-on-a-Stick Inter-VLAN Routing Cisco Packet Tracer 思科模拟器 正确答案文件 可直接上交正确答案文件 本答案版权归mewhaku所有,严禁再次转载!!! Copyright @...
How to Install and Configure an NFS Server on Ubuntu 18.04.pdf
12-03
在Ubuntu18.04中安装NFS服务器以及配置NFS 客户端,详细安装步骤过程,简单实用,一学就会
How to Configure Odoo 13 on Pycharm Ubuntu 18(1).mp4
03-11
How to Configure Odoo 13 on Pycharm Ubuntu 18 ubuntu18下安装ODOO13 pycharm配置ODOO13开发环境
How to Configure User Status in mySAP SRM.pdf
11-21
How to Configure User Status in mySAP SRM.pdf
Inter VLAN routing router on GNS3
weixin_33873846的博客
11-16 131
R3725: 在f0/0端口上起独臂路由 SW3640: 添加VLAN 设定f1/0为trunk口 把相应的端口添加到相应的VLAN 显示vlan状态,这里用的是模拟器,注意:我这里显示vlan用的是show vlan-switch,一般正常都用show vlan即可. vpc: 本文转自allanhi 51CTO博客,...
Packet Tracer - 配置第 3 层交换和 VLAN 间路由
qq_51959614的博客
10-22 3775
拓扑图如下: 地址分配表: 目标 第 1 部分:配置第 3 层交换 第 2 部分:配置 VLAN 间路由 第 3 部分:配置 IPv6 VLAN 间路由 背景/场景 思科 Catalyst 3650 等多层交换机 能够进行第 2 层交换和第 3 层路由。 使用多层交换机的优点之一是可以拥有双重功能。中 小型公司可以获得的一种好处是能够购买一个多层 交换机,而无须购买单独的交换和路由网络设备。多层交换机的功能 包括能够 使用多个交换虚拟接口 (SVI) 从一个 VLAN 路由到另...
层三交换机解析(Layer 3 Switch)层3交换机
Dontla的博客
12-05 1613
层三交换机(Layer 3 Switch)是一种特殊的网络设备,它结合了传统路由器和交换机的功能。与传统的二层交换机相比,层三交换机在硬件中实现了高速数据包转发技术,使其在进行大量数据包转发时具有更高的性能。在解析层三交换机之前,先理解OSI七层模型可以更好地理解其工作原理。OSI七层模型是一种描述计算机网络内部操作和通信过程的模型。其中,第二层为数据链路层,主要负责点对点的数据传输,例如以太网帧或PPP(点对点协议Point-to-Point Protocol)。
Inter-VLAN routing
weixin_58458700的博客
05-25 368
Inter-VLAN routing
Vlan Routing troubleshooting
weixin_33826268的博客
03-14 104
某个vlan的某台特定的machine能和处于其他vlan的机器通讯,但与某个特定vlan的机器无法通讯,排除了由访问控制引起的嫌疑。最后在该机器上route print或者netstat -r,找到了问题根源,原来用户早先自己手工添加了一条已经废除的persistent路由: c:\>routedelete **** mask ******** metric *...
how to config vlan in RHEL
亲密数
11-25 819
how to config vlan in RHEL
全套米哈游旗下的游戏与应用的API收集总结.zip
最新发布
05-30
### 米哈游游戏与应用API收集总结 #### 概述 米哈游(miHoYo)是一家知名的游戏开发公司,旗下拥有多个热门游戏和应用,如《原神》、《崩坏3》、《崩坏:星穹铁道》、《未定事件簿》等。为了方便开发者和玩家社区进行二次开发、数据分析和社区互动,米哈游提供了一系列公开和非公开的API。本资源总结了全套米哈游旗下游戏与应用的API,包括API的功能、使用方法和注意事项,旨在帮助开发者快速上手并高效利用这些API。 #### 主要内容 1. **API概述与分类**: - **公开API**:米哈游官方提供的公开API,主要用于获取游戏数据、用户信息、公告、活动等内容。 - **非公开API**:通过逆向工程或社区共享获取的API,提供更深入的数据访问和操作功能。 2. **主要游戏与应用API收集**: - **《原神》API**: - **玩家信息**:获取玩家基本信息、角色信息、成就、深境螺旋等数据。 - **游戏数据**:包括地图数据、任务数据、物品数据等。 - **活动与公告**:获取最新的游
kubernetes镜像下载页
05-30
kubelet-1.23.8 kubeadm-1.23.8 kubectl-1.23.8
scratch2源码飞机大战之新年版
05-30
scratch2源码飞机大战之新年版提取方式是百度网盘分享地址
scratch2源码反重力空间
05-30
scratch2源码反重力空间提取方式是百度网盘分享地址
Configure dynamic routing in vue3
02-06
在 Vue 3 中配置动态路由的方法如下: 1. 安装 Vue Router 插件: ```bash npm install vue-router ``` 2. 在你的 Vue 根实例中引入 Vue Router 并注册: ```js import Vue from 'vue' import Router from 'vue-router' Vue.use(Router) const router = new Router({ // 配置路由 }) export default router ``` 3. 在你的 Vue 根实例中注册路由: ```js import Vue from 'vue' import App from './App.vue' import router from './router' new Vue({ router, render: h => h(App) }).$mount('#app') ``` 4. 在你的 Vue 组件中使用 `<router-view>` 标签来渲染路由组件: ```html <template> <div> <router-view /> </div> </template> ``` 5. 在路由配置中定义动态路由。例如,如果你想让 `/user/:id` 这样的 URL 显示一个用户详情页面,你可以这样定义路由: ```js const router = new Router({ routes: [ { path: '/user/:id', component: UserDetail } ] }) ``` 在这种情况下,`:id` 就是一个动态路由参数,它的值会被提取出来并传递给组件的 `props`。例如,如果你访问的是 `/user/123`,那么组件的 `props` 将会包含一个 `id` 属性,值为 `123`。 你可以在组件内使用 `this.$route.params` 来访问动态路由参数。例如: ```js export default { name: 'UserDetail',

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
写文章

分类专栏

  • Transceiver 2篇
  • Enterprise Network 13篇
  • Ethernet Switch 7篇
  • Cable Management 2篇
  • PoE Switch 3篇
  • Ethernet Network 2篇
  • Network Switch 11篇
  • fiber optic cable 3篇
  • network switch vs. hub 1篇
  • network switch vs. router 1篇
  • switches definition 1篇
  • what does a network switch do 1篇

大家在看

  • PCL配置+初体验 277
  • C语言(字符和字符串函数)2
  • 使用 Unity Sentis 和 genderage.onnx 进行高效性别年龄预测
  • 15、matlab绘图汇总(图例、标题、坐标轴、线条格式、颜色和散点格式设置) 63
  • 免费GPU!!!!白嫖GPU机会!!!

最新文章

  • Structured Fiber Cabling Solutions for Network & Server Cabinet
  • FS.COM N5850-48S6Q VS. Cisco Nexus 3172PQ 48-Port 10Gbe Switch
  • Why Cumulus Linux Is Popular Among White Box Switches?
2019年1篇
2018年45篇

目录

目录

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值

深圳SEO优化公司驻马店网站优化排名推荐宿迁高端网站设计推荐晋中营销型网站建设推荐潜江SEO按天扣费哪家好吴忠网络广告推广韶关品牌网站设计价格柳州至尊标王报价莆田优化价格宿州百度网站优化推荐福州网站制作价格天水网站制作价格珠海网站建设多少钱吴忠百度关键词包年推广多少钱衡阳外贸网站设计多少钱铁岭网站开发惠州百度关键词包年推广珠海百度标王多少钱塔城百度关键词包年推广报价红河网站建设设计报价鹤壁百度网站优化排名公司丽水关键词排名包年推广永湖建站公司黄冈网站优化推广报价玉林网站推广方案多少钱常德模板网站建设推荐萍乡百姓网标王公司文山关键词按天计费公司甘南模板推广哪家好岳阳百度网站优化多少钱龙岩至尊标王价格歼20紧急升空逼退外机英媒称团队夜以继日筹划王妃复出草木蔓发 春山在望成都发生巨响 当地回应60岁老人炒菠菜未焯水致肾病恶化男子涉嫌走私被判11年却一天牢没坐劳斯莱斯右转逼停直行车网传落水者说“没让你救”系谣言广东通报13岁男孩性侵女童不予立案贵州小伙回应在美国卖三蹦子火了淀粉肠小王子日销售额涨超10倍有个姐真把千机伞做出来了近3万元金手镯仅含足金十克呼北高速交通事故已致14人死亡杨洋拄拐现身医院国产伟哥去年销售近13亿男子给前妻转账 现任妻子起诉要回新基金只募集到26元还是员工自购男孩疑遭霸凌 家长讨说法被踢出群充个话费竟沦为间接洗钱工具新的一天从800个哈欠开始单亲妈妈陷入热恋 14岁儿子报警#春分立蛋大挑战#中国投资客涌入日本东京买房两大学生合买彩票中奖一人不认账新加坡主帅:唯一目标击败中国队月嫂回应掌掴婴儿是在赶虫子19岁小伙救下5人后溺亡 多方发声清明节放假3天调休1天张家界的山上“长”满了韩国人?开封王婆为何火了主播靠辱骂母亲走红被批捕封号代拍被何赛飞拿着魔杖追着打阿根廷将发行1万与2万面值的纸币库克现身上海为江西彩礼“减负”的“试婚人”因自嘲式简历走红的教授更新简介殡仪馆花卉高于市场价3倍还重复用网友称在豆瓣酱里吃出老鼠头315晚会后胖东来又人满为患了网友建议重庆地铁不准乘客携带菜筐特朗普谈“凯特王妃P图照”罗斯否认插足凯特王妃婚姻青海通报栏杆断裂小学生跌落住进ICU恒大被罚41.75亿到底怎么缴湖南一县政协主席疑涉刑案被控制茶百道就改标签日期致歉王树国3次鞠躬告别西交大师生张立群任西安交通大学校长杨倩无缘巴黎奥运

深圳SEO优化公司 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化