设为首页收藏本站language 语言切换
查看: 1151|回复: 0
收起左侧

RIP and OSPF Redistribution

[复制链接]
发表于 2013-9-13 14:17:57 | 显示全部楼层 |阅读模式
RIP and OSPF Redistribution

This case study addresses the issue of integrating Routing Information Protocol (RIP) networks with Open Shortest Path First (OSPF) networks. Most OSPF networks also use RIP to communicate with hosts or to communicate with portions of the internetwork that do not use OSPF. Cisco supports both the RIP and OSPF protocols and provides a way to exchange routing information between RIP and OSPF networks. This case study provides examples of how to complete the following phases in redistributing information between RIP and OSPF networks, including the following topics:


  • Configuring a RIP Network

  • Adding OSPF to the Center of a RIP Network

  • Adding OSPF Areas

  • Setting Up Mutual Redistribution

Configuring a RIP Network

Figure 14-1 illustrates a RIP network. Three sites are connected with serial lines. The RIP network uses a Class B address and an 8-bit subnet mask. Each site has a contiguous set of network numbers.


Figure 14-1: A RIP network.

                               
登录/注册后可看大图

Table 14-1 lists the network address assignments for the RIP network, including the network number, subnet range, and subnet masks. All interfaces indicate network 130.10.0.0; however, the specific address includes the subnet and subnet mask. For example, serial interface 0 on Router C has an IP address of 130.10.63.3 with a subnet mask of 255.255.255.0.


Table 14-1: RIP Network Address Assignments
Network Number
Subnets
Subnet Masks
130.10.0.0
Site A: 8 through 15
255.255.255.0
130.10.0.0
Site B: 16 through 23
255.255.255.0
130.10.0.0
Site C: 24 through 31
255.255.255.0
130.10.0.0
Serial Backbone: 62 through 64
255.255.255.0
Configuration File Examples

The following commands in the configuration file for Router A determine the IP address for each interface and enable RIP on those interfaces:

interface serial 0ip address 130.10.62.1 255.255.255.0interface serial 1ip address 130.10.63.1 255.255.255.0interface ethernet 0ip address 130.10.8.1 255.255.255.0interface tokenring 0ip address 130.10.9.1 255.255.255.0router ripnetwork 130.10.0.0The following commands in the configuration file for Router B determine the IP address for each interface and enable RIP on those interfaces:
interface serial 0ip address 130.10.62.2 255.255.255.0interface serial 1ip address 130.10.64.2 255.255.255.0interface ethernet 0ip address 130.10.17.2 255.255.255.0interface tokenring 0ip address 130.10.16.2 255.255.255.0router ripnetwork 130.10.0.0

The following commands in the configuration file for Router C determine the IP address for each interface and enable RIP on those interfaces:

interface serial 0ip address 130.10.63.3 255.255.255.0interface serial 1ip address 130.10.64.3 255.255.255.0interface ethernet 0ip address 130.10.24.3 255.255.255.0router ripnetwork 130.10.0.0Easyinlab Welcome


您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-2 15:59 , Processed in 0.055019 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表