Skip to content

Multiple interface address case #459

Description

@anti-social

I have a service with 2 addresses on an interface (192.168.1.148/24 and 10.238.0.51/24) and a discoverer with only one address (192.168.1.2/24). With this configuration the discoverer does not always discover the service. In wireshark I can see that sometimes the service chooses 10.238.0.51 ip address to communicate (as addresses are stored in a HashSet it depends on its seed). Thus the discoverer does not see these packets as it does not have such an address.

I think it would be worth sending dedicated announcements for every address on an interface and responses only for matched addresses with a source one. I have a quick patch which implements this behavior although it is a little hacky.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions