On 04/07/14 20:42, Chris Green wrote:
I know, I've been here before, but it's bitten me again. With most modern routers/switches not providing local DNS how is one supposed to find out who's who on a small LAN?
At home I run dnsmasq but that's overkill for where I am now with just three or four devices on the LAN:-
root@acer-aspire:~# arp-scan -l Interface: eth0, datalink type: EN10MB (Ethernet) Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/) 192.168.13.102 d0:ff:50:07:b7:96 (Unknown) 192.168.13.103 00:0c:43:4a:55:66 Ralink Technology, Corp. 192.168.13.100 00:21:04:f5:7c:a0 Gigaset Communications GmbH 192.168.13.254 10:fe:ed:50:8f:fa (Unknown)
So, I know that 192.168.13.100 is the Gigaset DECT phone but for the other three I'm stuffed. Surely there's supposed to be a way to know how to talk to these things! (One's a Beaglebone Black, two are TP-Link routers)
It can take a while guessing which is which and trying to ssh to them.
It's especially frustrating because I only see this for a few days every few months so I *don't* remember what's what and much of it is powered down so gets different IP addresses next time around. It's just not stable (as in the same all the time) enough to get the router to always assign the same IPs and it wouldn't help all that much anyway as I don';t remember after two months absence.
I'm sorry I don't know the answer to your question.
HOWEVER
The fact that you're struggling with it suggests to me that dnsmasq is *NOT* overkill!
Turn the devices on one at a time and work out which one's which. Note down the mac addresses for each - I doubt that the mac addresses will change. If all else fails, you have a list and it will save you time next time.
Install dnsmasc and put in some entries like dhcp-host=00:21:04:f5:7c:a0,DECT_phone,192.168.13.100
then you'll be able to address devices by a consistent name or a consistent ip address.
That's my 2p anyway. Good luck
Steve