|
1 | | -# 9 - Networks with Multiple Routers with Static Routing |
| 1 | +# 9 - Configuring RIP Routing in Cisco Packet Tracer |
2 | 2 |
|
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 | + |
| 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 | + |
| 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 | +  |
| 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 | +  |
| 59 | +6. Drag and insert **two** PT-ROUTER-NM-1CFE modules into the next two empty slots. |
| 60 | +  |
| 61 | +7. Click the **power button** again to turn the router back on. |
| 62 | +  |
| 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 | + |
| 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 | + |
| 128 | + |
| 129 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 267 | + |
| 268 | +From **PC3**, ping **PC4**: |
| 269 | + |
| 270 | +```bash |
| 271 | +ping 192.168.3.14 |
| 272 | +``` |
| 273 | + |
| 274 | + |
| 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 |
0 commit comments