-
Notifications
You must be signed in to change notification settings - Fork 174
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
Problem with multiple IP address interfaces #698
Comments
Did you ever find a solution to this? I am having the exact same problem: A machine with two network interfaces is constantly sending the Enter message on the eth1 and appears to only be listening on eth0. Any help would be greatly appreciated. Thanks! |
Sorry, no solution so far ... Moreover, I think that there will be some "differences" with other OS than Linux. But ... I'm glad to see that I'm not alone with this problem ;-) |
I've experienced it as well. It's fixable for the broadcast but it's a bigger problem for the grouping of Zyre peers. At least last time I checked. Imagine two nics with a single group of peers but peers connected on either of the two nics. A whisper can't reach all peers then except for the peer with the two nics. |
Btw if you look in the code it's not hard to force it to attach to a specific NIC |
Hmmmm... I'll check again, hopefully, this week. |
when you call |
My application is a GO application, unning on a Linux/arm box.
It uses the GOZYRE layer (for the full context).
Initialization is like :
GO to C is rather straightforward and does not seem to bring special things.
Basically, it would look like:
All is fine for years ;-)
Now, I add another IP on the same unique interface:
Then, when the application is (re-)started, the other nodes in the
network are confused. They show continuous Enter/.../Exit for this particular
node.
Using TCPDUMP, I see the following:
This requests other nodes to contact my Box on its wrong address.
If one specifies the interface address with zyre_set_interface(), the same
address should be used to identify the TCP connection, no ?
Did I miss anything ?
Did I miss a call to something special ?
Or further investigations would be of interest ?
The text was updated successfully, but these errors were encountered: