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

CIDR, IP地址段问题 #3

Open
csrgxtu opened this issue Apr 14, 2015 · 3 comments
Open

CIDR, IP地址段问题 #3

csrgxtu opened this issue Apr 14, 2015 · 3 comments

Comments

@csrgxtu
Copy link
Owner

csrgxtu commented Apr 14, 2015

在一个CIDR类型的地址段中,有哪些IP不可用?如64.18.0.0/20中,都有哪些IP地址不可用?是只有_...0和_...255不可用吗?

@lyt8384
Copy link

lyt8384 commented Apr 15, 2015

要算一下的,你64.18.0.0/20 掩码是255.255.240.0
首先网络号的地址64.18.0.0不能用。。还有广播地址64.18.15.255不能用其他都能用。。。例如 64.18.1.0 和64.18.1.255都是可用的~~~

@csrgxtu
Copy link
Owner Author

csrgxtu commented Apr 15, 2015

@lyt8384 👍
那就是说,一个IP地址段中,一般是第一个和最后一个地址不能使用。因为它们要被用作广播。

@lyt8384
Copy link

lyt8384 commented Apr 15, 2015

是的。最后一个是广播地址。。第一个是网络号

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