【考试总结】IP Addres之subnet mask

考了一个computer network的期中考试,搞了半天也没弄明白subnet和基本IP address的,感觉很郁闷,于是花了一个小时好好研究了一下,记录在此。

为啥要用:

一般来说,IP address分为前段network,后端为host number,有三种格式,Class A B C,即使是B或C,里面host容量也挺大的,一个机构如果用不了那么多,那就多花钱不值得。于是就用submask盖一下,让只有后边几个数代表host 的number。

咋用:

A subnet mask of 255.255.255.0 tells the computer to use the first three numbers as the network and the last as the node. A mask of 255.255.0.0 would tell it to use only the first two numbers as network and the rest as the node. 

例如:
虚:    Subnet Mask 255.255.240.000 11111111.11111111.11110000.00000000
实:    IP Address 150.215.017.009 10010110.11010111.00010001.00001001
结果:Subnet Address 150.215.016.000 10010110.11010111.00010000.00000000
The subnet address, therefore, is 150.215.016.000.

后记:

An IP address of the form 255.0.0.0 (1 number for network, 3 for node) is called a Class A network 
An IP address of the form 255.255.0.0. (2 for network, 2 for node) is called a Class B 
An IP address of the form 255.255.255.0 (3 for network, 1 for node - most common) is called a Class C network. 

Reference:

https://answers.yahoo.com/question/index?qid=20100524090500AAn9e1c

http://www.webopedia.com/TERM/S/subnet_mask.html

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值