Avahi

avahi is a zeroconf service discovery & publishing program.

Emerge Avahi server
Install :

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

Start the service (without restarting) with the rc-service command:

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

Install :

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

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