Computer Networking mini project for an organization!

Safiullah Khan
4 min readFeb 20, 2024

--

In this article we have been making a small network design for small organization as shown in figure 1 and we will perform following steps throughout the article.

Figure 1: Network Diagram

Step 1: VLANS Creation in Core Switch!

We will create four VLANS in Core Switch (Layer 3/Multilayer Switch) to subnet a network 10.20.0.0 and then make inter VLAN communication between these VLANs, so following are the commands in layer 3 switch for VLAN creation.

Figure 2: VLANs creation in Core

After creating VLANs we will assign IP Address to these VLANs as shown below.

Figure 3: VLAN 2 IP Address
Figure 4: VLAN 3 IP Address
Figure 5: VLAN 4 IP Address
Figure 6: VLAN 5 I P Address

we have created four VLANs and assign IPs to them till now and next step we will create DHCP for every VLAN.

Step 2: DHCP Creation for VLANs.

In this step we will create DHCP for every VLAN and commands are given below.

Figure 7: DHCP pool for vlan 2
Figure 8: DHCP pool for vlan 3
Figure 9: DHCP pool for vlan 4

we have created DHCP for every VLAN and now we will assign ports to VLANs to dhcp service to get successful.

Figure 10: Port 3 to VLAN 2
Figure 11: Port 1 to VLAN 5
Figure 12: Port 2 to VLAN 3
Figure 13: Port 4 to VLAN 4

Step 3: Inter VLAN Communication!

To enable communication between different VLANs we have to make core switch as router by using the following command.

Figure 14: Port 4 to VLAN 4

After enabling routing PC 1 of VLAN 2 is pinging the other VLAN 3 as shown below.

Figure 15: ping results

Step 4: Clients should access Google.com in another network.

To enable this functionality, we will use routing protocols on both routers, router and core switch acting as router so following commands will be used for RIP protocol.

Figure 16: Rip on Core Switch(router)

On other hand we will assign IP Address to router interfaces and then use routing protocol as shown below in figures.

Figure 16: IP to interface 0/0
Figure 17: IP to interface 0/1

now use RIP protocol on router as shown below in figure.

Figure 18: Rip on router

Step 5: DNS Configuration on Server

To configure DNS server on 8.8.8.8 we first assign IP to server as shown below in figure, and we will give router interface IP as default-gateway.

Figure 19: IP to Server

Now DNS configuration on SERVER is shown in figure.

Figure 20: DNS configuration

After this you can browse the google.com in any client PC web browser and you will get following result.

Figure 21: google.com access

In the above article we have design a small network for organization where inter VLAN communication and outer network access is enabled and access to google.com web server by using DNS server is performed.

--

--

Safiullah Khan
Safiullah Khan

Written by Safiullah Khan

Associate Security Engineer || Vulnerability Assessment || Google CPC || Blue Team Junior Analyst || SIEM || IDS/IPS || Wazuh || Cortex XDR || Splunk