Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

Pluggable implementation for distinction between private and public IPs #1308

Open
barakm opened this issue Feb 10, 2013 · 0 comments
Open

Comments

@barakm
Copy link
Contributor

barakm commented Feb 10, 2013

The Openstack provider decides whether an IP is Private or Public based on the IP ranges defined here:
https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/util/InetAddresses2.java

Basically, IPs matching 10., 172. and 192.168.* are considered private, everything else is public. This works well for public clouds but does not really work for private clouds, where the node 'public' IP is actually an IP in a reachable local network and is likely to be in one of these 'private' ranges.

A discussion of how to make this behavior pluggable is available here:
https://groups.google.com/forum/?fromgroups=#!topic/jclouds/jjLfZ08iOYQ

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

No branches or pull requests

1 participant