Advertise default routes using RIP

Consider the following example network:In the network above we have three routers running RIP. Router R3 is connected to the ISP’s internet router and and has a static default route that points to it. It is possible to advertise that default route using RIP to other routers in the local network. On R3, we simply need to enter the default-information originate command in the RIP configuration mode.Here is the configuration on R3:R3(config)#ip route 0.0.0.0 0.0.0.0 50.50.50.1 R3(config)#router Read more [...]

RIP loop prevention

Distance vector protocols are susceptible to routing loops. Routing loops occur when a packet is continually routed through the same routers over and over again, in an endless circle. Because they can render a network unusable, distance vector routing protocols (such as RIP and EIGRP) employ several different mechanisms to prevent routing loops. We will describe them in this article.Split HorizonSplit horizon is one of the features of distance vector routing protocols that prevents routing loops. Read more [...]

passive-interface command

Consider the following example network with RIP turned on:The RIP configuration on R2 looks like this:router rip version 2 network 10.0.0.0 network 192.168.0.0 As we’ve already mentioned, the network command does two things:advertises the defined network in RIP.activates RIP on the interfaces whose addresses fall within the specified classful networks. So in the example network above, RIP will also be activated on the interface connected to the workstation on the right. This means that Read more [...]

Configuring RIPv2

Configuring RIPv2 is a pretty straightforward process. Only three steps are required:1. enabling RIP by using the router rip global configuration command 2. instructing the router to use RIPv2 by typing the version 2 command 3. telling RIP which networks to advertise by using one or more network commands.The first two commands are easy to comprehend, but the last command requires a little bit more thought. With the network command you specify which interfaces will participate in the routing process. Read more [...]

RIP overview

RIP (Routing Information Protocol) is one of the oldest distance vector routing protocols. It is usually used on small networks because it is very simple to configure and maintain, but lacks some advanced features of routing protocols like OSPF or EIGRP. Two versions of the protocol exists: version 1 and version 2. Both versions use hop count as a metric and have the administrative distance of 120. RIP version 2 is capable of advertising subnet masks and uses multicast to send routing updates, while Read more [...]