路由重分发配置实验

本文涉及的产品
云数据库 Redis 版,社区版 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
相关文章
|
8月前
|
网络架构
动态路由实验
动态路由实验
36 0
|
安全 Unix
BGP-4 的增强路由刷新能力
本文档是 Internet 工程任务组 (IETF) 的产品。它代表了 IETF 社区的共识。它已接受公众审查,并已获互联网工程指导小组 (IESG) 批准出版。有关 Internet 标准的更多信息,请参见 RFC 5741 的第 2 节。
296 0
BGP-4 的增强路由刷新能力
|
网络协议 网络架构
Cisco之路由重分发和配置NAT
在一个大型网络中可能存在着多种路由协议,因此关系到路由重分发的问题。网络架构如下图所示:架构说明1 R1为总公司路由器;2 R2、R5为上海分公司路由器;3 R3、R4为杭州分公司路由器;4 总公司和分公司之间使用OSPF协议,上海分公司使用RIP协议,而杭州分公司使用静态路由协议;5 所有分公司访问公网都通过总公司路由器R1实现;6 本地所带主机由Loopback1接口模拟;7 Loopback0使用192.168.255.0/24网段并且作为Router ID;一、配置基本信息1.R1配置R1(config)#hostname R1R1(config)#intR1(config-if)#n
Cisco之路由重分发和配置NAT
|
网络协议 网络架构