Task 14.1

Task 14.1

Task Description??

?? 14.1 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 e.g firewall etc .

Prerequisite

  • Basic understanding of router, switches, netmask etc.
  • Basic understanding of routing table.

Let's start

Step-1

I used three operating system(Redhat version 8) to perform this task. But we can also perform same task on top of Cloud, docker container etc.

Here is my initial setup where three Redhat cli VM is running on top of VirtualBox.

No alt text provided for this image

This is my initial IP address and routing table of all systems.

Now for batter understanding and making it more simpler just changed IP of System-A, System-B and System-C. I used NIC card enp0s3 which is automatically connected with switch. It can be changed by using

ifconfig <enp0s3> <192.168.43.0/24>
No alt text provided for this image

Step-2

Now System-A is having IP 192.168.99.1, System-B is having IP 192.168.99.2 and System-C is having IP 192.168.99.2 .

No alt text provided for this image

Now creating rule such that System A can ping to two Systems, System B and System C but both these systems should not be pinging each other. For this we just need to do manipulation in routing table and netmask.

[System-A]
route add -net 192.168.99.0 netmask 255.255.255.240 enp0s3

[System-B]
route add -net 192.168.99.0 netmask 255.255.255.254 enp0s3

[System-C]
route add -net 192.168.99.0 netmask 255.255.255.254 enp0s3
No alt text provided for this image

Here is following new routing table of system-A, system-B and system-C..........

No alt text provided for this image

Final output

Here clearly can see, System-A can ping to System-B as well as System-C.

No alt text provided for this image

But....... System-B and System-C can't ping to each other

No alt text provided for this image


Thank You for reading this article ??????


























要查看或添加评论,请登录

Satyam Kumar的更多文章

  • Automatic Image Update using ARGOCD CLI(argocd-image-updater)

    Automatic Image Update using ARGOCD CLI(argocd-image-updater)

    Today I am going to explain how we can setup using argocd-image-updater tool for automatically update the container…

  • Python-Script (LVM Partition)

    Python-Script (LVM Partition)

    Task Description Automating LVM Partition using Python-Script. Lets start.

    2 条评论
  • MongoDB Database Case study

    MongoDB Database Case study

    Hi! Today we are going to discuss about one of the most famous tool which is very commonly used in IT industry. Name of…

  • Create Chat Server Using Python

    Create Chat Server Using Python

    Hello Guys , In this practical we will create a chat server using Python . The Description of Practical or Task is…

  • Terraform module

    Terraform module

    What is terraform module ? A module can be any folder with a main.tf file in it, yes, that is the only required file…

  • AWS SQS Case Study

    AWS SQS Case Study

    Hey guys ! Today we are going to look one of the most common service SQS (Simple Queue Service) available in AWS cloud…

  • OpenShift Industry use cases

    OpenShift Industry use cases

    Hi guys ! Today we are going to brief look at One of the most famous tool which is used very often across all over IT…

  • Jenkins Industry use cases

    Jenkins Industry use cases

    Today we are going to look at one of the most famous CI/CD tool which uses most commonly in DevOps automation world. So…

    2 条评论
  • Task-26 ( GUI container on Docker)

    Task-26 ( GUI container on Docker)

    *Task Description* ?? ?? *GUI container* on the *Docker* ?? Launch a container on docker in GUI mode . ?? Run any GUI…

  • Task-23 (Automate Kubernetes Cluster Using Ansible)

    Task-23 (Automate Kubernetes Cluster Using Ansible)

    *Task Description* ?? ?? Automate *Kubernetes* Cluster Using *Ansible* ?? Launch ec2-instances on *AWS Cloud* eg. for…

社区洞察

其他会员也浏览了