I've got a number of computers connected to a WiFi router - either over WiFi or Ethernet. Some Windows and some MAC. The WiFi router is connected to a cable modem.
The WiFi router is doing the DHCP for the LAN devices.
If I ping any of the LAN devices using their hostname ping returns the external/WAN IP address instead of the LAN ip. So if I do "ping kitchen" the response is something like 188.8.131.52 instead of 192.168.0.50.
I suspect this is causing some of the other issues I have related to devices and file shares not being found between the various machines as in effect it looks to me like all the devices have the same IP as they see the NAT side address and not the LAN.
I'm guessing there is a solution to this but I'm unsure where the problem lies.