Skip to content

Commit aa662bf

Browse files
committed
Tutorial 11
1 parent 20ff661 commit aa662bf

File tree

11 files changed

+516
-163
lines changed

11 files changed

+516
-163
lines changed

_toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ parts:
3030
- file: cisco/tutorial-series/tutorial8
3131
- file: cisco/tutorial-series/tutorial9
3232
- file: cisco/tutorial-series/tutorial10
33+
- file: cisco/tutorial-series/tutorial11
3334

3435
- file: cisco/handy-tips/index
3536
title: Packet Tracer Handy Tips
Lines changed: 115 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
# 10 - Configuring Static Routing in Cisco Packet Tracer
1+
# 9 - Configuring RIP Routing in Cisco Packet Tracer
22

3-
This tutorial is the tenth in our Cisco Packet Tracer series and focuses on **static routing**, a foundational technique for routing traffic between networks. Unlike RIP, where routers exchange routing tables automatically, static routes must be manually defined on each router, giving you full control over path selection.
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.
44

55
We'll use the same three-router topology from the previous tutorial, manually configure IP addresses, and add static routes to ensure full connectivity between all PCs.
66

77
---
88

99
## Part 1 – Network Topology Overview
1010

11-
This setup mirrors the RIP tutorial:
11+
This network includes:
1212

13-
* **Three routers (R1, R2, R3)** connected linearly
13+
* **Three routers (R1, R2, R3)** connected in a linear series
1414
* **Three switches (S1, S2, S3)** – one per router
1515
* **Two PCs per switch** (6 total PCs)
1616

17-
The goal is to enable all PCs to communicate through **manually configured static routes**.
17+
The goal is to enable all PCs to communicate through RIP-configured routers.
1818

19-
![Figure](../../img/cisco-tutorials/tutorial-10/fig1.png)
19+
![Figure](../../img/cisco-tutorials/tutorial-9/fig14.png)
2020

2121
---
2222

2323
## Part 2 – Device Placement and Cabling
2424

2525
### Step 2.1 – Add Devices to the Workspace
2626

27-
Add:
27+
From **Network Devices** and **End Devices**, place:
2828

2929
* **3 Routers** (Router-PT-Empty)
3030
* **3 Switches** (2960)
3131
* **6 PCs**
3232

33-
Label:
33+
Label the devices:
3434

3535
* Routers: **R0**, **R1**, **R2**
3636
* Switches: **S0**, **S1**, **S2**
@@ -61,80 +61,106 @@ Follow these steps for **R0**, **R1**, and **R2**:
6161
7. Click the **power button** again to turn the router back on.
6262
![Figure](../../img/cisco-tutorials/tutorial-9/fig4.png)
6363

64-
### Step 2.3 – Cabling
64+
### Step 2.2 – Cabling
6565

66-
#### **Copper Straight-Through**
66+
Now we will connect the devices using appropriate cables:
6767

68-
| From | To | Port/Interface |
69-
| ---- | -- | -------------- |
70-
| PC0 | S1 | fa0/1 |
71-
| PC1 | S1 | fa0/2 |
72-
| S1 | R0 | fa0/24 → fa2/0 |
73-
| PC2 | S2 | fa0/1 |
74-
| PC3 | S2 | fa0/2 |
75-
| S2 | R1 | fa0/24 → fa2/0 |
76-
| PC4 | S3 | fa0/1 |
77-
| PC5 | S3 | fa0/2 |
78-
| S3 | R2 | fa0/24 → fa2/0 |
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 |
7986

8087
#### **Serial DTE Connections**
8188

82-
| From | To | Port/Interface |
83-
| ---- | -- | -------------- |
84-
| R0 | R1 | se0/0 ↔ se1/0 |
85-
| R1 | R2 | se0/0 ↔ se1/0 |
89+
| From | To | Port/Interface |
90+
|------|----|-------------------|
91+
| R0 | R1 | se0/0 ↔ se1/0 |
92+
| R1 | R2 | se0/0 ↔ se1/0 |
8693

8794
![Figure](../../img/cisco-tutorials/tutorial-9/fig6.png)
8895

8996
---
9097

9198
## Part 3 – IP Addressing Scheme
9299

93-
Same IP scheme as the RIP tutorial.
100+
Now we will assign IP addresses to all devices, ensuring they can communicate across the network.
94101

95102
### Subnet Allocation
96103

97-
| Subnet | Devices | Subnet Mask |
98-
| -------------- | ------------ | ------------- |
99-
| 192.168.1.0/24 | PC0, PC1, R0 | 255.255.255.0 |
100-
| 192.168.2.0/24 | PC2, PC3, R1 | 255.255.255.0 |
101-
| 192.168.3.0/24 | PC4, PC5, R2 | 255.255.255.0 |
102-
| 10.0.0.0/30 | R0 ↔ R1 | 255.0.0.0 |
103-
| 11.0.0.0/30 | R1 ↔ R2 | 255.0.0.0 |
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 |
104113

105114
### Step 3.1 – Assign IPs to PCs
106115

107-
| PC | IP Address | Subnet Mask | Default Gateway |
108-
| --- | ------------ | ------------- | --------------- |
109-
| PC0 | 192.168.1.10 | 255.255.255.0 | 192.168.1.1 |
110-
| PC1 | 192.168.1.11 | 255.255.255.0 | 192.168.1.1 |
111-
| PC2 | 192.168.2.12 | 255.255.255.0 | 192.168.2.1 |
112-
| PC3 | 192.168.2.13 | 255.255.255.0 | 192.168.2.1 |
113-
| PC4 | 192.168.3.14 | 255.255.255.0 | 192.168.3.1 |
114-
| PC5 | 192.168.3.15 | 255.255.255.0 | 192.168.3.1 |
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 |
115126

116127
![Figure](../../img/cisco-tutorials/tutorial-9/fig7.png)
117128

118129
![Figure](../../img/cisco-tutorials/tutorial-9/fig8.png)
119130

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+
120136
---
121137

122138
## Part 4 – Router Configuration
123139

124-
Here, we manually add static routes to each router.
140+
Each router in this network handles two types of connections:
141+
142+
- LAN-side via FastEthernet2/0, connected to a local switch
143+
- WAN-side via Serial interfaces, connected to neighbouring routers
144+
- All routers will be configured with RIP version 1 for dynamic routing
125145

126146
```{admonition} Note
127147
:class: note
128-
Here the static routing configuration is done manually. For example in R0, we add routes to R1 and R2 via the lines -
148+
The RIP routing configuration is performed using the following commands:
129149
130-
- `ip route 192.168.2.0 255.255.255.0 10.0.0.2`
131-
- `ip route 192.168.3.0 255.255.255.0 10.0.0.2`
150+
- `router rip` enters RIP configuration mode.
151+
- `version 1` specifies the use of RIP version 1.
152+
- `network 192.168.1.0` and `network 10.0.0.0` tell the router to advertise and listen for RIP updates on interfaces belonging to these networks.
132153
133-
This means that R0 will know how to reach the networks of R1 and R2 through the serial link to R1 (10.0.0.2).
154+
This enables the router to automatically share and learn routes for the specified networks with other RIP-enabled routers, eliminating the need for manual static routes.
134155
```
135156

136157
### Step 4.1 – R0 Configuration
137158

159+
```{admonition} Tip
160+
:class: tip
161+
The shorthand for `configure terminal` is `conf t`, which can save time when entering commands.
162+
```
163+
138164
```bash
139165
enable
140166
configure terminal
@@ -151,15 +177,17 @@ clock rate 64000
151177
no shutdown
152178
exit
153179

154-
ip route 192.168.2.0 255.255.255.0 10.0.0.2
155-
ip route 192.168.3.0 255.255.255.0 10.0.0.2
180+
router rip
181+
version 1
182+
network 192.168.1.0
183+
network 10.0.0.0
156184
exit
157185

158186
write memory
159187
exit
160188
```
161189

162-
![Figure](../../img/cisco-tutorials/tutorial-10/fig2.png)
190+
![Figure](../../img/cisco-tutorials/tutorial-9/fig9.png)
163191

164192
### Step 4.2 – R1 Configuration
165193

@@ -184,16 +212,17 @@ clock rate 64000
184212
no shutdown
185213
exit
186214

187-
ip route 192.168.1.0 255.255.255.0 10.0.0.1
188-
ip route 192.168.3.0 255.255.255.0 11.0.0.2
215+
router rip
216+
version 1
217+
network 192.168.2.0
218+
network 10.0.0.0
219+
network 11.0.0.0
189220
exit
190221

191222
write memory
192223
exit
193224
```
194225

195-
![Figure](../../img/cisco-tutorials/tutorial-10/fig3.png)
196-
197226
### Step 4.3 – R2 Configuration
198227

199228
```bash
@@ -211,59 +240,77 @@ ip address 11.0.0.2 255.0.0.0
211240
no shutdown
212241
exit
213242

214-
ip route 192.168.1.0 255.255.255.0 11.0.0.1
215-
ip route 192.168.2.0 255.255.255.0 11.0.0.1
243+
router rip
244+
version 1
245+
network 192.168.3.0
246+
network 11.0.0.0
216247
exit
217248

218249
write memory
219250
exit
220251
```
221252

222-
![Figure](../../img/cisco-tutorials/tutorial-10/fig4.png)
253+
![Figure](../../img/cisco-tutorials/tutorial-9/fig10.png)
223254

224255
---
225256

226257
## Part 5 – Verification and Testing
227258

228-
### Step 5.1 – Routing Table Check
259+
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.
260+
261+
![Figure](../../img/cisco-tutorials/tutorial-9/fig14.png)
262+
263+
### Step 5.1 – Check Routing Tables
264+
265+
Run on each router:
229266

230267
```bash
231268
show ip route
232269
```
233270

234-
You should see **static routes (`S`)** to remote networks.
271+
You should see RIP routes (`R`) to all remote networks.
272+
273+
![Figure](../../img/cisco-tutorials/tutorial-9/fig11.png)
274+
275+
You can specifically specify this by running:
276+
277+
```bash
278+
show ip route R
279+
```
280+
281+
![Figure](../../img/cisco-tutorials/tutorial-9/fig15.png)
235282

236-
![Figure](../../img/cisco-tutorials/tutorial-10/fig5.png)
283+
This command will filter the routing table to show only RIP routes, making it easier to verify that all networks are reachable.
237284

238285
### Step 5.2 – Test Connectivity
239286

240-
From **PC0**, test:
287+
From **PC0**, run:
241288

242289
```bash
243290
ping 192.168.1.11
244291
ping 192.168.2.12
245292
ping 192.168.3.14
246293
```
247294

248-
![Figure](../../img/cisco-tutorials/tutorial-10/fig6.png)
295+
![Figure](../../img/cisco-tutorials/tutorial-9/fig12.png)
249296

250-
From **PC3**, test:
297+
From **PC3**, ping **PC4**:
251298

252299
```bash
253300
ping 192.168.3.14
254301
```
255302

256-
![Figure](../../img/cisco-tutorials/tutorial-10/fig7.png)
303+
![Figure](../../img/cisco-tutorials/tutorial-9/fig13.png)
257304

258-
Repeat between any pair of PCs.
305+
Repeat pings between any devices across networks.
259306

260307
---
261308

262309
## Summary
263310

264311
In this tutorial, you:
265312

266-
* Reused a three-router, three-switch network
267-
* Assigned IPs to all devices
268-
* Manually configured static routes
269-
* Verified end-to-end connectivity with `ping`
313+
* Built a three-router, three-switch network with six PCs
314+
* Assigned IPs and default gateways to all devices
315+
* Configured RIP v1 on each router
316+
* Verified full network reachability using dynamic routing

0 commit comments

Comments
 (0)