hdhomerun_config discover issue with VLANs

Want to write your own code to work with a HDHomeRun or work with the HDHomeRun DVR? We are happy to help with concepts, APIs, best practices.
Post Reply
jamesm113
Posts: 52
Joined: Sat Oct 06, 2012 7:04 pm

hdhomerun_config discover issue with VLANs

Post by jamesm113 »

I have several VLANs. My HDHomeRun is on one, other devices on other VLANs. I setup my router to relay broadcast packets to UDP 65001 to the HDHomerun and relay the response the requesting device. Seems to work fine for the HDHomeRun app, but having an issue with the `hdhomerun_config` tool.

Basically, it appears the hdhomerun_config tool does a little bit of a shortcut, and instead of reading the contents of the response packet(s), it simply assumes the responding IP address is the HDHomeRun. If it were to read the packet, it would see the correct IP address of the HDHomeRun device.

My router is 192.168.1.1 and my HDHomeRun is 192.168.4.101:

Code: Select all

$ ./hdhomerun_config discover
hdhomerun device 10435B7D found at 192.168.1.1
$ ./hdhomerun_config discover 192.168.4.101
hdhomerun device 10435B7D found at 192.168.4.101
Here's the packet trace:
Image

nickk
Silicondust
Posts: 18798
Joined: Tue Jan 13, 2004 9:39 am
x 159

Re: hdhomerun_config discover issue with VLANs

Post by nickk »

If you forward the IPv4 broadcast discover packet and/or the Ipv6 multicast discover packet it should still have the source IP of the client. Devices will reply to the client directly with the reply routed as per normal. The client should then have the right IP.

Nick

Post Reply