Skip to content

Not seeing ONVIF device if on different subnet #17

@jimudall

Description

@jimudall

I honestly don't know if this is an issue, or something more nuanced. The context is this:

  1. My interface is on CIDR block 10.10.0.255/24
  2. I have an ONVIF camera that has been assigned a static IP of 192.168.56.147

I start the probe - which sends out a UDP packet on the multicast channel. The camera responds by sending a packet back to my machine's IP address. However, of course it's source address is not on my subnet. I see all this using wireshark on my machine. But I don't receive that device in my callback handler on discovery.

I can run the ONVIF device manager tool and he performs a similar sequence (i.e. broadcast, camera responds) and subsequently it shows up in that tool

Because the node-onvif package doesn't predictably support discovery when I have more than one NIC installed, I can't double check what should happen with that package.

This is a funny scenario, but a realistic one since I'm working in the context of a deployment tool that can discover, identify and ultimately repair issues on site with multiple cameras. In other words I know that answer is 'put the camera on the same subnet'. However, I need to be able to diagnose the situation in order to rectify it.

Do you have any insight you might offer me?

Thanks in advance

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions