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

「network/1_base/tcp_ip_model」网络层主机号计算方法 #17

Closed
RavenLite opened this issue Jun 7, 2022 · 1 comment
Closed

Comments

@RavenLite
Copy link

原文给出的方法是“将 10.100.122.2 和 255.255.255.0 进行按位与运算,就可以得到网络号和主机号”
配图中显示主机号是“00000000”
但实际上主机号的计算方法应该是将子网掩码取反后与IP地址进行按位与运算
正确的主机号应该是“00000010”

@xiaolincoder
Copy link
Owner

已修正到网站:2.1 TCP/IP 网络模型有哪几层?

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