Skip to contentSkip to conversation

Finding devices with dynamic IP addresses

DISCUSSION Edward Jubenville 4 participants 4 messages Feb 12, 2007 – Feb 16, 2007

lore
Share & tools
lore
#0 lore raw

I hope this isn't off topic here...

My network will contain several ELDK-based devices configured with dynamic IP addresses (DHCP). I need a way for any Windows PC on the subnet to locate the devices without prior knowledge of their IP address. I'm hoping to find a peer-to-peer
solution that doesn't involve a third party (DNS) server.

Can anyone recommend a strategy for finding devices with dynamic IPs?

I'm using ELDK 3.1 on a custom MPC5200-based board.

Thanks,

Ed Jubenville

#1 lore raw
Quoted 9 lines

From: "Edward Jubenville" <[email protected]> I hope this isn't off topic here...

My network will contain several ELDK-based devices configured with dynamic IP addresses (DHCP). I need a way for any Windows PC on the subnet to locate the devices without prior knowledge of their IP address. I'm hoping to find a peer-to-peer
solution that doesn't involve a third party (DNS) server.

not sure if you can do a broadcast ping and look at the arp info on windows..but if I were to do this in linux, I'd do something like the following

ping -b 255.255.255.255

CTRL-C after a few seconds

then

arp

_________________________________________________________________
Invite your Hotmail contacts to join your friends list with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us

#2 lore raw
In reply to Edward Jubenville
Quoted 6 lines · In message <[email protected]> you wrote:

My network will contain several ELDK-based devices configured with dynamic IP addresses (DHCP). I need a way for any Windows PC on the subnet to locate the devices without prior knowledge of their IP address. I'm hoping to find a peer-to-peer
solution that doesn't involve a third party (DNS) server.

Assign names and use a name server?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
"Ada is PL/I trying to be Smalltalk.                 - Codoso diBlini
#3 lore raw
In reply to Edward Jubenville
Quoted 2 lines

From: Edward Jubenville
Can anyone recommend a strategy for finding devices with dynamic IPs?

To do somehting similar here, we use a scheme were the windows host sends out a UDP broadcast message, and all the devices have daemon running, listening to that broadcast, and sends back (via broadcast) a response with the IP address and serial number embedded.

We use this to identify all running devices on the network. This only works within the same subnet.