Posts

Showing posts with the label RIP

Routing Information Protocol - A Brief Theory

The Routing Information Protocol (RIP) is a comparatively old interior gateway protocol (IGP) still in widespread use. IGPs are used for routing within networks that are under a common network administration, whereas exterior gateway protocols are used to exchange routing information between networks. As an IGP, RIP performs routing only within a single autonomous system. RIP is a classical distance vector routing protocol that uses hop count as its metric for determining the best route to a given destination. RIP Routing Updates RIP sends routing update messages at regular 30-second intervals and when the network topology changes. RIP uses broadcast User Datagram Protocol (UDP) data packets to exchange routing information. The routing update process is termed advertising.  When a router receives a routing update that includes changes to an entry, it updates its routing table to reflect the new route. The metric value for the path is increased by 1, and the sender is indica...

Redistributing Static Routes into RIP

The redistribute static command tells RIP to forward static routes in addition to the directly connected routes and the routes that have been learned from other RIP routers, which it forwards by default: Router1#configure terminal Enter configuration commands, one per line.  End with CNTL/Z. Router1(config)#ip route 192.168.10.0 255.255.255.0 172.22.1.4 Router1(config)#router rip Router1(config-router)#redistribute static Router1(config-router)#end Router1# You can define how these routes look to other routers when they are redistributed: Router1#configure terminal Enter configuration commands, one per line.  End with CNTL/Z. Router1(config)#ip route 192.168.10.0 255.255.255.0 172.22.1.4 Router1(config)#router rip                 Router1(config-router)#redistribute static metric 5 Router1(config-router)#distribute-list 7 out static Router1(config-router)#exit Router1(config)#access-list 7 permit 192.168.10.0 Rou...