SETUP BY WHICH WE CAN PING GOOGLE BUT NOT FACEBOOK FROM SAME SYSTEM

SETUP BY WHICH WE CAN PING GOOGLE BUT NOT FACEBOOK FROM SAME SYSTEM

Here we gonna Create a Setup by which we can Ping Google But Not able to ping Facebook from same system.

No alt text provided for this image

As we know that, whenever we PING any of the IP from our System, It will start to create a Network packets but ROUTING TABLE is the one who decides whether we have to send this Packets or not by seeing their ROUTER RULES. If the IP is comes under the IP ranges that’s present in Routing Table of our OS, then it will start to send the packets else it wouldn’t possible to send the packets to that IP.

ROUTING TABLE: In computer networking a routing table, or routing information base (RIB), is a data table stored in a router or a network host that lists the routes to particular network destinations, and in some cases, metrics (distances) associated with those routes. All IP-enabled devices, including routers and switches, use routing tables.

STEP-1:- For doing this practical I have used the RED HAT 8 Linux OS. Command to see the Routing table:-

No alt text provided for this image

Here, my OS has 4 Rules in my OS Routing Table. This rules are by-default present in all the OS, depends on their IP Address.

STEP-2:- If you try to Ping the Google and Facebook, you will see it is Pinging:-

No alt text provided for this image
No alt text provided for this image

STEP-3:- I am removing the default rule from the routing table. After ping the Google and facebook it was not reachable.

No alt text provided for this image

NETMASK:- A netmask is a 32-bit binary mask used to divide an IP address into subnets and specify the network’s available hosts. In a netmask, two of the possible addresses, represented as the final byte, are always pre-assigned and unavailable for custom assignment. For example, in 255.255.225.0, “0” is the assigned network address.

GATEWAY:- A gateway is a piece of networking hardware used in telecommunications for telecommunications networks that allows data to flow from one discrete network to another.

STEP-4:- Now for completing this practical we just only have to add 1 rule in our OS Routing table, by which it only ping google but not facebook.

No alt text provided for this image

Thanks For Reading!!!!

This Task done under the mentorship of Mr. Vimaldaga sir at ARTH - The School of Technologies


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

Akanksha Bhatt的更多文章

  • Task-8 Automation with Python

    Task-8 Automation with Python

    ARTH - Task 8 ??????? Task Description?? ?? Create a Menu Using Python integrating all the concepts that have been…

  • Task-14.3

    Task-14.3

    ???????? ?????????????????????? : Create an Ansible Playbook which will dynamically load the variable file named same…

  • Task-14.2

    Task-14.2

    Ansible playbook that will retrieve new Container IP and dynamically update the inventory and Configure web-server…

  • 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…

  • LOAD BALANCING WITH HAPROXY

    LOAD BALANCING WITH HAPROXY

    Task Description 12.1 Use Ansible playbook to Configure Reverse Proxy i.

    1 条评论
  • ARTH TASK-15

    ARTH TASK-15

    Task Description?? Create an ansible role myapache to configure Httpd WebServer. Create another ansible role…

    1 条评论
  • Neural Networks in Netflix

    Neural Networks in Netflix

    What are Neural Networks? Neural networks are a set of algorithms, they are designed to mimic the human brain, that is…

  • Restarting HTTPD Service is not idempotent in nature and also consume more resources suggest a way to rectify this challenge in Ansible Playbook.

    Restarting HTTPD Service is not idempotent in nature and also consume more resources suggest a way to rectify this challenge in Ansible Playbook.

    What is Idempotent nature in Ansible? An operation is idempotent if the result of performing it once is exactly the…

  • CONFIGURING HADOOP CLUSTER USING ANSIBLE

    CONFIGURING HADOOP CLUSTER USING ANSIBLE

    Welcome you all, in this blog I will cover how we can“ CONFIGURE HADOOP CLUSTER USING ANSIBLE” Before starting the…

    1 条评论
  • How Industries are Solving Challenges Using Ansible??

    How Industries are Solving Challenges Using Ansible??

    What Is Ansible ? ?? Ansible is a software tool that provides simple but powerful automation for cross-platform…

社区洞察

其他会员也浏览了