2.3 RIP and OSPF Redistribution
2.3.1 RIP
If you like to redistribute routing information to OSPF, you have to tell RIP running
router process-id of OSPF and default-metric value. For example
Router(config-router)#redistribute ospf process-id
And default-metric value:
Router(config-router)#default-metric value
Value is a positive integer.
2.3.2 OSPF
In OSPF you have to mention any default-metric value, just give the next command, if
you like to transform routing information to RIP.
Router(config-router)#redistribute rip
In addition in classless addressing, you have to write subnets, like
Router(config-router)#redistribute rip subnets
2.3.3 Gateway
When you have a network with running a routing protocol and you like to connect it to
another network running B routing protocol throughout one or more routers, you have
to tell about border area router or gateway router with the following command. B
network is generally much bigger and for example the Internet.
Router(config-router)#default-information originate
2.3.4 LAN
If a LAN is connected to a router as shown in Fig. 3., you have to tell about it to the
router's routing protocol. Just write
Router(config-router)#redistribute connected
Figure 3. Redistributing to LAN
13
LAN