-
Notifications
You must be signed in to change notification settings - Fork 98
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
undefined method `private?' for #<IPAddress::IPv6:0x00000112b61648> #54
Comments
There is no real definition of a 'private' address in IPv6, you have Global, Unique Local (ULA) blocks which could be thought of a 'private', or Multicast. In fact the IPv4 definition of 'Private' (RFC1918) is only private by the fact that no ISPs route them (although you do see them on the internet from time to time) |
Not specific to this issue, but, I do see this as being a very important part of networking and SDN. Taking a look at rfc5735 and rfc5156 for IPv4 and IPv6 respectively, these special-use addresses should have some sort of interface within the IPv4 and IPv6 classes. Open to thoughts on implementation and benefits.. |
There is no real concept of Private in IPv6, there is ULA (fc00::/7) which are technically private (well Not Routable anyway),
|
Agreed on the I'd like to solicit some feedback in regards to having methods like |
That would be a good idea, I did add to another gem an address_scope method that returned a document string based on the address type, but the addition of something like this would be beneficial to the gem I believe
|
Why is there no "private?" method for IPv6 addresses? - this is annoying because I have to manually check if the object responds to :private before calling it :(
The text was updated successfully, but these errors were encountered: