RIP & EIGRP

Done

RIP (Routing Information Protocol)

RIPv1 vs RIPv2

RIPv1:

RIPv2:

💡
REMEMBERING: Broadcast messages are delivered to all devices on the same LAN (Broadcast Domain) Multicast messages are delivered only to devices that have joined that multicast group.

Configuration

Enter RIP configuration mode

configure terminal
router rip

Select the RIP version

version 2 // In RIP configuration mode

Disable Auto-summary

This function saves bites in the wire by not sending the mask

no auto-summary // In RIP configuration mode

Specify which networks advertise

This command specifies which interface it will activate RIP and also what networks it will advertise

network {subnet ID}  // In RIP configuration mode
💡
It will resolve it to a classful ip address, activating rip in all the interfaces in that class range and advertises all networks in that same range.

Disable RIP messages on an interface

passive-interface {interface}  // IN RIP CONFIGURATION MODE

Share the same default route

default-information originate  // In RIP configuration mode

Change the number of maximum similar paths in the routing table

maximum-paths {1-32}  // In RIP configuration mode

Change de Administrative Distance

distance {value} // In RIP configuration mode

EIGRP

It was Cisco`s Proprietary routing protocol, however Cisco`s published it openly so other vendors could implement it. But, it is still not widely used, being still considered Cisco`s protocol.

Enter EIGRP Configuration mode

configure terminal
router eigrp {as value}
💡
IMPORTANT: You need to specify the autonomous system, organization, number. And all the routers that will use that EIGRP will need to have the same value, similar to the domain in VTP.

Disable Auto-Summary

It is the same as RIP, which advertises and assumes only classful IP Addresses are used, so you better disable it.

router eigrp 1
no auto-summary

Network command

It works the same as in RIP and OSPF. It will specify the range of IP Addresses, and any interface in that range will both send EIGRP messages and will advertise their subnet/network.

However, you can use a WILDMASK here (The inverse of a subnet mask), to specify only that range of ip address instead of a range which defaults to the classful rules of /8, /16 and /24.

configure terminal
router eigrp 1
no auto-summary
network 192.168.2.0 0.0.0.255

Each router in a EIGRP Autonomous System will have a unique Router ID which can be defined as followed:

  1. Manual Configuration (eigrp router-id value)
  1. Highest IP Address on a loopback interface (Router`s virtual interface)
  1. Highest IP Address on a physical interface

See EIGRP Neighbors - Adjancies

show ip eigrp neighbors

See all the routes advertised (including the ones that were not selected)

show ip eigrp topology
💡
REMEMBER: Metric = Bandwidth of the Slowest Link + delay of all links The delay is a number that is related to an interface bandwidth.

Terminology

Unequal-Cost Load-Balancing