Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the categories of IP addresses

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of "what is the classification of IP addresses". The editor shows you the operation process through an actual case, and the operation method is simple, fast and practical. I hope this article "what is the classification of IP addresses" can help you solve the problem.

IP address introduction:

All devices that can access the Internet must have an IP address.

And every IP address means that everyone must have a name.

What a common IP address looks like, such as the default address of a TP-Link wireless route:

192.168.1.1

Configure the IP address of your network card:

192.168.1.2 255.255.255.0

Note:

The IP address must be paired with the subnet mask, otherwise it is meaningless

Check the IP address configuration of your Nic:

1. Through the graphical interface (through mouse clicks)-that is, the win system

2. Through the command line

# Open and run, type cmd, and call out the "command line window"

# enter command: ipconfig / / display the IP address information of the network card

Ipconfig / all-- > View all network cards of the device

Information

Quick call "run"-start + r

-

Connectivity testing tool-ping

How it works:

1. Send a "request packet"-request to the specified destination IP address

2. The target device returns a "reply package"-reply

For example: ping succeeded!

PC > ping 192.168.1.2

Pinging 192.168.1.2 with 32 bytes of data:

Reply from 192.168.1.2: bytes=32 time=0ms TTL=128

Reply from 192.168.1.2: bytes=32 time=0ms TTL=128

Reply from 192.168.1.2: bytes=32 time=0ms TTL=128

Reply from 192.168.1.2: bytes=32 time=0ms TTL=128

Ping statistics for 192.168.1.2:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

For example: ping failed!

PC > ping 192.168.1.3

Pinging 192.168.1.3 with 32 bytes of data:

Request timed out. (default timeout is 2s=2000ms)

Request timed out.

Request timed out.

Request timed out.

Ping statistics for 192.168.1.3:

Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)

Shortcut commands:

Press ctrl and c at the same time to quickly terminate the ping command

Special ping commands:

Ping 127.0.0.1

# the address represents the device itself

# this command indicates that you send a packet to yourself

If yes, it means that you can receive and send messages normally.

Usually use this command to check the network card / port of the device itself

Whether the function is normal!

Classification of IP addresses: (x.x.x.x)

Goal: in order to facilitate the management of IP addresses

Principles:

Look at the first few fixed bit of the first byte in the IP address

0000 0000.X.X.X

The first byte of A, the first bit, if it is 0, it is called A

0-127 default mask 255.0.0.0

0000 0000-> 0

0111 1111-> 127

The first byte of B, the first two bit, if it is 10, it is called B.

128-191 default mask 255.255.0.0

1000 0000-> 128

1011 1111-> 191

The first byte of C, the first three bit, if it is 110, it is called C.

192-223 default mask 255.255.255.0

The first byte of D, the first four bit, if it is 1110, it is called D.

224-239 No mask

E the rest

240-255 laboratory reserved for use

If you don't understand the bit of IP address, you don't have to worry about it first, and the subnet mask should also be synchronized. It is very important to remember that the IP address and subnet mask must appear in pairs.

Class An address 0-127

Class B address 18-191

Class C address 192-223

Class D address 224-255

Class E address 240-255

This is the end of the content about "what are the categories of IP addresses". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report