当前位置:网站首页>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
边栏推荐
- CMU AI PhD 第一年总结
- 宝,运维100+服务器很头疼怎么办?用行云管家!
- Bao, what if the O & M 100+ server is a headache? Use Xingyun housekeeper!
- ddr4测试-2
- Introduction to relevant processes and functions of wechat official account development
- [pytorch record] distributed training dataparallel and distributeddataparallel of the model
- ECS summer money saving secret, this time @ old users come and take it away
- Learning notes [Gumbel softmax]
- Helium transmission line of lake shore cryostat
- Learn MySQL from scratch - database and data table operations
猜你喜欢
从零开始学 MySQL —数据库和数据表操作
The use of subplot function in MATLAB
Solidity - 合约结构 - 错误(error)- ^0.8.4版本新增
SIP protocol of gb28181
Introduction and installation of crunch, and making password dictionary with crunch
测试自学人必看:软件测试如何找测试项目?
数字化转型企业成功的关键,用数据创造价值
Witness the times! "The future of Renji collaboration has come" 2022 Hongji ecological partnership conference opens live broadcast reservation
Introduction to relevant processes and functions of wechat official account development
Parallelism, concurrency and life cycle of threads
随机推荐
Flutter 实战-快速实现音视频通话应用
精耕渠道共謀發展 福昕攜手偉仕佳傑開展新產品培訓大會
win10下使用msys+vs2019编译ffmpeg源码
赋能「新型中国企业」,SAP Process Automation 落地中国
【Go ~ 0到1 】 第四天 6月30 defer,结构体,方法
118. 杨辉三角
OpenCV视频质量诊断----视频遮挡诊断
H264 encoding profile & level control
nacos启动失败问题解决与总结
Solidity - truncated and checked modes of arithmetic operations - new features of 0.8.0
ffmpeg 音频相关命令
音频编解码基础知识
【无标题】
Write it down once Net travel management background CPU Explosion Analysis
241. Different Ways to Add Parentheses
Lumiprobe cell imaging study PKH26 cell membrane labeling kit
Task: denial of service DOS
Solution and summary of Nacos startup failure
Extensive reading of the paper [film: visual reasoning with a general condition layer]
【森城市】GIS数据漫谈(一)