RIP & EIGRP
RIP (Routing Information Protocol)
It is an industry standard protocol.
Distance vector IGP (uses routing-by-rumor logic to learn/share routes).
Uses hop count as its metric. One router = one hope (bandwidth is irrelevant).
The maximum hop count is 15 (anything more than that is considered unreachable).
Has three versions:
RIPv1 and RIPv2, used for IPv4.
RIPng (RIP Next Generation), used for IPv6.
Uses two message types:
Request: To ask RIP-enabled routers to send their routing table.
Response: To send the local router's routing table to neighboring routers.
By default, RIP-enabled routers will share their routing table every 30 seconds.
RIPv1
Only advertises classful addresses (Class A, Class B, Class C)
Does not support VLSM, CIDR
Does not include subnet mask information in advertisements (Response messages)
Its messages are broadcast to 255.255.255.255
RIPv2
Supports VLSM, CIDR
Includes subnet mask information in advertisements
Messages are multicast to 224.0.0.9 (Class D range)
RIP Configuration

The RIP 'network' command is classful, so it will automatically convert to classful networks.
For example, even if you enter the command network 10.0.12.0, it will be converted to network 10.0.0.0 (Class A network).
There is no need to enter the network mask.
The network command tells the router to:
Look for interfaces with an IP address that is in the specified range.
Activate RIP on the interfaces that fall in the range.
Form adjacencies with connected RIP neighbors.
Advertise the network prefix of the interface (NOT the prefix in the network command).
The OSPF and EIGRP network commands operate in the same way.
The network command does not tell the router which networks to advertise. It tells the router which interfaces to activate RIP on, and then the router will advertise the network prefix of these interfaces.
Although there are no RIP neighbors connected to G2/0, R1 will continuously send RIP advertisements out of G2/0. This is unnecessary traffic, so G2/0 should be configured as a passive interface.
The passive-interface command tells the router to stop sending RIP advertisements out of the specified interface (G2/0).
However, the router will continue to advertise the network prefix of the interface (172.16.1.0/28) to its RIP neighbors (R2, R3).
EIGRP and OSPF both have the same passive interface functionality, using the same command.
Advertise a default route into RIP.

EIGRP (Enhanced Interior Gateway Routing Protocol)
Was Cisco proprietary, but Cisco has now published it openly so other vendors can implement it on their equipment.
Considered an 'advanced' / 'hybrid' distance vector routing protocol.
Much faster than RIP in reacting to changes in the network.
Does not have the 15 'hop-count' limit of RIP.
Sends messages using multicast address 224.0.0.10
Is the only IGP that can perfom unequa l-cost load-balancing (by default it performs ECMP load-balancing over 4 paths like RIP).
EIGRP Configuration
The AS (Autonomous System) number must match between routers, or they will not form an adjacency and share route information.
The network command will assume a classful address if you do not specify the mask.
EIGRP uses a 'wildcard mask' instead of a regular subnet mask.
In the routing table, EIGRP routes are indicated with the letter D, not E.
Router ID order of priority:
Manual configuration
Highest IP address on a loopback interface
Highest IP address on a physical interface
Wildcard mask
A wildcard mask is basically an 'inverted' subnet mask.
All 1s in the subnet mask are 0 in the equivalent wildcard mask. All 0s in the subnet mask are 1 in the equivalent wildcard mask.
A shortcut is to subtract each octet of the subnet mask from 255.
'0' in the wildcard mask means that it must match.
'1' in the wildcard mask means that it does not have to match.
Last updated