Network management IP address and subnet mask Linux detailed

Source: Internet
Author: User

IP is something that everyone is very familiar with! But there must be something you do not know, yes, I am the popular science you do not know the Linux Kang brother. In our OSI seven layer model in the network layer will break into the IP header, record our IP address, then IP exactly how many bits? How big is the range?

0.0.0.0-255.255.255.255--This is the range of IP addresses

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/89/98/wKioL1gYBUnCkPnAAAFevxd4f2M703.png-wh_500x0-wm_3 -wmp_4-s_4149928612.png "title=" Qq20161101105051.png "alt=" Wkiol1gybunckpnaaafevxd4f2m703.png-wh_50 "/>


Effective IP Oh!

We look at the IP in Class a the first network segment range is between 1-126, if two or more hosts the first network segment is the same network segment of the host, if the first network segment IP is not the same as the cross-network segment IP.


Class B is the first two numbers representing the same network segment, and the latter two represent different hosts within the network segment


Class C is the first three numbers for the same network segment, and the latter number represents the different hosts within the network segment


Attention:

Private IP is an IP address that everyone can access for use in the intranet.


Let's explain what a subnet mask is, why put this concept with an IP address? Remember that because the subnet mask and IP are present together .


The standard subnet mask for Class A is 255.0.0.0

The standard subnet mask for Class B is 255.255.0.0

The standard subnet mask for Class C is 255.255.255.0


Join IP is: 10.8.11.112

Network address (first address): 10.0.0.0

Broadcast address (last address): 10.255.255.255


IP belongs to which network segment and the number of hosts in the network segment is determined by the subnet mask, that is to say that IP is a class B, but the subnet mask is assigned to the Class C standard Subnet mask, then the network segment conversion method in accordance with Class C calculation.


This article is from the "Brother Hong Linux World" blog, so be sure to keep this source http://zhengkangkang.blog.51cto.com/12015643/1868007

Network management IP address and subnet mask Linux detailed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.