Custom Network Topology Setup

Welcome to another article , Here I discuss and show you Interesting Networking Concept .

Here I am glad & confident to tell you , you will definitely learn something new from this article . 🔥🔥

Do you think 🤔💭 we Create a network Topology Setup in such a way 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 e.g firewall etc .

So here we go …….

Pre-requisite * 3 VM ( Virtual Machine )

Q To find How Create a network Topology Setup ❓

In My Case* IP of System -A :- 192.168.43.251* IP of System -B :- 192.168.43.159* IP of System -C :- 192.168.43.51

→ First I will show you all 3 VM are connected each other

System - A is connected to System -B & System -C
  • Here you see that all are connected to each other

Q But our requirement is different

→ First we clean our route table run below mentioned command

route del -net 0.0.0.0route del -net <IP> gw 0.0.0.0 netmask <IP>
  • At that if you want to ping any IP it shows NETWORK IS UNREACHABLE

→ Now our requirement is System B & C Connect to System A

→ For this we have to add some rule which allow that particular IP`s but remember one point here I did`nt use any firewall rule .

If you want to System B & C Connect to System A use mentioned below command in SYSTEM -B & SYSTEM -C

route add -net <IP of system-A> netmask 255.255.255.255 enp0s3

→ Now again check route table

route -n

→ Check SYSTEM -C ping to SYSTEM -B or vice versa .

It shows Network is Unreachable

→ Then ping to System -A

System -A Successfully pinging

ping <IP of System B & C>
It shows Network is Unreachable
ping <IP of System A>
System -A Successfully pinging

Here you can see that System -A Successfully pinging .

* I tried my best to explain as much as possible. Hope You learned Something from here. Feel free to check out my LinkedIn profile and obviously feel free to comment and give feedback also .

* LINKEDIN PROFILE LINK :- https://www.linkedin.com/in/jatin-lodhi

* MEDIUM PROFILE LINK :- https://jatinlodhi.medium.com/

THANKS FOR EVERYONE TO READ THIS ARTICLE !!🤗

--

--

--

I am an IT Enthusiast, who is passionate about exploring/learn all the latest technologies from research perspective.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Meet the official IPinfo CLI

Scalability in video-conferencing (Part 1)

Automate meroshare IPO

Weather app using Django | Python

How to perform CRUD operations using Blazor Server App Part-VIII

Hacking Docker Filesystems

WooCommerce advantages and disadvantages

19coders

Never be afraid of making bold changes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jatin Lodhi

Jatin Lodhi

I am an IT Enthusiast, who is passionate about exploring/learn all the latest technologies from research perspective.

More from Medium

Install LibreOffice 7.3 on Ubuntu / Rocky Linux & Fedora

Install LibreOffice 7.3 on Ubuntu / Rocky Linux & Fedora

How do I find if Log4J is installed in my server?

Logfile Vulnerability Log4Shell for RCE

Divide And Conquer: Rapid Response To The Apache Log4j Vulnerability