当前位置:网站首页>IPv4 address, subnet mask, gateway
IPv4 address, subnet mask, gateway
2022-07-01 19:35:00 【See morning mist without Chang'an】
What is? IP Address
IP Address is the Internet address used to identify a network node .
IPv4 Address composition
Address length :32 position
4 A decimal number (0~255) Express , With . separate ( dotted decimal )
IP Address classification
By size
| Category | network number . Host number | IP Range | scale |
|---|---|---|---|
| A class :0~127 start | network . Lord . Lord . Lord | 0.0.0.0~127.255.255.255 | in super-large scale |
| B class :128~191 start | network . network . Lord . Lord | 128.0.0.0~191.255.255.255 | On a large scale |
| C class :192~223 start | network . network . network . Lord | 192.0.0.0~223.255.255.255 | small |
| D class :224~239 start | Multicast | ||
| E class :240~254 start | scientific research |
Distinguish according to the scope of use
Public address : Can be legally used on the Internet , You need to NIC Application for payment , The only global
Private address : Reserved for internal use , There is no need to pay , The LAN is unique
| Category | private IP Range |
|---|---|
| A class | 10.0.0.0~10.255.255.255 |
| B class | 172.16.0.0~172.31.255.255 |
| C class | 192.168.0.0~192.168.255.255 |
special IP Address
| IP Address | effect |
|---|---|
| 127.* .*.* | Local loopback address |
| 169.254 .*.* | Automatically get IP When the address fails |
| 0.0.0.0 | All destination hosts in the default route |
| 255.255.255.255 | Full broadcast |
| 192.168.10.0/24 | network number ( The host is full 0) |
| 192.168.10.255/24 | Broadcast address of the network ( The host is full 1) |
Subnet mask
- Judge IP Network bit of address , Same network bit IP Can communicate directly
- Cannot exist alone , Must be combined with IP Address used together
- Default subnet mask
| Category | Subnet mask | network number . Host number |
|---|---|---|
| A Class address | 255.0.0.0 | network . Lord . Lord . Lord |
| B Class address | 255.255.0.0 | network . network . Lord . Lord |
| C Class address | 255.255.255.0 | network . network . network . Lord |
notes :192.168.1.1/24, The mask bit is 24, amount to 255.255.255.0(24 individual 1)
gateway
What is a gateway ?
- Connecting one network segment to another “ Gateway ”
- It is usually a router or firewall / The address of the access server
host A
IP/ Mask bit :192.168.1.1/24
The default gateway :192.168.1.254
host B
IP/ Mask bit :192.168.2.1/24
The default gateway :192.168.2.254
边栏推荐
- 为什么一定要从DevOps走向BizDevOps?
- 音视频、编解码相关电子书、小工具,打包奉送!
- 如何正确使用Vertx操作Redis(3.9.4带源码分析)
- 【6.24-7.1】写作社区精彩技术博文回顾
- Write it down once Net travel management background CPU Explosion Analysis
- Learning notes - steps of JDBC connection database operation
- nacos启动失败问题解决与总结
- Ffmpeg avframe to cv:: mat
- 任务:拒绝服务DoS
- What must be done in graduation season before going to Shanhai
猜你喜欢

GB28181之SIP协议

Interview questions for audio and video positions in Dachang -- today's headline

论文阅读【Learning to Discretely Compose Reasoning Module Networks for Video Captioning】

Shell高级进阶

Audio and video, encoding and decoding related e-books, gadgets, packaged for free!

白盒加密技术浅理解

pickle.load报错【AttributeError: Can‘t get attribute ‘Vocabulary‘ on <module ‘__main__‘】

Methods of finding various limits

Nacos configuration file publishing failed, please check whether the parameters are correct solution

EasyGBS网络不稳定情况下重复请求视频拉流问题的优化
随机推荐
ECS summer money saving secret, this time @ old users come and take it away
精耕渠道共谋发展 福昕携手伟仕佳杰开展新产品培训大会
Werewolf killing strategy: do you think I'm easy to cheat? Who do we believe!
Download (export) PDF template file (such as approval form), and report error: invalid nested tag * * * found, expected closing tag***
How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?
Instagram 为何从内容共享平台变成营销工具?独立站卖家如何利用该工具?
Team up to learn! 14 days of Hongmeng equipment development "learning, practicing and testing" practical camp, free of charge!
Interview questions for audio and video positions in Dachang -- today's headline
English语法_形容词/副词3级 -注意事项
web开发常用的开源框架的开源协议整理
PostgreSQL varchar[] array type operation
Learning records of building thingsboard, an Internet of things platform
Dlib+opencv library for fatigue detection
Ffmpeg avframe to cv:: mat
[pytorch record] automatic hybrid accuracy training torch cuda. amp
MFC中如何重绘CListCtrl的表头
XML语法、约束
见证时代!“人玑协同 未来已来”2022弘玑生态伙伴大会开启直播预约
Boost the development of digital economy and consolidate the base of digital talents - the digital talent competition was successfully held in Kunming
博途V16 获取系统时间转换成字符串