Lab :31 Port reachability within subnet(telnet) - TanveeKhanDB/OCI GitHub Wiki

ping

Ping is a network utility command used to check whether a system/server/device is reachable over a network.

ping <hostname/IP>

Steps to test ping command in OCI.

Trying to connect with this public Ip from putty

image

Its not going to connect as we have not define the Ingres rule image

Adding Ingress rule for Ping

Will get the IP of our laptop by using below link and add the derived IP to the ingress rule

https://whatismyipaddress.com/

image image

Unable to ping as Egress rule is blank

image

Try after adding Egress rule:

image

Packets are transmitted sucessfully:

image

telnet

Telnet is a network utility/tool used to test connectivity between systems over a network using the TCP protocol additionally it helps to check whether a specific port/service on a server is reachable and open.

telnet <hostname/IP> <port>

Checking google.com with telnet command:

Not working as Egress is not updated: image

Will install the telnet as command is not found

yum install telnet

image image

Trying after updateing Egress rule for Telnet for all port image

Connect to google.com succesfully: image

⚠️ **GitHub.com Fallback** ⚠️