Routing Tables

Sanjay Tripathi
2 min readDec 17, 2020

Create a Setup so that you can ping google but not able to ping Facebook from same system. (do not use Firewall)

Using RHELv8 Operating System

First try to pining the Server’s.

both server responding, because we have entry in routing table.

taking the IP of Facebook and google by nslookup command

here 0.0.0.0 means any IP in the world and gateway is my home router. thats why google and Facebook are responding,let us delete the entry from the routing table of 0.0.0.0 so that system cannot go any where.

now we do not have any entry in routing tablefor google or facebook that’s why from now ping is not possible to the server.

now we want to ping google not Facebook, for this we take IP of google and make a entry in routing table so that system know that there is a IP available for this range and a packet can make and send it out via router.

Making an entry in routing table.

by this entry system is able to ping google not Facebook, here no firewall is used only we have done some manipulation in routing table.

Mentored BY : Mr. VIMAL DAGA

#vimaldaga #righteducation #educationredefine #rightmentor #worldrecordholder #linuxworld #makingindiafutureready #righeudcation #arthbylw
#netmask #routetable #gateway

--

--