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

Request: calculate n-th subnet #6

Open
Jayka2017 opened this issue Dec 21, 2017 · 9 comments
Open

Request: calculate n-th subnet #6

Jayka2017 opened this issue Dec 21, 2017 · 9 comments

Comments

@Jayka2017
Copy link

Hi,

Would it be possible to add to the code an n- subnet value.
For example the bc, hostmin, hostmax, etc of the 3th subnet for 123.78.88.90/12 ?
Maybe feeding it as an argument to the script?

Thnx.
Jay

@markrogoyski
Copy link
Owner

Hi,
Thanks for your interest in improving the IPv4 SubnetCalculator.

Can you provide some examples to make it clear what you are describing?

Thanks.

@Jayka2017
Copy link
Author

Jayka2017 commented Dec 22, 2017 via email

@markrogoyski
Copy link
Owner

Hi,

When you specify a 172.68.78.89/18 network, the addressable IP range is 172.68.64.0–172.68.127.255. Therefore, when you say you want the seventh subnet, what specifically are you looking for?

Any clarification and specific examples would help. Thanks!

@Jayka2017
Copy link
Author

Jayka2017 commented Dec 22, 2017 via email

@markrogoyski
Copy link
Owner

192.168.11.30/29 would have an addressable IP range of 192.168.11.24 - 192.168.11.31. How do you come up with your subnets 1, 2, and 3?

@Jayka2017
Copy link
Author

Jayka2017 commented Dec 22, 2017 via email

@Jayka2017
Copy link
Author

Jayka2017 commented Dec 22, 2017 via email

@agwidarsito
Copy link

+1 this would be a great feature. E.g. if I want to further subnet the a /24 network into /28, it would be nice to have these generated.

@markrogoyski
Copy link
Owner

Hi @agwidarsito,

Thank you for your feedback above this feature.

Do you know if there are any similar tools or software packages that have similar functionality? It would help to determine how to name the functionality and to verify correctness of an implementation.

Thanks,
Mark

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

3 participants