5 votes

How can I ping my Linux system by name without manually typing hosts files?

Systems communicate with each other with IP-addresses, not with hostnames. So, your computer needs to translate your hostname into an IP address. Three common ways to do this are: host file (/etc/...
Ljm Dullaart's user avatar
  • 4,688
1 vote

How can I ping my Linux system by name without manually typing hosts files?

Sending a hostname when requesting an IP address with DHCP is an optional extension. For whatever reason a Linux box may have the DHCP client configured not to do this, or even configured to acquire ...
davolfman's user avatar
  • 602

Only top scored, non community-wiki answers of a minimum length are eligible