RIP (Routing Information Protocol) is a dynamic routing protocol and classified as a distance vector protocol. RIPv2, the version 2 of RIP, is used for IPv4 routing in small networks. It is a classless and defined in RFC 1723. As a classless routing protocol, RIPv2 does not include subnet masks in the routing updates. By default, RIPv2 automatically summarizes networks at major network boundaries. When automatic summarization has been disabled, RIPv2 no longer summarizes networks to their classful address at boundary routers.
Here is the content:
- General Information
- Timers
- Configuration
| No. | Protocol | AD | Algorithm | Published Year | Reference |
|---|---|---|---|---|---|
| 1 | RIPv1 | 120 | Bellman-Ford and Ford–Fulkerson | 1988 | RFC 1058 |
| 2 | RIPv2 | 120 | Bellman-Ford and Ford–Fulkerson | 1994 | RFC 1723 |
- RIPv2 sends routing update messages at regular intervals (every 30 seconds) and when the network topology changes.
- RIPv2 send messages to all adjacent routers at the multicast address 224.0.0.9. When a device receives a RIP routing update that includes changes to an entry, the device updates its routing table to reflect the new route.
- RIPv2 uses the single metric, hop count, to determine the best paths. The best paths are the ones having the lowest number of hops.
- RIPv2 supports authentication, key management, route summarization, classless interdomain routing (CIDR), and variable-length subnet masks (VLSMs).
- RIPv2 has two modes of authentication on an interface including plain-text authentication and message digest algorithm 5 (MD5) authentication. Plain-text authentication is the default authentication.
- Update Timer: 30 seconds
- Invalid Timer: 180 seconds
- Flush Timer: 240 seconds
- Holddown Timer: 180 seconds
Download Lab1-RIPv2.pdf
Download RIPv2.pkt (Packet Tracer 7.3.1)
How to Download Packet Tracer
| Device | Interface | IP Address | Subnet Mask | Default Gateway |
|---|---|---|---|---|
| R1 | G0/0 | 172.16.1.1 | 255.255.255.0 | N/A |
| S0/0/0 (DCE) | 172.16.4.1 | 255.255.255.0 | N/A | |
| S0/0/1 | 100.100.100.1 | 255.255.255.0 | N/A | |
| R2 | G0/0 | 172.16.2.1 | 255.255.255.0 | N/A |
| S0/0/0 | 172.16.4.2 | 255.255.255.0 | N/A | |
| S0/0/1 (DCE) | 172.16.5.1 | 255.255.255.0 | N/A | |
| R3 | G0/0 | 172.16.3.1 | 255.255.255.0 | N/A |
| S0/0/0 | 172.16.5.2 | 255.255.255.0 | N/A | |
| ISP S0/2/0 | 100.100.100.2 | 255.255.255.0 | N/A | |
| Switch1 | N/A | VLAN 1 | N/A | N/A |
| Switch2 | N/A | VLAN 1 | N/A | N/A |
| Switch3 | N/A | VLAN 1 | N/A | N/A |
| PC0 | NIC | 172.16.1.2 | 255.255.255.0 | 172.16.1.1 |
| PC1 | NIC | 172.16.2.2 | 255.255.255.0 | 172.16.2.1 |
| PC2 | NIC | 172.16.3.2 | 255.255.255.0 | 172.16.3.1 |
Router R1:
enable
configure terminal
hostname R1
interface GigabitEthernet0/0
ip address 172.16.1.1 255.255.255.0
no shutdown
interface Serial0/0/0
ip address 172.16.4.1 255.255.255.0
clock rate 128000
no shutdown
interface Serial0/0/1
ip address 100.100.100.1 255.255.255.0
no shutdown
exit
router rip
version 2
passive-interface GigabitEthernet0/0
network 172.16.0.0
default-information originate
no auto-summary
exit
ip route 0.0.0.0 0.0.0.0 100.100.100.2
end
copy running-config startup-config
Router R2:
enable
configure terminal
hostname R2
interface GigabitEthernet0/0
ip address 172.16.2.1 255.255.255.0
no shutdown
interface Serial0/0/0
ip address 172.16.4.2 255.255.255.0
no shutdown
interface Serial0/0/1
ip address 172.16.5.1 255.255.255.0
clock rate 128000
no shutdown
exit
router rip
version 2
passive-interface GigabitEthernet0/0
network 172.16.0.0
no auto-summary
end
copy running-config startup-config
Router R3:
enable
configure terminal
hostname R3
interface GigabitEthernet0/0
ip address 172.16.3.1 255.255.255.0
no shutdown
interface Serial0/0/0
ip address 172.16.5.2 255.255.255.0
no shutdown
exit
router rip
version 2
passive-interface GigabitEthernet0/0
network 172.16.0.0
no auto-summary
end
copy running-config startup-config
Router ISP:
enable
configure terminal
hostname ISP
interface Serial0/2/0
ip address 100.100.100.2 255.255.255.0
clock rate 128000
end
copy running-config startup-config












