Skip to content

Commit e849f80

Browse files
committed
Tutorial 9
Tutorial 9 Tutorial 9
1 parent 0ef6e50 commit e849f80

File tree

20 files changed

+293
-2
lines changed

20 files changed

+293
-2
lines changed

_toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ parts:
2727
- file: cisco/tutorial-series/tutorial5
2828
- file: cisco/tutorial-series/tutorial6
2929
- file: cisco/tutorial-series/tutorial7
30+
- file: cisco/tutorial-series/tutorial8
31+
- file: cisco/tutorial-series/tutorial9
3032

3133
- file: cisco/handy-tips/index
3234
title: Packet Tracer Handy Tips
78 Bytes
Binary file not shown.
50.2 KB
Binary file not shown.

cisco/tutorial-series/tutorial4.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ Use **Copper Straight-Through** cables for switch-to-router connections:
8383
* **Switch0** `fa0/24` to **Router0** `gig0/0`
8484
* **Switch1** `fa0/24` to **Router0** `gig0/1`
8585

86+
```{admonition} Note
87+
:class: note
88+
For clarity and future expansion, I recommend connecting the switch to the router using the last available port on the switch (for example, fa0/24). This keeps the lower-numbered ports free for connecting PCs and other end devices.
89+
```
90+
8691
![Figure 2](../../img/cisco-tutorials/tutorial-4/fig3.png)
8792

8893
#### Cabling Tips

cisco/tutorial-series/tutorial9.md

Lines changed: 286 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,287 @@
1-
# 9 - Networks with Multiple Routers with Static Routing
1+
# 9 - Configuring RIP Routing in Cisco Packet Tracer
22

3-
This will show how to set up a network with multiple routers, including static routing.
3+
This tutorial is the ninth in our Cisco Packet Tracer series and introduces **dynamic routing** using the **Routing Information Protocol (RIP)**. Unlike static routes, RIP enables routers to exchange routing information automatically, making it easier to scale and manage networks with multiple paths.
4+
5+
We’ll build a three-router network, each connected to a local switch and two PCs, configure IP addressing, set up RIP on each router, and test connectivity between all endpoints.
6+
7+
---
8+
9+
## Part 1 – Network Topology Overview
10+
11+
This network includes:
12+
13+
* **Three routers (R1, R2, R3)** connected in a linear series
14+
* **Three switches (S1, S2, S3)** – one per router
15+
* **Two PCs per switch** (6 total PCs)
16+
17+
The goal is to enable all PCs to communicate through RIP-configured routers.
18+
19+
![Figure](../../img/cisco-tutorials/tutorial-9/fig14.png)
20+
21+
---
22+
23+
## Part 2 – Device Placement and Cabling
24+
25+
### Step 2.1 – Add Devices to the Workspace
26+
27+
From **Network Devices** and **End Devices**, place:
28+
29+
* **3 Routers** (Router-PT-Empty)
30+
* **3 Switches** (2960)
31+
* **6 PCs**
32+
33+
Label the devices:
34+
35+
* Routers: **R0**, **R1**, **R2**
36+
* Switches: **S0**, **S1**, **S2**
37+
* PCs: **PC0–PC5**
38+
39+
![Figure](../../img/cisco-tutorials/tutorial-9/fig5.png)
40+
41+
### Step 2.2 – Add Network Modules to Routers
42+
43+
For this topology, use **Router-PT-Empty** devices. Each router needs **two Serial** and **two FastEthernet** interfaces to support all required connections.
44+
45+
```{admonition} Note
46+
:class: note
47+
We will only be using one serial and one FastEthernet interface per router for this tutorial, but the additional interfaces will allow for future expansion in subequent tutorials.
48+
```
49+
50+
Follow these steps for **R0**, **R1**, and **R2**:
51+
52+
1. Click the router to open its configuration window.
53+
2. Go to the **Physical** tab.
54+
3. Click the **power button** to turn off the router (the green light will go out).
55+
![Figure](../../img/cisco-tutorials/tutorial-9/fig1.png)
56+
4. In the module area, locate **PT-ROUTER-NM-1S** (Serial Port) and **PT-ROUTER-NM-1CFE** (FastEthernet).
57+
5. Drag and insert **two** PT-ROUTER-NM-1S modules into the first two empty slots (from right to left).
58+
![Figure](../../img/cisco-tutorials/tutorial-9/fig2.png)
59+
6. Drag and insert **two** PT-ROUTER-NM-1CFE modules into the next two empty slots.
60+
![Figure](../../img/cisco-tutorials/tutorial-9/fig3.png)
61+
7. Click the **power button** again to turn the router back on.
62+
![Figure](../../img/cisco-tutorials/tutorial-9/fig4.png)
63+
64+
### Step 2.2 – Cabling
65+
66+
Now we will connect the devices using appropriate cables:
67+
68+
```{admonition} Note
69+
:class: note
70+
For clarity and future expansion, I recommend connecting the switch to the router using the last available port on the switch (for example, fa0/24). This keeps the lower-numbered ports free for connecting PCs and other end devices.
71+
```
72+
73+
#### **Copper Straight-Through Connections**
74+
75+
| From | To | Port/Interface |
76+
|--------|------|------------------------|
77+
| PC0 | S1 | fa0/1 |
78+
| PC1 | S1 | fa0/2 |
79+
| S1 | R0 | fa0/24 → fa2/0 |
80+
| PC2 | S2 | fa0/1 |
81+
| PC3 | S2 | fa0/2 |
82+
| S2 | R1 | fa0/24 → fa2/0 |
83+
| PC4 | S3 | fa0/1 |
84+
| PC5 | S3 | fa0/2 |
85+
| S3 | R2 | fa0/24 → fa2/0 |
86+
87+
#### **Serial DTE Connections**
88+
89+
| From | To | Port/Interface |
90+
|------|----|-------------------|
91+
| R0 | R1 | se0/0 ↔ se1/0 |
92+
| R1 | R2 | se0/0 ↔ se1/0 |
93+
94+
![Figure](../../img/cisco-tutorials/tutorial-9/fig6.png)
95+
96+
---
97+
98+
## Part 3 – IP Addressing Scheme
99+
100+
Now we will assign IP addresses to all devices, ensuring they can communicate across the network.
101+
102+
### Subnet Allocation
103+
104+
For this tutorial, we will use the following subnets:
105+
106+
| Subnet | Devices | Subnet Mask |
107+
| -------------- | ------------ | --------------- |
108+
| 192.168.1.0/24 | PC0, PC1, R0 | 255.255.255.0 |
109+
| 192.168.2.0/24 | PC2, PC3, R1 | 255.255.255.0 |
110+
| 192.168.3.0/24 | PC4, PC5, R2 | 255.255.255.0 |
111+
| 10.0.0.0/30 | R0 ↔ R1 | 255.0.0.0 |
112+
| 11.0.0.0/30 | R1 ↔ R2 | 255.0.0.0 |
113+
114+
### Step 3.1 – Assign IPs to PCs
115+
116+
Go to **Desktop > IP Configuration** on each PC:
117+
118+
| PC | IP Address | Subnet Mask | Default Gateway |
119+
|------|-----------------|-----------------|-------------------|
120+
| PC0 | 192.168.1.10 | 255.255.255.0 | 192.168.1.1 |
121+
| PC1 | 192.168.1.11 | 255.255.255.0 | 192.168.1.1 |
122+
| PC2 | 192.168.2.12 | 255.255.255.0 | 192.168.2.1 |
123+
| PC3 | 192.168.2.13 | 255.255.255.0 | 192.168.2.1 |
124+
| PC4 | 192.168.3.14 | 255.255.255.0 | 192.168.3.1 |
125+
| PC5 | 192.168.3.15 | 255.255.255.0 | 192.168.3.1 |
126+
127+
![Figure](../../img/cisco-tutorials/tutorial-9/fig7.png)
128+
129+
![Figure](../../img/cisco-tutorials/tutorial-9/fig8.png)
130+
131+
```{admonition} Important
132+
:class: important
133+
Make a save of your Packet Tracer file now before you start configuring the router, we will be using this same set up in the next few tutorials as we explore different routing protocols.
134+
```
135+
136+
137+
---
138+
139+
## Part 4 – Router Configuration
140+
141+
Each router in this network handles two types of connections:
142+
143+
- LAN-side via FastEthernet2/0, connected to a local switch
144+
- WAN-side via Serial interfaces, connected to neighbouring routers
145+
- All routers will be configured with RIP version 1 for dynamic routing
146+
147+
### Step 4.1 – R0 Configuration
148+
149+
```{admonition} Tip
150+
:class: tip
151+
The shorthand for `configure terminal` is `conf t`, which can save time when entering commands.
152+
```
153+
154+
```bash
155+
enable
156+
configure terminal
157+
hostname R0
158+
159+
interface fa2/0
160+
ip address 192.168.1.1 255.255.255.0
161+
no shutdown
162+
exit
163+
164+
interface se0/0
165+
ip address 10.0.0.1 255.0.0.0
166+
clock rate 64000
167+
no shutdown
168+
exit
169+
170+
router rip
171+
version 1
172+
network 192.168.1.0
173+
network 10.0.0.0
174+
exit
175+
```
176+
177+
![Figure](../../img/cisco-tutorials/tutorial-9/fig9.png)
178+
179+
### Step 4.2 – R1 Configuration
180+
181+
```bash
182+
enable
183+
configure terminal
184+
hostname R1
185+
186+
interface fa2/0
187+
ip address 192.168.2.1 255.255.255.0
188+
no shutdown
189+
exit
190+
191+
interface se1/0
192+
ip address 10.0.0.2 255.0.0.0
193+
no shutdown
194+
exit
195+
196+
interface se0/0
197+
ip address 11.0.0.1 255.0.0.0
198+
clock rate 64000
199+
no shutdown
200+
exit
201+
202+
router rip
203+
version 1
204+
network 192.168.2.0
205+
network 10.0.0.0
206+
network 11.0.0.0
207+
exit
208+
```
209+
210+
### Step 4.3 – R2 Configuration
211+
212+
```bash
213+
enable
214+
configure terminal
215+
hostname R2
216+
217+
interface fa2/0
218+
ip address 192.168.3.1 255.255.255.0
219+
no shutdown
220+
exit
221+
222+
interface se1/0
223+
ip address 11.0.0.2 255.0.0.0
224+
no shutdown
225+
exit
226+
227+
router rip
228+
version 1
229+
network 192.168.3.0
230+
network 11.0.0.0
231+
exit
232+
```
233+
234+
![Figure](../../img/cisco-tutorials/tutorial-9/fig10.png)
235+
236+
---
237+
238+
## Part 5 – Verification and Testing
239+
240+
So now your network should be fully configured with RIP routing. The next step is to verify that all devices can communicate across the network.
241+
242+
![Figure](../../img/cisco-tutorials/tutorial-9/fig14.png)
243+
244+
### Step 5.1 – Check Routing Tables
245+
246+
Run on each router:
247+
248+
```bash
249+
show ip route
250+
```
251+
252+
You should see RIP routes (`R`) to all remote networks.
253+
254+
![Figure](../../img/cisco-tutorials/tutorial-9/fig11.png)
255+
256+
### Step 5.2 – Test Connectivity
257+
258+
From **PC0**, run:
259+
260+
```bash
261+
ping 192.168.1.11
262+
ping 192.168.2.12
263+
ping 192.168.3.14
264+
```
265+
266+
![Figure](../../img/cisco-tutorials/tutorial-9/fig12.png)
267+
268+
From **PC3**, ping **PC4**:
269+
270+
```bash
271+
ping 192.168.3.14
272+
```
273+
274+
![Figure](../../img/cisco-tutorials/tutorial-9/fig13.png)
275+
276+
Repeat pings between any devices across networks.
277+
278+
---
279+
280+
## Summary
281+
282+
In this tutorial, you:
283+
284+
* Built a three-router, three-switch network with six PCs
285+
* Assigned IPs and default gateways to all devices
286+
* Configured RIP v1 on each router
287+
* Verified full network reachability using dynamic routing
46.3 KB
Loading
58.7 KB
Loading
37.3 KB
Loading
75.9 KB
Loading
32.9 KB
Loading

0 commit comments

Comments
 (0)