Linux - Loopback IP configuration


To configure the host to resolve host names to the loopback IP, the /etc/hosts file must be modified to contain the following entries: hostname.domainname hostname localhost.localdomain localhost

After doing so, you can check that the host name resolves to the loopback IP address by entering the following command:

/bin/ping hostname.domainname

Share this page:
Follow us:
Task Runner