-
Notifications
You must be signed in to change notification settings - Fork 60
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
support manually assigning IPs to nodes #12
Comments
Currently no. The idea is to keep the management overhead to a minimum. Do you have a concrete use-case for which the |
The three I have are:
|
I don't really have an answer for 1. As for 2 and 3: this use-case isn't currently supported and probably wouldn't work as you expect: if you're talking about routing, you're probably thinking of adding a sort of "gateway" to the mesh on the statically managed side. Even if you had static IPs, the private nodes would be able to route traffic to the mesh, but the mesh would not be able to route them back. I suspect #8 might a more productive direction. In this case you'd just add all your private nodes to the mesh and let them talk directly to each other. Unfortunately we're not quite there yet. |
2/3 can be addresses by adding a static route to every host (via configuration management) |
If you're already using config management to add the static route to all dynamic hosts, you could probably collect their IPs and add the outgoing routes on the static side. But again: we're probably outside the realm of what wesher was meant to solve. |
I would endorse the idea of static IPs. I am solving the same issue (2/3, routing traffic to another server based on subnet) and unfortunately, there is no "easy" way how to set up default gateway based on hostname. I wanted to move from "pure" wireguard to something more complex and I thought wesher could solve this. |
I'd also really like this because we have software that search for applications running on specific internal IPs and want to specify them for each server. (We want to have the same network layout with the same hosts for different regions) |
Is there a way to statically assign IPs to a specific node?
The text was updated successfully, but these errors were encountered: