Linux Network Basics network IP note

Source: Internet
Author: User
I. Class A address starts with 0 and 10000 is A private address Class B address

I. Class A address starts with 0 and 10.0.0.0 is A private address.

Class B address starting with 10, 172.16.0.0 ~ 172.31.255.254 is a private address.

Class C address starting with 110, 192.168.0.0 ~ 192.168.255.254 is a private address.

Host address 127. X

2. subnet mask, network address, and broadcast address conversion.

256 minus the number of the non-255 and 0 parts of the subnet mask to obtain the network number difference of the divided subnet. The bitwise of the subnet mask corresponds to the position of the network number. The broadcast address is the lower-layer network number minus the broadcast address of the upper-layer network.

172.16.1.0/25 subnet mask ----- 255.255.255.255.128

/26 ------ maximum bandwidth limit 192

/27 minutes later than expected

/28 ---- 255.255.255.255.240

/29 ---- 255.255.255.248

/30 ---- 255.255.255.252

/31 255.255.255.254

To find the network number and broadcast address, follow these steps:

1: first obtain the subnet mask

2: use 256 minus the subnet mask to get the network number difference. pay attention to the corresponding bit.

3: obtain the network number.

4: The upper-layer network number is reduced to the lower-layer broadcast address.

Related Article

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.