I designed this network configuration for the network of three companies, given some constraints. This problem was presented in our Computer Networks Lab (CL307) Final. The main role was to subnet the IP addresses correctly.
Its an interesting problem demonstrating the concepts of Classless IP Subnetting and using RIPv2 Protocol. I am sharing this working solution so that it might be of help to others looking to learn these concepts with a practical real world example.
Suppose that you are the CEO of a startup which deals with network configuration for various companies. After 100 days of struggle, you have finally received your first assignment to configure the network for three different companies in such a way that all the PCs in each company must be able to communicate with each other as well as with all the PCs of any other company.
The companies are named as CMP X, CMP Y and CMP Z.
- CMP X has 5 Rooms with 1 PC in each room.
- CMP Y has 3 Rooms with 3 PCs in each room.
- CMP Z has 2 Rooms with 4 PCs in each room.
The IP regulating company has assigned the following IP network addresses to each of the company:
- CMP X: 144.186.96.0/19
- CMP Y: 50.152.0.0/15
- CMP Z: 210.98.169.64/26
As part of the agreement, all three companies have asked you to bear the expense of all the switches and routers used to interconnect all the computers in a merged network for three companies and further instructed you that all the PCs in a single room must be on the same sub network and all the rooms of a single company must be on a different sub-network which will be assigned after sub-netting the assigned network address only for the relevant company (no outside network or the network of other company will be accepted) e.g, each room for CMP X will be assigned a different sub-network after sub-netting the address of 144.186.96.0/19 only and not any other network address. The companies have further informed you that companies plan to extend the number of their PCs in each room in the future.
You, beign cleverly economical, decide to install old switces (Generic Switches in Cisco Packet Tracer) with only three Ethernet ports working out of four and routers (Generic Routers in Cisco Packet Tracer) to configure the network for three companies in such a way that you use as much less routers and switches as possible.
You have also bought the folliwng IP network address for the serial communication between different routers which will be connecting different Inter-Company and Intra-Company subnets. You plan to form the subnets of the following address in order to cater the serial communication between all the routers: Routers Serial Communication: 199.210.121.160/28
You, being very cautious, decide to simulate the topology on Cisco Packet Tracer in order to optimally design the network considering the number of devices (switches, routers etc.) used to maximize the profit margins of your company. However, you must simulate the topology strictly following rules and regulations described below:
1- Use Straight Through wires, Cross Over cables or Serial DCE wires where necessary and applicable.
2- Use Generic Router and Generic PCs for your design
3- Use Generic Switches such that you attach only 3 of the 4 available Ethernet Interfaces for a single switch, however, you can attach as many switches considering optimal design.
4- You have to assign IPs to the PCs using Static IP allocation.
5- Although you have to use GUI of the router to configure its interfaces but you must use CLI of the router to configure the RIPv2 Protocol for Classless Subnet Addressing.
Install Cisco Packet Tracer and then simply open the main file.pkt. The whole network is in working condition. You can check it by sending a packet from one system to another or through using the PING command in the Cisco Packet Tracer.
This solution works for version 6.2 or above of Cisco Packet Tracer.
You can get in touch with me on my LinkedIn Profile:
You can also follow my GitHub Profile to stay updated about my latest projects:
If you liked the repo then kindly support it by giving it a star β and share in your circles so more people can benefit from the effort.
If you find any bugs, have suggestions, or face issues:
- Open an Issue in the Issues Tab to discuss them.
- Submit a Pull Request to propose fixes or improvements.
- Review Pull Requests from other contributors to help maintain the project's quality and progress.
This project thrives on community collaboration! Members are encouraged to take the initiative, support one another, and actively engage in all aspects of the project. Whether itβs debugging, fixing issues, or brainstorming new ideas, your contributions are what keep this project moving forward.
With modern AI tools like ChatGPT, solving challenges and contributing effectively is easier than ever. Letβs work together to make this project the best it can be! π
Copyright (c) 2018-present, harismuneer
Hey there, I'm Haris Muneer π¨π»βπ»
-
πΈοΈ Founder of Cyfy Labs: At Cyfy Labs, we provide advanced social media scraping tools to help businesses, researchers, and marketers extract actionable data from platforms like Facebook, Instagram, and X (formerly Twitter). Our tools support lead generation, sentiment analysis, market research, and various other use cases. To learn more, visit: www.cyfylabs.com
-
π Open Source Advocate: Iβm passionate about making tech accessible. Iβve open-sourced several projects that you can explore on my GitHub profile and on the Open Source Software PK page.
-
π« How to Reach Me: You can learn more about my skills/work at LinkedIn. You can also reach out via email for collaboration or inquiries. For Cyfy Labs related queries, please reach out through the company website.