Skip to content
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

When adding a new IPv4 range in a vnet, it should be checked the IP spaces do not collide #1198

Closed
OpenNebulaProject opened this issue Nov 20, 2017 · 2 comments

Comments

@OpenNebulaProject
Copy link


Author Name: Andrés Pozo Muñoz (Andrés Pozo Muñoz)
Original Redmine Issue: 5064, https://dev.opennebula.org/issues/5064
Original Date: 2017-03-16


Hi,

when a new IPv4 range is added to a subnet, it's not checked the IPs in the range are not already in the vnet (nor in other vnet) so you don't end up with repeated IPs.

How to reproduce:

  • Create a vnet and add an IPv4 range starting in 10.0.0.1
  • Add to the same vNET a new range starting in 10.0.0.1
@OpenNebulaProject
Copy link
Author


Original Redmine Comment
Author Name: Ruben S. Montero (@rsmontero)
Original Date: 2017-03-23T10:17:35Z


This is done on purpose. The idea is that you can have multiple AR's in the same VNET, this would be similar to a supernet. Now each AR may have even different VLAN_ID, so collisions in that case is not a problem.

I'm moving this as a request, to evaluate adding a warning.

@rsmontero
Copy link
Member

rsmontero commented Dec 5, 2017

We want to keep current behavior

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

No branches or pull requests

2 participants