[go: up one dir, main page]

0% found this document useful (0 votes)
19 views7 pages

Configuring Static Routes

This guide provides a step-by-step process for configuring static routes between two routers in Cisco Packet Tracer, enabling communication between different networks. It includes details on the lab topology, device configurations, and commands necessary for setting up the routers and PCs. The guide also covers verification and troubleshooting tips to ensure successful connectivity between the devices.

Uploaded by

imrananamkhps
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views7 pages

Configuring Static Routes

This guide provides a step-by-step process for configuring static routes between two routers in Cisco Packet Tracer, enabling communication between different networks. It includes details on the lab topology, device configurations, and commands necessary for setting up the routers and PCs. The guide also covers verification and troubleshooting tips to ensure successful connectivity between the devices.

Uploaded by

imrananamkhps
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Complete Step-by-Step Guide to Configuring

Static Routes in Cisco Packet Tracer


In this guide, we will configure static routing between multiple routers in Cisco Packet

Tracer to allow communication between different networks.

Lab Topology

We will use the following simple topology:

Copy

Download

[PC1] (192.168.1.0/24) --- [Router1] --- (10.0.0.0/30) --- [Router2] ---

(192.168.2.0/24) [PC2]

Devices & IP Addressing:

● PC1:

○ IP: 192.168.1.10

○ Subnet Mask: 255.255.255.0

○ Default Gateway: 192.168.1.1

● Router1 (R1):

○ Interface Gig0/0: 192.168.1.1/24 (Connected to PC1)

○ Interface Gig0/1: 10.0.0.1/30 (Connected to Router2)

● Router2 (R2):

○ Interface Gig0/0: 10.0.0.2/30 (Connected to Router1)

○ Interface Gig0/1: 192.168.2.1/24 (Connected to PC2)

● PC2:

○ IP: 192.168.2.10
○ Subnet Mask: 255.255.255.0

○ Default Gateway: 192.168.2.1

Step 1: Build the Network in Packet Tracer

1. Open Cisco Packet Tracer.

2. Add the following devices:

○ 2 PCs (from End Devices)

○ 2 Routers (e.g., 2911 model)

○ 2 Copper Straight-through cables (for PC-to-Router connections)

○ 1 Copper Cross-over cable (for Router-to-Router connection)

3. Connect them as per the topology:

○ PC1 → Router1 (Gig0/0)

○ Router1 (Gig0/1) → Router2 (Gig0/0)

○ Router2 (Gig0/1) → PC2

Step 2: Configure IP Addresses on PCs

PC1 Configuration:

1. Click on PC1 → Desktop → IP Configuration.

2. Set:

○ IP Address: 192.168.1.10

○ Subnet Mask: 255.255.255.0

○ Default Gateway: 192.168.1.1


PC2 Configuration:

1. Click on PC2 → Desktop → IP Configuration.

2. Set:

○ IP Address: 192.168.2.10

○ Subnet Mask: 255.255.255.0

○ Default Gateway: 192.168.2.1

Step 3: Configure Router Interfaces

Router1 (R1) Configuration:

1. Click on Router1 → CLI (Command Line Interface).

2. Enter the following commands:


3. bash
4. Copy
5. Download
enable

configure terminal

interface GigabitEthernet0/0

ip address 192.168.1.1 255.255.255.0

no shutdown

exit

interface GigabitEthernet0/1

ip address 10.0.0.1 255.255.255.252


no shutdown

6. exit

Router2 (R2) Configuration:

1. Click on Router2 → CLI.

2. Enter the following commands:


3. bash
4. Copy
5. Download
enable

configure terminal

interface GigabitEthernet0/0

ip address 10.0.0.2 255.255.255.252

no shutdown

exit

interface GigabitEthernet0/1

ip address 192.168.2.1 255.255.255.0

no shutdown

6. exit

Step 4: Configure Static Routes

On Router1 (R1):
● We need to tell Router1 how to reach 192.168.2.0/24 via Router2 (10.0.0.2).
● bash
● Copy
● Download
configure terminal

ip route 192.168.2.0 255.255.255.0 10.0.0.2

● exit

On Router2 (R2):

● We need to tell Router2 how to reach 192.168.1.0/24 via Router1 (10.0.0.1).


● bash
● Copy
● Download
configure terminal

ip route 192.168.1.0 255.255.255.0 10.0.0.1

● exit

Step 5: Verify the Configuration

Check Routing Tables:

● On Router1, run:
● bash
● Copy
● Download
● show ip route
You should see:
● Copy
● Download
● S 192.168.2.0/24 [1/0] via 10.0.0.2

● On Router2, run:
● bash
● Copy
● Download
● show ip route
You should see:
● Copy
● Download
● S 192.168.1.0/24 [1/0] via 10.0.0.1

Test Connectivity (Ping Test):

1. Go to PC1 → Desktop → Command Prompt.

2. Ping PC2:
3. bash
4. Copy
5. Download
6. ping 192.168.2.10

○ If successful, you’ll see replies.

○ If not, recheck IPs, routes, and interface status (show ip interface

brief).

Troubleshooting Tips

1. Check Interface Status:

○ Run show ip interface brief to ensure all interfaces are up/up.

2. Verify Static Routes:


○ Ensure routes are correctly added (show ip route).

3. Check Cables:

○ Ensure correct cable types are used (straight-through for PC-Router,

crossover for Router-Router).

4. Disable Firewall (if any):

○ Some PCs may have firewall blocking ICMP (ping).

Conclusion

You have successfully configured static routing in Cisco Packet Tracer. Static routes

are manually defined and do not adapt to network changes, making them suitable for

small, stable networks. For larger networks, consider using dynamic routing protocols

like OSPF or EIGRP.

Would you like to extend this lab with additional routers or dynamic routing? Let me

know! 🚀

You might also like