Summary: | OpenVPN N2N: openvpn subnet always uses class c networks | ||
---|---|---|---|
Product: | IPFire | Reporter: | Timo Eissler <morlix> |
Component: | --- | Assignee: | Erik Kapfer <ummeegge> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | Minor Usability | ||
Priority: | Will affect an average number of users | CC: | ipfire, michael.tremer, morlix, peter.mueller, ummeegge |
Version: | 2 | ||
Hardware: | all | ||
OS: | All | ||
See Also: | https://bugzilla.ipfire.org/show_bug.cgi?id=11131 |
Description
Timo Eissler
2015-09-12 17:05:32 UTC
This problem can be reproduced here. *what* is the problem? The problem is that OpenVPN subnets (applies for both N2N and RW dial-in) are always used as /16 networks. To give an example, if I specify 10.99.101.0/24 as a OpenVPN network, it is not possible to create networks in 10.99.0.0/16 anymore ("network is already used by..."). This means that even only a /24 is specified, OpenVPN (or something related here) uses a /16 internally - which causes some problems, such as that one above. I still don't get it. Where is the /16 in the console output? I assume this isn't a bug any more. Please reopen in case you want this to be resolved. I think the bug is still open. I'll try to give an easy explaination: Steps to reproduce - Add OpenVPN Subnet with a /30 Network 10.0.0.4/255.255.255.252 - The ifconfig parameter in the n2nconf is 10.0.0.1 10.0.0.2 Expected ifconfig parameter in the n2nconf 10.0.0.3 10.0.0.4 Erik, are you up for another one? Hi all, (In reply to Michael Tremer from comment #7) > Erik, are you up for another one? as a first step --> https://git.ipfire.org/?p=people/ummeegge/ipfire-2.x.git;a=commit;h=1edbec992e1bbf77932ce6fcd147a3522020d1dd . Open questions/work are in the commit message. Help might be nice. Best, Erik |