System error when pinging another network's name

Solution 1:

The designed way of accessing local area network (LAN) computers requires adding .local to the name of the host. Example:

ping charlie-pc.local

Thanks to the user @charlie for the idea.