Hi I have a doubt about route configuration on linux. Please see the attached images. According to my understanding 0.0.0.0 means internet and using that logic the ip mentioned in destination can be accessed using internet is this understanding correct?
Also can it be determined based on these configurations that whether this machine can be accessed over internet or not?
The gateway address 172.17.0.1
is where packets are sent if they don’t match any other route in the table. This gateway would be responsible for forwarding the packets further, potentially out to the internet.
The routing table itself does not provide enough information to determine if the machine can be accessed over the internet. The routing table only shows how packets leaving the machine are routed.
Hi Could you please explain what the second entry means? does it means that according to this route if allowed by the other configurations then mentioned ip in destination can be accessed by 0.0.0.0 (Internet).
The routing tables are for outgoing traffic not incoming (say from the internet).