Practical 8
AIM:
To configure routers using the RIP (Routing Information Protocol) for effective data packet routing.
Introduction to RIP:
Routing Information Protocol (RIP) is a distance-vector routing protocol used primarily in smaller local and wide area networks. It enables routers to exchange routing information based on the hop count, guiding packets along the best available paths.
Advantages of RIP:
- Simplicity: Easy to configure, suitable for smaller networks.
- Standardized Protocol: Supported across various devices and platforms.
- Low Overhead: Minimal processing requirements using simple metrics.
Disadvantages of RIP:
- Limited Scalability: Maximum hop count of 15, making it unsuitable for large networks.
- Slow Convergence: Delays in propagating updates may cause temporary routing loops or outages.
- Inefficient Routing: Routes solely based on hop count, ignoring bandwidth or latency, which can lead to suboptimal routing.
Step-by-Step Configuration:
Step 1: Configuring Routers
Router 1 Configuration:
- Open CLI on Router 1 and press
ENTER
to begin configuration. - Type
enable
to activate privileged mode. - Type
config t
(configure terminal) to access the configuration menu. - Configure RIP protocol and assign networks:
Router(config)# router rip Router(config-router)# network 192.168.1.0 Router(config-router)# network 10.0.0.0 Router(config-router)# exit
Router 2 Configuration:
- Follow steps similar to Router 1 to enter CLI and configuration mode.
- Configure RIP protocol and assign networks:
Router(config)# router rip Router(config-router)# network 192.168.2.0 Router(config-router)# network 10.0.0.0 Router(config-router)# exit
Step 2: Configuring PCs
- Assign IP Addresses to each PC in the network.
- For each PC:
- Go to Desktop > IP Configuration.
- Assign an IP address, Default Gateway, and Subnet Mask.
- Example Configuration:
- PC0 Default Gateway:
192.168.10.1
- PC1 Default Gateway:
192.168.20.1
- PC0 Default Gateway:
Step 3: Connecting PCs to the Router
- PC0: Connect the FastEthernet0 port on PC0 to the FastEthernet0/0 port on Router 1 using a copper straight-through cable.
- PC1: Connect the FastEthernet0 port on PC1 to the FastEthernet0/1 port on Router 1 using a copper straight-through cable.
Last updated on