HCIA实现不同vlan间的通信

双臂路由;三个的是access口(路由器不用配置,记得接口)

单臂路由:连接路由器接口配置trunk链路,路由器的接口分成俩个子接口

三层交换:相当于双臂路由的路由器加交换机,只要在vlanif接口上面配置ip就行


|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| | | | |
| | SW1: interface GigabitEthernet0/0/1 port link-type access port default vlan 10 interface GigabitEthernet0/0/2 port link-type access port default vlan 20 interface GigabitEthernet0/0/3 port link-type access port default vlan 10 interface GigabitEthernet0/0/4 port link-type access port default vlan 20 | | |
| | SW1: interface GigabitEthernet0/0/1 port link-type access port default vlan 10 interface GigabitEthernet0/0/2 port link-type access port default vlan 20 interface GigabitEthernet0/0/3 port link-type access port default vlan 10 interface GigabitEthernet0/0/4 port link-type access port default vlan 20 | | SW2: interface GigabitEthernet0/0/0.30 dot1q termination vid 30 ip address 192.168.30.254 255.255.255.0 arp broadcast enable interface GigabitEthernet0/0/0.40 dot1q termination vid 40 ip address 192.168.40.254 255.255.255.0 arp broadcast enable |
| | SW1: interface GigabitEthernet0/0/1 port link-type access port default vlan 10 interface GigabitEthernet0/0/2 port link-type access port default vlan 20 interface GigabitEthernet0/0/3 port link-type access port default vlan 10 interface GigabitEthernet0/0/4 port link-type access port default vlan 20 | | |

SW3:

interface Vlanif1

ip address 10.0.23.3 255.255.255.0

相关推荐
喜欢吃燃面43 分钟前
Linux:环境变量
linux·开发语言·学习
Cisco_hw_zte3 小时前
小型网络中部署Aruba无线
网络
佑白雪乐4 小时前
<Linux基础第10集>复习前面内容
linux·运维·服务器
春日见4 小时前
自动驾驶规划控制决策知识点扫盲
linux·运维·服务器·人工智能·机器学习·自动驾驶
暮云星影4 小时前
四、linux系统 应用开发:UI开发环境配置概述 (三)
linux·ui·arm
迷途知返-5 小时前
服务器——那些年我踩过的坑
linux
landonVM6 小时前
Linux 上搭建 Web 服务器
linux·服务器·前端
学习中的DGR6 小时前
[极客大挑战 2019]Http 1 新手解题过程
网络·python·网络协议·安全·http
乐迪信息6 小时前
乐迪信息:AI防爆摄像机在船舶监控的应用
大数据·网络·人工智能·算法·无人机
云游云记6 小时前
nesbot/carbon 常用功能总结
linux·运维·服务器