Avahi

avahi is a zeroconf service discovery and publishing program.

Emerge
Install :

Emerge
Gentoo contains the client component of Avahi that enables one to test this service.

Install :

systemd
Enable the server to start whenever thinks it is appropriate:

If you want to use it right away, also start the service:

OpenRC
Be sure to add the service to the default runlevel for the server daemon to start on system boot. Do so with the command:

Start the service (without restarting) with the command:

Add the appropriate mdns into the hosts line in, An example line looks like:

Files
To also enable IPv6 support, change the line to:

Once this is installed it should be possible to ping the hostname of the machine appending. For example: