当前位置:网站首页>Static routing configuration
Static routing configuration
2022-07-07 18:32:00 【Chen chacha__】
Simple static routing configuration
Simple configuration such as host is omitted
Configure the router on the left
int eth0/0/0
ip add 192.168.1.254 255.255.255.0
no shut
int f0/0
ip add 12.12.12.1 255.255.255.0
no shut
Configure the router on the right
int eth0/0/0
ip add 172.16.1.254 255.255.255.0
no shut
int f0/0
ip add 12.12.12.2 255.255.255.0
no shut
On two routers respectively Configure static routing
Left router Only with 172.16.1.1 Host communication , Which is set to Host routing ( Match single IP Address )
ip route 172.16.1.1 255.255.255.255 12.12.12.2
Router settings on the right And 192.168.0.0 Network segment communication , Which is set to Subnet routing ( Indicates that a subnet is matched )
ip route 192.168.0.0 255.255.0.0 12.12.12.1 # The setting here is 16 Bit subnet mask , contain 24 Bit subnet mask
Route summary and default route topology
Router0 Basic configuration
int f0/0
ip add 192.168.1.254 255.255.255.0
no shut
int f0/1
ip add 12.12.12.1 255.255.255.0
no shut
Router1 Basic configuration
int f0/1
ip add 12.12.12.2 255.255.255.0
no shut
int f0/0
ip add 76.12.16.133 255.255.255.252
no shut
CopyRouter0 Basic configuration
int f0/0
ip add 76.12.16.134 255.255.255.252
no shut
int e0/2/0
ip add 76.12.96.254
no shut
int e0/0/0
ip add 76.12.32.254 255.255.255.0
no shut
R0 Route summary :76.12.0.0/16
ip route 76.12.0.0 255.255.0.0 12.12.12.2
CopyR0 Default routing settings
ip route 0.0.0.0 0.0.0.0 76.12.16.133
R1 Routing settings
ip route 76.12.0.0 255.255.0.0 76.12.16.134 # Configure subnet routing on the left
ip route 0.0.0.0 0.0.0.0 12.12.12.1 # Configure the default route on the right
边栏推荐
- Yearning-SQL审核平台
- CVPR 2022丨学习用于小样本语义分割的非目标知识
- Discuss | frankly, why is it difficult to implement industrial AR applications?
- 将模型的记忆保存下来!Meta&UC Berkeley提出MeMViT,建模时间支持比现有模型长30倍,计算量仅增加4.5%...
- 高考填志愿规则
- 3分钟学会制作动态折线图!
- 科学家首次观察到“电子漩涡” 有助于设计出更高效的电子产品
- Test for 3 months, successful entry "byte", my interview experience summary
- 强化学习-学习笔记8 | Q-learning
- 万字保姆级长文——Linkedin元数据管理平台Datahub离线安装指南
猜你喜欢
What skills can you master to be a "master tester" when doing software testing?
低代码助力企业数字化转型会让程序员失业?
Chapter 3 business function development (user login)
Some key points in the analysis of spot Silver
ICer知识点杂烩(后附大量题目,持续更新中)
Introduction of common API for socket programming and code implementation of socket, select, poll, epoll high concurrency server model
[OKR target management] case analysis
Summary of debian10 system problems
Kirk Borne的本周学习资源精选【点击标题直接下载】
【Unity Shader】插入Pass实现模型遮挡X光透视效果
随机推荐
讨论 | AR 应用落地前,要做好哪些准备?
Chapter 2 building CRM project development environment (building development environment)
[principles and technologies of network attack and Defense] Chapter 3: network reconnaissance technology
Mobile pixel bird game JS play code
Tips for this week 131: special member functions and ` = Default`
Pro2: modify the color of div block
CVPR 2022丨学习用于小样本语义分割的非目标知识
行业案例|数字化经营底座助力寿险行业转型
回归测试的分类
磁盘存储链式的B树与B+树
现在网上期货开户安全吗?国内有多少家正规的期货公司?
[paddleseg source code reading] add boundary IOU calculation in paddleseg validation (1) -- val.py file details tips
Skills of embedded C language program debugging and macro use
SD_DATA_RECEIVE_SHIFT_REGISTER
备份阿里云实例-oss-browser
SQLite SQL exception near "with": syntax error
[4500 word summary] a complete set of skills that a software testing engineer needs to master
Using stored procedures, timers, triggers to solve data analysis problems
[principle and technology of network attack and Defense] Chapter 1: Introduction
socket编程之常用api介绍与socket、select、poll、epoll高并发服务器模型代码实现