当前位置:网站首页>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
边栏推荐
- Some key points in the analysis of spot Silver
- Live broadcast software construction, canvas Text Bold
- Disk storage chain B-tree and b+ tree
- Tips for short-term operation of spot silver that cannot be ignored
- 云景网络科技面试题【杭州多测师】【杭州多测师_王sir】
- [principle and technology of network attack and Defense] Chapter 1: Introduction
- Do you really understand sticky bag and half bag? 3 minutes to understand it
- SD_DATA_SEND_SHIFT_REGISTER
- 3分钟学会制作动态折线图!
- 嵌入式C语言程序调试和宏使用的技巧
猜你喜欢
Understanding of 12 methods of enterprise management
[trusted computing] Lesson 13: TPM extended authorization and key management
socket編程之常用api介紹與socket、select、poll、epoll高並發服務器模型代碼實現
Discuss | what preparations should be made before ar application is launched?
Some key points in the analysis of spot Silver
Yearning-SQL审核平台
卖空、加印、保库存,东方甄选居然一个月在抖音卖了266万单书
Debian10 compile and install MySQL
元宇宙带来的创意性改变
海量数据去重的hash,bitmap与布隆过滤器Bloom Filter
随机推荐
强化学习-学习笔记8 | Q-learning
卖空、加印、保库存,东方甄选居然一个月在抖音卖了266万单书
磁盘存储链式的B树与B+树
直播软件搭建,canvas文字加粗
Tips for this week 131: special member functions and ` = Default`
Year SQL audit platform
小程序中实现付款功能
体总:安全有序恢复线下体育赛事,力争做到国内赛事应办尽办
开发一个小程序商城需要多少钱?
[principle and technology of network attack and Defense] Chapter 7: password attack technology Chapter 8: network monitoring technology
Win11C盘满了怎么清理?Win11清理C盘的方法
Industry case | digital operation base helps the transformation of life insurance industry
debian10编译安装mysql
Chapter 3 business function development (to remember account and password)
Mui side navigation anchor positioning JS special effect
上市十天就下线过万台,欧尚Z6产品实力备受点赞
Introduction to OTA technology of Internet of things
Kirk Borne的本周学习资源精选【点击标题直接下载】
Tips for this week 140: constants: safety idioms
回归问题的评价指标和重要知识点总结