The Wayback Machine - https://web.archive.org/web/20241113215420/https://www.geeksforgeeks.org/subnetting-implementation-in-cisco-packet-tracer/
Open In App

Subnetting Implementation in Cisco Packet Tracer

Last Updated : 26 Apr, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

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
  • Then, create a network topology as shown below the image.
  • Use an Automatic connecting cable to connect the devices with others.

 

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

  • To assign an IP address in PC0, click on PC0.
  • Then, go to desktop and then IP configuration and there you will IPv4 configuration.
  • Fill IPv4 address and subnet mask.

 

Assigning IP address using the ipconfig command.

  • Or we can also assign an IP address with the help of a command.
  • Go to the command terminal of the PC.
  • Then, type ipconfig <IPv4 address><subnet mask><default gateway>(if needed)
Example: ipconfig 192.168.1.2  255.255.255.0 192.168.1.1

 

  • Repeat the same procedure with other PCs to configure them thoroughly.

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
  • To assign an IP address in router0, click on router0.
  • Then, go to config and then Interfaces.
  • Then, configure the IP address in FastEthernet and serial ports according to IP addressing Table.
  • Fill IPv4 address and subnet mask.

 

  • Repeat the same procedure with other routers to configure them thoroughly.

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:

  • First, click on router0 then Go to CLI.
  • Then type the commands and IP information given below.
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.

  • First, click on PC0 then Go to the command prompt
  • Then type ping <IP address of targeted node>
  • As we can see in the below image we are getting replies which means the connection is working very fine
Example : ping 192.168.2.2

 

  • A simulation of the experiment is given below we are sending PDU from  PC0 to PC3 and PC2 to PC4:



Similar Reads

Connecting Multiple Computers Using Hub in Cisco Packet Tracer
Cisco Packet Tracer is a tool built by Cisco and it provides network simulation to practice simple and complex networks. The main purpose of Cisco Packet Tracer is to help students learn the principles of networking and demonstrate the networking concepts. Connecting Multiple Computers Using Hub in Cisco Packet TracerStep 1: Open the Cisco Packet T
2 min read
Small Organization Set Up in CISCO Packet Tracer
Cisco Packet Tracer is a tool built by Cisco and it provides network simulation to practice simple and complex networks. The main purpose of the Cisco Packet Tracer is to help students learn the principles of networking and demonstrate the networking concepts. Step 1: Open the Cisco Packet Tracer. Step 2.: After opening the Cisco Packet tracer, add
3 min read
Implementing Star Topology using Cisco Packet Tracer
A star topology for a Local Area Network (LAN) is one in which each node is connected to a central connection point, such as a hub or switch. Whenever a node tries to connect with another node then the transmission of the message must be happening with the help of the central node. The best part of star topology is the addition and removal of the n
2 min read
Configuring EIGRP Default Route Propagation on Cisco Packet Tracer
Pre-requisite: EIGRP fundamentals, EIGRP Configuration. With respect to EIGRP or any routing protocol, summarization is a significant tool to create a boundary for query propagation If a router receives a query for a network it does not have in its topology table, it'll straightaway transmit a reply indicating an unreachable destination (Destinatio
3 min read
Configuring DHCP and Web Server in Cisco Packet Tracer
DHCP is an Internet control protocol used to assign an IP address to any appliance, or node, on an internet network so they can transmit data using IP. DHCP automatically handles these configurations rather than requiring network administrators to manually set IP addresses to all network devices. DHCP can be executed on small local networks, as wel
2 min read
Basic Firewall Configuration in Cisco Packet Tracer
Prerequisite: Firewall A firewall is a hardware or software network security device that monitors all incoming and outgoing traffic based on a defined set of security rules, it accepts, rejects, or drops that specific traffic. Accept: Allow traffic.Reject: Block traffic but respond with "reachable error".Drop: Block unanswered traffic firewall esta
2 min read
How To Locate And Deploy Devices in Cisco Packet Tracer?
The main purpose of the Cisco Packet Tracer is to help students learn the principles of networking with hands-on experience as well as develop Cisco technology-specific skills. Since the protocols are implemented in software-only methods, this tool cannot replace hardware Routers or Switches. Interestingly, this tool does not only include Cisco pro
2 min read
How to Deploy Cable Devices in Cisco Packet Tracer?
The main purpose of Cisco Packet Tracer is to help students learn the principles of networking with hands-on experience as well as develop Cisco technology specific skills. Since the protocols are implemented in software only methods, this tool cannot replace hardware Routers or Switches. Interestingly, this tool does not only include Cisco product
3 min read
How to Add Port in Router in CISCO Packet Tracer?
Cisco Packet Tracer is a tool built by Cisco and it provides network simulation to practice simple and complex networks. The main purpose of the Cisco Packet Tracer is to help students learn the principles of networking and demonstrate the networking concepts. Router is a networking device that works in the network layer and can connect two differe
2 min read
RIP Routing Configuration Using 3 Routers in Cisco Packet Tracer
Pre-Requisite: Routing Information Protocol (RIP) Routing Information Protocol (RIP) is an active routing protocol that operates hop count as a routing metric to find the most suitable route between the source and the destination network. It is a distance-vector routing protocol that has an AD value of 120 and works on the Network layer of the OSI
3 min read
How to Configure End Devices on Packet Tracer?
End devices are the source and destination devices, which are used for data sent over any internet network. In order to determine one end device from another, each end device on a network is determined by an address. When an end device starts communication, it uses the address of the destination end device to determine where the message should be t
2 min read
How to Make Computer Lab in Packet Tracer?
Cisco Packet Tracer is a tool built by Cisco and it provides network simulation to practice simple and complex networks. The main purpose of the Cisco Packet Tracer is to help students learn the principles of networking and demonstrate the networking concepts. A DHCP Server is a network server that automatically assigns IP addresses, default gatewa
2 min read
How to Create Web Server On Packet Tracer?
A web server is like a computer that uses an HTTP (Hyper Text Transfer Protocol) and many other protocols. it responds when a client makes a request over the World Wide Web. The main work of the web server is to show website content that is processed, and stored, in the webserver to deliver the webpages to the user. The Web server also uses SMTP (S
2 min read
How to Simulate Heavy Traffic on Packet Tracer?
In this article, we will see how by using the Cisco Packet Tracer can we create a Virtual LAN, how can we assign the ports to it, and how to configure the trunk ports as well as stimulate heavy traffic. Also, we will see how it will be executed. So let's start this article by understanding its setup first. Setting UpActivate the Cisco Packet Tracer
2 min read
Packet Tracer to Configure DHCP On a Wireless Router
Pre-requisite : Dynamic Host Configuration Protocol (DHCP), Basics of Wi-Fi. DHCP is based on a client-server model, based on discovers, offers, requests, and ACKs. The DHCP port number for the server is 67 and for the client is 68. This is a client/server protocol using UDP services. IP addresses are assigned from a pool of addresses. In DHCP, cli
3 min read
Cisco Interview Experience of Cisco Ideathon for Advanced Networking 2023
Cisco Ideathon for Advanced Networking 2023: Unlocking the Pattern of Exam basically Round 1 Introduction: Cisco Ideathon serves as a gateway for final-year students to enter the esteemed Cisco company. The Ideathon is conducted to identify talented individuals with a passion for advanced networking. The initial round, known as Round 1, comprises m
3 min read
Cisco Interview Experience G4 (Code with Cisco) 2023
Status: New grad, B. Tech. CSE, Tier 3 Prior Experience: 0 years Online Assessment [28 June 2023] (1 hr):This was a team event, and each team contained 3 participants. Coding Questions:The first problem was similar to https://codeforces.com/problemset/problem/1132/F.The second problem was similar to https://cses.fi/problemset/task/1097.The third pr
3 min read
Implementation of FLSM in Cisco
Pre-Requisite: Fixed Length and Variable Length Subnet Mask Numericals When a block of addresses is separated into subnets all having an equal number of addresses, this type of subnetting is called Fixed Length Subnetting. The subnet masks used here will be the same for all the subnets as the number of addresses is equal for each subnet. In this ar
3 min read
Implementation of RIP Routing in Cisco For Connecting Two Routers
Pre-Requisite: Routing Information Protocol (RIP) Routing Information Protocol (RIP) is an active routing protocol that operates hop count as a routing metric to find the most suitable route between the source and the destination network. It is a distance-vector routing protocol that has an AD value of 120 and works on the Network layer of the OSI
3 min read
EIGRP Implementation in Cisco
The functions of a dynamic routing protocol are the same as a static routing protocol. If the destination is unreachable from a point of routing then the other path can be created to reach the destination. To learn about EIGRP refer to EIGRP fundamentals. Steps to Configure and Verify EIGRP in Cisco Packet Tracer :Step 1: First, open the Cisco pack
2 min read
Implementation of VLSM in Cisco
Pre-requisite: Introduction of Variable Length Subnet Mask (VLSM) VLSM is a Variable Length Subnet Mask in which the subnet design uses more than one mask in the same network which means more than one mask is used for different subnets of a single class A, B, C, or a network. It is used to improve the usability of subnets as they can be of variable
3 min read
Implementation of Bus Topology in Cisco
A bus topology is a network in which nodes are directly linked with a common half-duplex link. A host on a bus topology is called a station. In a bus network, every station will accept all network packets, and these packets generated by each station have equal information priority. A bus network includes a single network segment and collision domai
2 min read
Implementation of Mesh Topology in Cisco
Pre-requisite: Advantages and Disadvantages of Mesh Topology In the mesh topology of networking, each and every device sends its own signal to the other devices that are present in the arrangement of the network.  Steps to Configure and Setup Ring Topology in Cisco Packet Tracer:Step 1: First, open the Cisco packet tracer desktop and select the dev
2 min read
Implementation of Static Routing in Cisco - 2 Router Connections
Pre-Requisite Types of Routing Static routing is a routing protocol that helps to keep your network organized and to optimize routing performance. It enables the router to assign a specific path to each network segment and to keep track of network changes. This helps to improve network stability and continuity. This adds security because a single a
3 min read
Implementation of Ring Topology in Cisco
Ring topology is a kind of arrangement of the network in which every device is linked with two other devices. This makes a circular ring of interconnected devices which gives it its name. Data is usually transmitted in one direction along the ring, known as a unidirectional ring. The data is delivered from one device to the next until it reaches th
2 min read
Implementation of Tree Topology in Cisco
Pre-Requisite: Advantages and Disadvantages of Tree Topology In the tree topology of networking, the elements and devices are arranged like a tree structure and have branches of connections between the devices connected to each other. To implement tree topology in Cisco there are various steps as follows: Steps to Configure and Setup Tree Topology
2 min read
Implementation of Hybrid Topology in Cisco
The arrangement of a network that comprises nodes and connecting lines via sender and receiver is referred to as network topology. The combination of two or more topologies in a computer network is called Hybrid Topology. These combined topologies can be a combination of bus topology, mesh topology, ring topology, star topology, and tree topology.
2 min read
Wireshark - Packet Capturing and Analyzing
Prerequisite: Introduction to Wireshark This article will introduce the methods of packet capturing and analyzing. It will also introduce some advanced tools that are used for increasing efficiency during capture and analysis. Why sniff around? If you have prior experience with securing systems, you can not emphasize enough the importance of reconn
4 min read
What is Packet Forwarding?
The process of packet forwarding simply implies the forwarding of incoming packets to their intended destination. Internet is made up of generally two terms- Interconnection and Network. So, it is a connection to a large collection of networks. A packet that is to be forwarded may be associated with the same network as the source host or may belong
3 min read
How To Identify by Examining Whether a Packet is Unicast or Multicast?
Pre-requisites: Multicasting in Computer Networks Difference between Unicast, Broadcast, and Multicast in Computer Networks In a computer network, a packet is a unit of data that is transmitted over the network from one device to another. Packets can be classified as either unicast or multicast based on the type of address used to identify the dest
4 min read
Article Tags :
Practice Tags :
three90RightbarBannerImg