Buffl

Day 25 RIP

as
by abdullah S.

RIP Configuration - Line by Line Explanation


Line 1: Router(config)# router rip

Router(config)# router rip

Part

Meaning

Router

Hostname of the router

(config)#

You are in Global Configuration Mode

router rip

Command to enable RIP routing protocol

What it does:

  • Activates the RIP routing process

  • Enters RIP configuration mode

  • Prompt changes to (config-router)#


Line 2: Router(config-router)# version 2

Router(config-router)# version 2

Part

Meaning

(config-router)#

You are now in Router Configuration Mode

version 2

Use RIP version 2

What it does:

  • Enables RIPv2 features:

    • ✅ Supports subnetting (VLSM)

    • ✅ Sends subnet mask in updates

    • ✅ Uses multicast (224.0.0.9) instead of broadcast

    • ✅ Supports authentication



Line 3: Router(config-router)# network 192.168.1.0

Router(config-router)# network 192.168.1.0

Part

Meaning

network

Command to specify which network to advertise

192.168.1.0

The network address to include in RIP

What it does:

  • Tells RIP which interfaces to use

  • Enables RIP on interfaces that belong to 192.168.1.0 network

  • Starts sending and receiving RIP updates on those interfaces

  • Advertises this network to neighbor routers

Example:

If your router has:

- Interface Fa0/0 = 192.168.1.1 → RIP enabled ✅

- Interface Fa0/1 = 10.0.0.1 → RIP NOT enabled ❌



Line 4: Router(config-router)# no auto-summary

Router(config-router)# no auto-summary

Part

Meaning

no

Disable a feature

auto-summary

Automatic summarization to classful boundaries

What it does:

  • Disables automatic summarization

  • Allows advertising subnet details instead of summarized classful networks

Example:

With auto-summary

Without auto-summary

192.168.1.0/24 → advertised as 192.168.0.0/16

192.168.1.0/24 → advertised as 192.168.1.0/24

Loses subnet info ❌

Keeps subnet info ✅

Why disable it?

  • Prevents routing problems in networks with discontiguous subnets

  • Maintains accurate subnet information


Complete Flow Diagram

┌─────────────────────────────────────────────────────────┐

│ Step 1: router rip → Enable RIP │

│ ↓ │

│ Step 2: version 2 → Use RIPv2 features │

│ ↓ │

│ Step 3: network 192.168.1.0 → Advertise this network │

│ ↓ │

│ Step 4: no auto-summary → Send exact subnets │

└─────────────────────────────────────────────────────────┘


Verification Commands

After configuration, verify with:

Router# show ip protocols → Shows RIP settings

Router# show ip route → Shows learned routes

Router# show ip rip database → Shows RIP database



Author

abdullah S.

Information

Last changed