Open In App

Subnetting Implementation in Cisco Packet Tracer

A subnet, or subnetwork, is a part of a larger network. Subnets are a logical part of an IP network into multiple, smaller network components. The Internet Protocol (IP) is the method for transmitting data from one computer to another over the internet network. Each computer, or host, on the internet, has at least one IP address as a unique identifier.

To learn about subnetting refer to Introduction to Subnetting.



Steps to Configure and Verify Three Router Connections in Cisco Packet Tracer:

Step 1: First, open the Cisco packet tracer desktop and select the devices given below:

S.NO Device Model-Name Qty.
1. PC pc 6
2. Switch PT-Switch 3
3. Router PT-Router 3

IP Addressing Table for PCs



S.NO Device IPv4 Address Subnet Mask Default-Gateway
1. pc0 192.168.1.2 255.255.255.0 192.168.1.1
2. pc1 192.168.1.3 255.255.255.0 192.168.1.1
3. pc2 192.168.2.2 255.255.255.0 192.168.2.1
4. pc3 192.168.2.3 255.255.255.0 192.168.2.1
5. pc4 192.168.3.2 255.255.255.0 192.168.3.1
6. pc5 192.168.3.3 255.255.255.0 192.168.3.1

 

Step 2: Configure the PCs (hosts) with IPv4 address and Subnet Mask according to the IP addressing table given above.

 

Assigning IP address using the ipconfig command.

Example: ipconfig 192.168.1.2  255.255.255.0 192.168.1.1

 

Step 3: Configure router with IP address and subnet mask.

IP Addressing Table Router

S.NO Device Interface IPv4 Address Subnet mask
1. router0 FastEthernet0/0 192.168.1.1 255.255.255.0
Serial2/0 11.0.0.1 255.0.0.0
2. router1 Serial 2/0 11.0.0.2 255.0.0.0
Serial 3/0 12.0.0.1 255.0.0.0
3. router 3 FastEthernet0/0 192.168.3.1 255.255.255.0
Serial2/0 12.0.0.2 255.0.0.0

 

Step 4: After configuring all of the devices we need to assign the routes to the routers.

To assign static routes to the particular router:

CLI command : ip route <network id> <subnet mask><next hop>

Static Routes for Router0 are given below:

Router(config)#ip route 192.168.2.0 255.255.255.0 11.0.0.2
Router(config)#ip route 11.0.0.0 255.0.0.0 11.0.0.2
Router(config)#ip route 192.168.3.0 255.255.255.0 11.0.0.2
Router(config)#ip route 12.0.0.0 255.0.0.0 11.0.0.2

Static Routes for Router1 are given below:

Router(config)#ip route 192.168.1.0 255.255.255.0 11.0.0.1
Router(config)#ip route 11.0.0.0 255.0.0.0 11.0.0.1
Router(config)#ip route 192.168.3.0 255.255.255.0 12.0.0.2
Router(config)#ip route 12.0.0.0 255.0.0.0 12.0.0.2

Static Routes for Router2 are given below:

Router(config)#ip route 192.168.1.0 255.255.255.0 12.0.0.1
Router(config)#ip route 11.0.0.0 255.0.0.0 12.0.0.1
Router(config)#ip route 12.0.0.0 255.0.0.0 12.0.0.1
Router(config)#ip route 192.168.2.0 255.255.255.0 12.0.0.1

Step 5: Verifying the network by pinging the IP address of any PC. We will use the ping command to do so.

Example : ping 192.168.2.2

 


Article Tags :