路由重分发配置实验

本文涉及的产品
云数据库 Redis 版,标准版 2GB
推荐场景:
搭建游戏排行榜
云原生内存数据库 Tair,内存型 2GB
简介: 路由重分发配置实验



R4


en
conf t
int f0/0
ip add 10.0.0.2 255.255.255.252
no sh
int loopback 0
ip add 192.168.3.1 255.255.255.0
no sh
exit
ip route 0.0.0.0 0.0.0.0 10.0.0.1


R3


en
conf t
int f0/0
ip add 10.0.0.5 255.255.255.252
no sh
int f0/1
ip add 10.0.0.1 255.255.255.252
no sh
exit
ip route 192.168.3.0 255.255.255.0 10.0.0.2
router ospf 1
router-id 3.3.3.3
network 10.0.0.4 0.0.0.3 area 1
router ospf 1 redistribte static subnets
redistribute connected subnets


R1


int f0/0
ip add 10.0.0.6 255.255.255.252
no sh
int f0/1
ip add 172.16.31..2 255.255.255.252
no sh
int f1/0
ip add 10.0.0.9 255.25.255.252
no sh
exit
router ospf 1
router-id 1.1.1.1
network 10.0.0.8 0.0.0.3 area 0
network 10.0.0.4 0.0.0.3 area 1
exit
ip route 0.0.0.0 0.0.0.0 172.16.31.1


R2


en
conf t
int f0/0
ip add 10.0.0.10 255.255.255.252
no sh
int f0/1
ip add 192.168.100.1 255.255.255.0
no sh
exit
router ospf 1
router-id 2.2.2.2
network 10.0.0.8 0.0.0.3 area 0
exit
router rip
network 192.168.100.0
router ospf 1
redistribute rip stbnets
exit
router rip
redistribute ospf 1 metric 9


R5


int f0/0
ip add 192.168.100.2 255.255.255.0
no sh
int loopback 0
ip add 192.168.2.1 255.255.255.0
no sh
exit
router rip
network 192.168.100.0
network 192.168.2.0


R6


en
conf t
int f0/0
ip add 172.16.31.1 255.255.255.252
no sh
int loopback 0
ip add 59.56.61.1 255.255.255.0
no sh
exit
ip route 0.0.0.0 0.0.0.0 172.16.31.2
相关实践学习
基于Redis实现在线游戏积分排行榜
本场景将介绍如何基于Redis数据库实现在线游戏中的游戏玩家积分排行榜功能。
云数据库 Redis 版使用教程
云数据库Redis版是兼容Redis协议标准的、提供持久化的内存数据库服务,基于高可靠双机热备架构及可无缝扩展的集群架构,满足高读写性能场景及容量需弹性变配的业务需求。 产品详情:https://www.aliyun.com/product/kvstore     ------------------------------------------------------------------------- 阿里云数据库体验:数据库上云实战 开发者云会免费提供一台带自建MySQL的源数据库 ECS 实例和一台目标数据库 RDS实例。跟着指引,您可以一步步实现将ECS自建数据库迁移到目标数据库RDS。 点击下方链接,领取免费ECS&RDS资源,30分钟完成数据库上云实战!https://developer.aliyun.com/adc/scenario/51eefbd1894e42f6bb9acacadd3f9121?spm=a2c6h.13788135.J_3257954370.9.4ba85f24utseFl
相关文章
|
27天前
|
监控 网络协议 数据安全/隐私保护
当 OSPF 未分发特定路由时的应对策略
【8月更文挑战第24天】
23 0
|
网络架构
动态路由实验
动态路由实验
50 0
|
网络协议 网络架构