-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
optional static IP addresses #1477
Comments
in this context, i want to add what i would want of static ips.
|
Why? As for other points, even conflicting IPs wouldn't be a problem with few tricks (#1143). Such VMs would not be able to communicate with each other, but that shouldn't be a problem. |
case A) case B) in all cases i would like a static ip, since i can set it to something i can remember. would providing an ip to vms without netvm pose a problem? |
Preserving the IP (so it will stay the same after switching netvm) - not a problem. Keeping the IP set in the VM while it doesn't have netvm - not so easy, because there is no network interface there, so no place to set the IP on. Anyway, I've just implemented this (for Qubes 4.0). The VM IP can be set to any value. This is the IP really used for routing etc, so can't be duplicated. There is also another feature #1143 for hiding the "real" IP (possibly set by the user using feature discussed here) from the VM. So, VM can see any IP as its own, but it's got NATed in its netvm to the "real" one. This "fake" IP can be duplicated without an issue. |
For Qubes-Whonix we really could use static IP addresses. The current postinst / dpkg-triggers / search / replace-ips of internal IP addresses in config files approach is really something I dislike like because of the extra complexity layer that adds on top.
(The current implementation is derived from the fact, that a lot configuration files do not support variables. Worse so, a lot do not provide
.d
config snippet mechanisms.)In Whonix hidden services instructions there is a chapter that suggests to torrc.
That is bad, because AppVM IPs can change. Also this is currently not covered by the replace-ips mechanism. (I wouldn't know how this could be implemented.)
Although ideally we could keep the 10.152.152.10 IP range. Was painful when we changed from 192 to 10. ( https://forums.whonix.org/t/implemented-feature-request-suggestion-gw-network-settings/118 ) More scalable. Provides more IP addresses. Leaks even less likely, due to different subnets. Less confusion by "does it conflict with my router". (Some more discussion on 10.152.152.10 in #1143 (comment) .)
The text was updated successfully, but these errors were encountered: