Arth — Networking Task

ARTH — Task 13 👨🏻‍💻

Task Description📄

🔰 Create a Setup so that you can ping google but not able to ping Facebook from same system

This task is to be performed by creating rule in routing table .

  • First of we have to disable ipv6 of our os

command to disable ipv4 -

# sysctl -w net.ipv6.conf.all.disable_ipv6=1

# nslookup

# nslookup

we got the ip of google —

and facebook —

  • Have a look at the routing table
  • Now we have to remove the universal rule and add the a rule such that system can ping google but not facebook .

# route add -net gw enp0s3

  • Command to delete Universal rule —

# route del -net enp0s3 —

Thank you for reading…

#vimaldaga #righteducation #educationredefine #rightmentor #worldrecordholder #linuxworld #makingindiafutureready #righeudcation #arthbylw

#netmask #routetable #gateway



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