Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery Cross Network Segments ? #81

Open
lyling opened this issue Apr 8, 2018 · 3 comments
Open

Discovery Cross Network Segments ? #81

lyling opened this issue Apr 8, 2018 · 3 comments

Comments

@lyling
Copy link

lyling commented Apr 8, 2018

I have some requirement about discovery my server from different segments.
My Server(device) is hosted on Segment 192.168.2.x.
My Clients(Software) is on Segment 192.168.1.x.

Clients can only discovery devices on the same segment 192.168.1.x;
How can i do that clients can discovery my server(device) when in different segment?

@Frankenslag
Copy link

I think that you need to talk to whoever is administering your network. I believe that multicast routing would need to be enabled between the two network segments. I also had a similar problem but it was between WIFI connected devices and wired.

@Yortw
Copy link
Owner

Yortw commented Feb 3, 2019

Hi,
I'm not familiar with this setup personally and I'm not expert enough in networking to have a definitive answer for you, sorry. I think what @Frankenslag said is true. You may also need to adjust the 'time to live' setting on the UDP sockets created, as I believe that setting is a number of 'hops' the packets are allowed to make, with each router being considered a hop, so that value may need increasing as well. Unfortunately that's all the advice I have. Hope it helps. Good luck!

@marchewek
Copy link

I'm pretty sure that one can disable multicast message routing in the infrastructure, so increasing TTL might not necessarily work. We had a case where UDP messages were not transmitted to other VLANs at all and it was solved by simple router configuration (what actually was not an easy feat in a corporate environment ;)
Please keep in mind that UDP packet delivery is anyway not guaranteed, so in parallel to discovery I'd recommend implementing explicit configuration :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants