Loopback ping command in linux3/13/2024 If you see replies indicating success, you have Internet connectivity and host name resolution.Īctivity 8 - Ping an Internet Host by IPv6 Address Ģ001:4860:4860::8888 is the IPv6 address of one of Google's public DNS servers. To test Internet connectivity with host name resolution: is the host name of one of Google's public DNS servers. If you see replies indicating success, you have Internet connectivity.Īctivity 7 - Ping an Internet Host by Name If you see replies indicating success, you have local network connectivity.Īctivity 6 - Ping an Internet Host by IPv4 Address Ĩ.8.8.8 is the IPv4 address of one of Google's public DNS servers. For example, if the default gateway address was 192.168.1.1, you would type ping 192.168.1.1. Type ping where is the default gateway address displayed above. Use ipconfig to display the default gateway address.Then press Enter.Īctivity 5 - Ping the Default Gateway For example, if the host name was host1, you would type ping host1. Type ping where is the Host Name IPv4 address displayed above.Use ipconfig /all to display the host name.Then press Enter.Īctivity 4 - Ping the Host Name Type ping where is the IPv4 address displayed above.Use ipconfig to display the host IP address.This is an alias for the loopback address:Īctivity 3 - Ping the Host IPv4 Address To test host name cache resolution, ping the name localhost. You should see replies indicating success.Īctivity 2 - Ping Localhost To test whether or not TCP/IP is functioning on the local host, first ping the loopback address 127.0.0.1: These activities will show you how to use the ping command to ping a host.Īctivity 1 - Ping Loopback Address The command to ping a host is ping, where is the host name or IP address of the host you want to ping.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |