Skip to content

update ip range to include lowest and highest ip ranges#7

Open
RichieBzzzt wants to merge 1 commit into
riedyw:masterfrom
RichieBzzzt:iprange
Open

update ip range to include lowest and highest ip ranges#7
RichieBzzzt wants to merge 1 commit into
riedyw:masterfrom
RichieBzzzt:iprange

Conversation

@RichieBzzzt

Copy link
Copy Markdown

Love that the function Get-IpRange returns all the IPs in the range, as so many tools online return the lowest and the highest. However I have noticed that the lowest and highest IPs are not returned by the function. As they are allocated by the CIDR they can be included in what is returned. I have updated the Get-IpRange function to return these IPs.

@riedyw

riedyw commented Aug 15, 2024

Copy link
Copy Markdown
Owner

The highest and lowest value in an IP range are reserved for things like broadcasts. They are not considered valid and that is why I didn't include them

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

Successfully merging this pull request may close these issues.

2 participants