0% found this document useful (0 votes)
184 views3 pages

Static IP Configuration in Packet Tracer

Static IP configuration in packet tracer

Uploaded by

Riyad Alelwany
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)
184 views3 pages

Static IP Configuration in Packet Tracer

Static IP configuration in packet tracer

Uploaded by

Riyad Alelwany
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/ 3

Static IP configuration in packet tracer

To configure a static IP in Packet Tracer, follow these steps. This example demonstrates
how to assign static IP addresses to PCs and routers in a simple network topology.

Scenario

 Two Routers connected to a two switches.


 Two PCs connected to the switch.
 Assign the following static IPs:
o Router1 Interface: 192.168.1.1/24
o PC1: 192.168.1.2/24
o PC2: 192.168.1.3/24
o Router2 Interface: 192.168.2.1/24
o PC3: 192.168.2.2/24
o PC4: 192.168.2.3/24

To connect the setup with static IPs, follow these steps:

Topology

1. Routers:
o Connect Router1 and Router2 using a serial connection or a crossover
Ethernet cable if directly connected.
o Connect Router1 to Switch1.
o Connect Router2 to Switch2.
2. Switches:
o Connect PC1 and PC2 to Switch1.
o Connect PC3 and PC4 to Switch2.

Static IP Configuration

Router1 Configuration

1. Access the router configuration (via console or terminal).


2. Assign the IP to the interface connecting to Switch1:

interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
3. Enable routing (optional for communication between subnets):

ip routing

Router2 Configuration

1. Assign the IP to the interface connecting to Switch2:

interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit

PC Configuration

For each PC, assign static IPs:

1. PC1 (connected to Switch1):


o IP: 192.168.1.2
o Subnet Mask: 255.255.255.0
o Gateway: 192.168.1.1
2. PC2 (connected to Switch1):
o IP: 192.168.1.3
o Subnet Mask: 255.255.255.0
o Gateway: 192.168.1.1
3. PC3 (connected to Switch2):
o IP: 192.168.2.2
o Subnet Mask: 255.255.255.0
o Gateway: 192.168.2.1
4. PC4 (connected to Switch2):
o IP: 192.168.2.3
o Subnet Mask: 255.255.255.0
o Gateway: 192.168.2.1

Testing and Verification

1. Ping within the same subnet:


o From PC1, ping PC2 (ping 192.168.1.3).
o From PC3, ping PC4 (ping 192.168.2.3).
2. Ping across subnets (requires routing):
o On both routers, configure a static route or ensure the routing table is
updated.
o Example for Router1 to reach Router2's subnet:
ip route 192.168.2.0 255.255.255.0 10.0.0.1
ip route 192.168.1.0 255.255.255.0 10.0.0.2

Similarly, configure Router2 for Router1's subnet.

3. Ping tests:
o From PC1, ping PC3 (ping 192.168.2.2).
o From PC4, ping PC2 (ping 192.168.1.3).

Notes

 Ensure the router interface and PCs are connected via a switch.
 Verify the connections using the light indicators on the cables. Green indicates
proper connectivity.
 Use the Simulation Mode in Packet Tracer to observe the flow of packets.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy