search
HomeCommon ProblemInternet IP addresses are divided into several categories

Internet IP addresses are divided into several categories

What are the categories of IP addresses on the Internet?

IP addresses are divided into 5 types according to different network IDs, Class A addresses, Class B addresses, Class C addresses, Class D addresses and Class E addresses.

1. Class A IP address

A Class A IP address consists of a 1-byte network address and a 3-byte host address. The highest bit of the network address must be "0". Address The range is from 1.0.0.0 to 126.0.0.0. There are 126 Class A networks available, each of which can accommodate more than 100 million hosts.

2. Class B IP address

A Class B IP address consists of a 2-byte network address and a 2-byte host address. The highest bit of the network address must be "10 ”, the address range is from 128.0.0.0 to 191.255.255.255. There are 16,382 Class B networks available, and each network can accommodate more than 60,000 hosts.

3. Class C IP address

A Class C IP address consists of a 3-byte network address and a 1-byte host address. The highest bit of the network address must be "110". The range is from 192.0.0.0 to 223.255.255.255. There are more than 2.09 million Class C networks, and each network can accommodate 254 hosts.

4. Class D addresses are used for multicast (Multicast).

The first byte of the Class D IP address starts with "lll0", which is a specially reserved address. It does not point to a specific network. This type of address is currently used in multicast (Multicast). A multicast address is used to address a group of computers at a time and identifies a group of computers that share the same protocol.

5. Class E IP addresses

Start with "llll0" and are reserved for future use. An all-zero ("0.0.0.0") address corresponds to the current host. The IP address with all "1"s ("255.255.255.255") is the broadcast address of the current subnet.

Internet IP addresses are divided into several categories

Extended information:

In the three main types of IP addresses, 3 areas are reserved as private addresses. The address range is as follows:

Class A address: 10.0.0.0~10.255.255.255

Class B address: 172.16.0.0~172.31.255.255

Class C address: 192.168.0.0~192.168.255.255

The first group of numbers in a Class A address is 1 to 126. Note that the numbers 0 and 127 are not used as Class A addresses, the number 127 is reserved for the internal loopback function, and the number 0 indicates that the address is the local host and cannot be transmitted. The first set of numbers for Class B addresses is 128 to 191. The first set of numbers for a Class C address is 192 to 223.

1. Class A address

The representation range of Class A address is: 0.0.0.0~126.255.255.255, the default network mask is: 255.0.0.0; Class A address is allocated to special scale Large network usage. Class A networks use the first set of numbers to represent the address of the network itself, and the next three sets of numbers as the addresses of hosts connected to the network. Assigned to large networks with a large number of hosts (direct individual users) and a small number of LANs.

2. Class B address

The representation range of Class B address is: 128.0.0.0~191.255.255.255, and the default network mask is: 255.255.0.0; Class B address is allocated to general Medium sized network. Class B networks use the first and second sets of numbers to represent the network address, and the last two sets of numbers represent the host address on the network.

3. Class C address

The representation range of Class C address is: 192.0.0.0~223.255.255.255, and the default network mask is: 255.255.255.0; Class C address is allocated to small networks , such as general local area networks and campus networks, the number of hosts that can be connected is the smallest, and the users are divided into several network segments for management.

The above is the detailed content of Internet IP addresses are divided into several categories. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
ip与mac绑定什么意思ip与mac绑定什么意思Mar 09, 2023 pm 04:44 PM

ip与mac绑定是指将特定的IP地址与特定的MAC地址关联起来,使得只有使用该MAC地址的设备才能够使用该IP地址进行网络通信。ip与mac绑定可以防止被绑定的主机的IP地址不被假冒,前提条件:1、MAC地址是唯一的,并且不可假冒;只能绑定与路由器直接相连的网络上的主机(也就是主机的网关在路由器上)。

网站怎么通过nginx设置黑/白名单IP限制及国家城市IP访问限制网站怎么通过nginx设置黑/白名单IP限制及国家城市IP访问限制Jun 01, 2023 pm 05:27 PM

一、黑/白名单IP限制访问配置nginx配置黑白名单有好几种方式,这里只介绍常用的两种方法。1、第一种方法:allow、denydeny和allow指令属于ngx_http_access_module,nginx默认加载此模块,所以可直接使用。这种方式,最简单,最直接。设置类似防火墙iptable,使用方法:直接配置文件中添加:#白名单设置,allow后面为可访问IPlocation/{allow123.13.123.12;allow23.53.32.1/100;denyall;}#黑名单设置,

微信怎么查看ip地址微信怎么查看ip地址May 31, 2023 am 09:16 AM

微信查看ip地址的方法:1、登录电脑版微信,右键点击屏幕下方的任务栏,点击“任务管理器”;2、弹出任务管理器时,点击左下角的“详细信息”;3、任务管理器进入“性能”选项,点击“打开资源监视器”;4、选择“网络”,勾选微信进程“Wechat.exe”;5、点击下面的“TCP连接”即可监视微信网络IP相关情况,发送消息得到回复就会显示他人的IP地址。

nginx如何设置目录白名单和ip白名单nginx如何设置目录白名单和ip白名单May 18, 2023 pm 03:52 PM

1.设置目录白名单:对指定请求路径不设置限制,如对请求路径为api目录下的请求不做限制,则可写为server{location/app{proxy_passhttp://192.168.1.111:8095/app;limit_connconn20;limit_rate500k;limit_reqzone=fooburst=5nodelay;}location/app/api{proxy_passhttp://192.168.1.111:8095/app/api}}#因nginx会优先进行精准匹

基于nginx反向代理如何获取用户真实Ip地址基于nginx反向代理如何获取用户真实Ip地址May 13, 2023 pm 05:07 PM

引言nginx做反向代理时,默认的配置后端获取到的Ip地址都来自于nginx,用request.getRemoteAddr();获取到的是nginx的ip地址,而不是用户的真实ip.1.修改Nginx配置:server{listen80;server_namejenkins.local.com;location/{proxy_set_headerHost$host;proxy_set_headerX-Real-IP$remote_addr;proxy_passhttp://192.168.10.

本机ip地址查询本机ip地址查询Jan 05, 2024 pm 01:42 PM

本机ip地址查询的方法有:1、 Windows系统下,打开“开始菜单”并搜索“cmd”打开命令提示符,输入“ipconfig”,然后按回车键,查找名为“IPv4 地址”的一行,其旁边的数字就是本机的IP地址;2、macOS系统下,点击屏幕左上角的苹果图标,选择“系统偏好设置”,在“网络”选项中找到当前连接的网络,点击“高级”按钮,在“TCP/IP”选项卡中查找本机的IP等等。

wifi显示无ip分配怎么办wifi显示无ip分配怎么办Aug 30, 2023 am 11:58 AM

wifi显示无ip分配的解决办法:1、重新启动设备和路由器,关闭设备上的Wi-Fi连接,关闭设备,关闭路由器,等待几分钟,然后重新打开路由器链接wifi;2、检查路由器设置,重启DHCP,确保DHCP功能已经启用;3、重置网络设置,将删除所有已保存的WiFi网络和密码,在执行此操作之前,请确保已备份;4、更新路由器固件,登录路由器管理界面,查找固件更新选项,并按照提示进行操作。

IP是什么意思呢IP是什么意思呢Jan 05, 2024 pm 01:34 PM

IP常见的含义有“IP地址”、“知识产权”、“独特卖点”和“独立性”四种:1、IP地址,是计算机网络中用于标识和定位设备的数字标识;2、知识产权,指人们的智力创造成果所享有的权益,包括专利、商标、版权和商业秘密等;3、独特卖点,是产品或服务的独特特点,使其与竞争对手区分开来并吸引顾客;4、独立性,指一个国家或地区拥有自主决策和自我管理的能力,不受外部控制或干涉。

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft