当前位置:网站首页>单臂路由(讲解+实验)
单臂路由(讲解+实验)
2022-07-27 06:16:00 【孤城286】
目录
一、讲解:
涉及知识!!!:(39条消息) vlan 间路由+单臂路由(实验思路讲解+配置)_孤城286的博客-CSDN博客_配置单臂路由器vlan间路由

—————————————————————————————————————————————————————————
二、实验:
模拟器:Cisco Packet Tracer
(1)实验思路:
- PC分别配置IP和网关
- 1.接入交换机创建对应vlan,
- 2.将接口划进对应vlan中
- 3.将连接路由器的接口封装trunk
- 4.路由器将父接口打开
- 5.路由器创建两个子接口,分别配置网关并与对应vlan绑定
(2)实验拓扑:

(3)实验相关配置:
- ——接入交换机:
vlan 10 - ------创建vlan命名vlan
name PC1
vlan 10
name PC2
int f0/1----进入接口
switchport mode access -----将接口置为接入模式
swtichport access vlan 10 ------将接口划进vlan10
exit
int f0/3 ----进入接口
switchport mode trunk ------封装trunk
exit
- ——路由器router:
int f0/0----进入接口
no shutdown -----将接口打开
exit
int f0/0.10 ----进入子接口
encapsulation dot1Q 20----将子接口与vlna 20绑定
ip address 192.168.20.254 255.255.255.0 ---配置ip地址作为PC网关
no shutdown ---将接口打开
——路由器创建子接口:
注:
- 查看接口IP及状态:show ip interface brief
- 查看路由表:show ip route
边栏推荐
- pytorch笔记:TD3
- Usage of string class
- (posted) comparison of Eureka, consumer and Nacos 2
- 【QT】capture.obj:-1: error: LNK2019: 无法解析的外部符号 __imp_htons(解决方法)
- [Vani has a date] tail on rainy days
- C# Winfrom 常用功能整合-2
- 想sink 到 redis-hash 里面 把 对象的属性和值都写进去 ,大佬们有Demo 吗?
- 在rhel8上使用soci连接oracle和postgresql和sqlite
- MySQL: 提高最大连接数
- 多线程【初阶-上篇】
猜你喜欢

高级IO提纲

pytorch笔记:TD3

(转帖)eureka、consul、nacos的对比1

Jmeter: interface automation test - BeanShell compares database data and return data

Pan Aimin, chairman of instruction set, attended the 2022 ecug con to speak for China's technical forces

Digital image processing -- Chapter 3 gray scale transformation and spatial filtering

ESP8266(ESP-12F) 第三方库使用 -- SparkFun_APDS9960 (手势识别)

端口转发小结

从技术原理看元宇宙的可能性:Omniverse如何“造”火星

零号培训平台课程-1、SQL注入基础
随机推荐
Tableau prep is connected to maxcompute and only writes simple SQL. Why is this error reported?
js中的数组方法与循环
MySQL: 提高最大连接数
Overall dichotomy?
Generics -- learn it, and there are many benefits
使用sqlplus显示中文为乱码的解决办法
Gbase 8C technical features
Pan Aimin, chairman of instruction set, attended the 2022 ecug con to speak for China's technical forces
Oracle database problems
如何取得对象的DDL信息
word-wrap:break-word 换行在各浏览器兼容的问题
用typescript实现排序-递增
在rhel7.3中编译和使用log4cxx
Excuse me, is there a big delay in individual capture when someone uses Oracle xStream? How to solve the delay problem
12. Integer to Roman
SQLite 常用功能整合
Word wrap: break word line feed is compatible with browsers
MySQL quickly compares database table data
C语言程序设计 | 程序编译与预处理
Convert Excel to csv/csv UTF-8