✍NETWORKING TOPOLOGY SETUP TASK :

Priya Soni
6 min readMar 16, 2021

✍Task 14.1 Description 📄

🔰Create a network Topology Setup in such a way so that System A can ping to two Systems.

🔰System B and System C but both these systems should not be pinging each other without using any security rule.

✍WHAT IS TOPOLOGY ?

In networking, topology refers to the layout of a computer network. Topology can be described either physically or logically.

NETWORK TOPOLOGY

Physical topology means the placement of the elements of the network, including the location of the devices or the layout of the cables.

✍WHAT IS NETWORKING AND WRITE ITS EXAMPLE ?

A network is a collection of computers, servers, mainframes, network devices, peripherals, or other devices connected to one another to allow the sharing of data.

NETWORKING

An example of a network is the Internet, which connects millions of people all over the world.

Examples of network devices.

✍WHAT ARE THE DIFFERENT TYPES OF COMPUTER NETWORK ?

👉A computer network is mainly of four types:

  • LAN(Local Area Network)
  • PAN(Personal Area Network)
  • MAN(Metropolitan Area Network)
  • WAN(Wide Area Network)

✍WHAT IS HOST AND EXPLAIN WITH EXAMPLE ?

A host is a computer that is accessible over a network.

For example, the hostname of a computer on a local network might be Tech-Terms. local, while an Internet hostname might be techterms.com.

HOST

A host can access its own data over a network protocol using the hostname “localhost.”

✍WHAT IS IP ADDRESS ?

An IP address is a string of numbers separated by periods. IP addresses are expressed as a set of four numbers .

IP ADDRESS

An example address might be 192.158. 1.38. Each number in the set can range from 0 to 255.

✍WHAT IS NETMASK ?

A Netmask consists of a 32-bit mask that is used to divide an IP address into subnets and specify the network’s available hosts.

NETMASK

With this netmask, two bits are always automatically assigned. This term is also used to define the class and range of the Internet Protocol addresses.

✍WHAT IS SWITCH ?

A switch is a device in a computer network that connects other devices together. Multiple data cables are plugged into a switch to enable communication between different networked devices.

SWITCH

Switches may also operate at higher layers of the OSI model, including the network layer and above.

✍WHAT IS ROUTER ?

A router receives and sends data on computer networks. Routers are sometimes confused with network hubs, modems, or network switches.

ROUTER

However, routers can combine the functions of these components, and connect with these devices, to improve Internet access or help create business networks.

✍WHAT IS A ROUTING TABLE AND HOW DOES IT WORK ?

A routing table contains the information necessary to forward a packet along the best path toward its destination. Each packet contains information about its origin and destination.

ROUTING TABLE

Routing Table provides the device with instructions for sending the packet to the next hop on its route across the network.

👉So without wasting your time lets jump to our practical part……

So, For this practical part implementation we have to be used three system like A, B and C.

Now Changing The IP of System A to 192.168.0.1 with netmask 255.255.255.0 and adding the rule in routing table.

So hosts available= 256 [192.168.0.0 to 192.168.0.255]

✍FROM SYSTEM A :

We have to run following commands in a System A which is given below :-

# ifconfig enp0s3

# ifconfig enp0s3 192.168.0.1/24

# route add -net 192.168.0.0/24 enp0s3

# route -n

# ifconfig enp0s3

👉NEXT

👉NEXT

👉NEXT

✍FROM SYSTEM B :

Now Changing The IP of System B to 192.168.0.5 with netmask 255.255.255.254 and adding the rule in routing table.

So hosts available= 2

So, For this We have to run following commands in a System B which is given below :-

# ifconfig enp0s3

# ifconfig enp0s3 192.168.0.5/31

# route add -net 192.168.0.0/31 enp0s3

# route -n

# ifconfig enp0s3

👉NEXT

👉NEXT

✍FROM SYSTEM C :

Lastly, Changing The IP of System A to 192.168.0.3 with netmask 255.255.255.254 and adding the rule in routing table.

So hosts available= 2

So, For this We have to run following commands in a System C which is given below :-

# ifconfig enp0s3

# ifconfig enp0s3 192.168.0.3/31

# route add -net 192.168.0.0/31 enp0s3

# route -n

# ifconfig enp0s3

👉NEXT

👉NEXT

Here, We can see that System A can Ping to B and Vice Versa.

✍PING FROM SYSTEM A TO SYSTEM B :

# ping 192.168.0.5

✍PING FROM SYSTEM B TO SYSTEM A :

# ping 192.168.0.1

✍NOW PING FROM SYSTEM A TO SYSTEM C :

✍NOW PING FROM SYSTEM C TO SYSTEM A :

✍PING FROM SYSTEM C TO SYSTEM B :

But Now if We try to ping System C from System B and Vice Versa, it will fail.

We can see Network is Unreachable.

✍PING FROM SYSTEM B TO SYSTEM C :

Finally I have successfully completed this task. Thank you Vimal Daga sir for giving me such a great task. Sir your mentorship is a God gift for me to enhance my skills and I am very blessed because you are my mentor.

In the upcoming days I am going to be publish a lots of blogs and articles on different different automation tools and other technologies.

So definitely don’t forget to follow me on Medium as well as on linkedin.

Here is my linkedin profile if you have any queries definitely comment below or DM me on linkedin.

THANK YOU🙏🙏 GUYS FOR READING MY BLOG.

KEEP LEARNING🙇‍♂️📖🙇….

KEEP SHARING✌✌….

--

--