Static IP Configuration in Packet Tracer
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
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
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
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit
PC Configuration
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.