Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

check that subnets aren't in use #480

Closed
rade opened this issue Mar 24, 2015 · 4 comments
Closed

check that subnets aren't in use #480

rade opened this issue Mar 24, 2015 · 4 comments
Labels
Milestone

Comments

@rade
Copy link
Member

rade commented Mar 24, 2015

Several users have run into problems with weave by accidentally picking CIDRs in weave run or weave expose for networks which are in use by the host.

We could perform some basic checks to prevent common cases of that, i.e. check overlaps with other interfaces and routing table entries on the host.

I guess this may be partially superseded by #22.

@rade
Copy link
Member Author

rade commented Mar 27, 2015

See also #437.

@unitymind
Copy link
Contributor

In the same manner weave run or weave expose can execute on another peer host, using already allocated on another host CIDR.

@rade rade changed the title check that CIDRs aren't in use check that subnets aren't in use Apr 4, 2015
@rade
Copy link
Member Author

rade commented Apr 4, 2015

This is about preventing weave subnets from clashing with host subnets. It's not about IP addresses. IPAM (#22) takes care of ensuring uniqueness of IPs within the weave network.

@unitymind
Copy link
Contributor

Okey, thanks for clarification

@rade rade modified the milestone: next May 26, 2015
@rade rade modified the milestone: next Jun 3, 2015
@rade rade closed this as completed in ecfc5d0 Jul 1, 2015
@rade rade modified the milestone: 1.1.0 Jul 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants