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

Additional methods #5

Open
decadence opened this issue Sep 21, 2017 · 4 comments
Open

Additional methods #5

decadence opened this issue Sep 21, 2017 · 4 comments

Comments

@decadence
Copy link

decadence commented Sep 21, 2017

Also would be nice to have:

  • check if IP is in this subnet
  • reverse lookup: get subnet by IP range (given: 50.0.0.0 — 50.255.255.255, get: 50.50.50.50/8)
@markrogoyski
Copy link
Owner

Hi,
Thanks for the suggestions.

The check-if-IP-in-this-subnet feature is straightforward. I will put that on my list of things to implement after the other outstanding issues are implemented.

As for the reverse lookup, that would need to be a static method or something. It would not make much sense to have that as an object method on a particular SubnetCalculator object.

@decadence
Copy link
Author

Ok thanks. Will wait for that.

@markrogoyski
Copy link
Owner

Hi @decadence,

The is IP address in subnet feature has been implemented in Version 3.1.0.

Apologies that it took a year to get around to implementing this. I will get back to you on the reverse lookup at a later date.

@decadence
Copy link
Author

@markrogoyski thanks anyway!

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

No branches or pull requests

2 participants