If a host is not able to get the MAC address of a host, how it knows about its IP address?

A host will either use a static file like /etc/hosts or DNS protocol to get the IP address of another host.

Contents