Transferred from:
Http://bbs.51cto.com/thread-68584-1-1.html
Subnet Mask and subnet divisionDirectory:I. SummaryIi. Concepts and functions of subnet mask3. Why do I need to use the subnet mask?4. How to obtain the Network/Host ad
Subnet Mask and subnet division
Directory:I. SummaryIi. Concepts and functions of subnet mask3. Why do I need to use the subnet mask?4. How to obtain the Network/Host address using the subnet
subnet mask and subnet partitioningDirectory:
I. Summary
The concept and function of subnet mask
Third, why do I need to use the subnet mask
Four, how to use the
(2, n)-2 (all zeros are used for network addresses, and all 1 is used for broadcast addresses)
The number of 1 in the subnet mask can be used to calculate the number of subnetworks.
For example, if the IP address is 151.244.20.34 and the subnet mask is 255.255.255.255.255.255.34, this IP address is a Class B IP addres
Directory:I. SummaryIi. Concepts and functions of subnet mask3. Why do I need to use the subnet mask?4. How to obtain the Network/Host address using the subnet maskV. Classification of subnet masksVi. subnet addressing technology7
A summary of the concept and function of two-subnet mask how to use subnet mask four how to get network/host address by subnet mask classification of five subnet masks six
I. Concepts and functions of two subnet masks 3. Why do I need to use a subnet mask 4. How do I use a subnet mask to obtain a network/Host address 5? What is the classification of a subnet mas
Python: a simple method for converting the subnet mask and a python Subnet Mask
This article describes how to convert the subnet mask in Python. We will share this with you for your reference. The details are as follows:
Here, t
The subnet mask cannot exist alone, it must be used in conjunction with an IP address. The subnet mask has only one function, which is to divide an IP address into two parts: network address and host address.The subnet mask settin
As for subnet division, the subnet mask is odd. 1.0.1.0 -- 1.0.3.255 Fujian Telecom converts the subnet mask to an IP segment 1.0.1.0/24--1.0.2.0/23, if two IP addresses are replaced by binary IP addresses in a general way, or the
Returns information such as Network, mask, broadcast, reverse resolution, subnet number, IP type, etc. based on the IP or subnet enteredModule required for IPY module here is the Python3 version#!/usr/bin/envpython#-*-coding:utf-8-*-fromipyimportipip_s= input (' pleaseinputanipornet-range: ') # Parameters are IP or network segment Ips=ip (ip_s) Iflen (IPs) >1: #
host address. The subnet mask must be set according to certain rules. Same as the IP address, the subnet mask length is also 32 bits, the network bits on the left are represented by the binary number "1", and the host bits on the right are represented by the
identified as "210.73.a", the host is identified as "B". B, depending on the number of subnets we need and the number of subnets that may be expanded in the future, define the subnet mask with some bits of the host. For example, we need 12 subnets and we may need 16 in the future. The subnet mask is determined with th
computer number. If the IP address is represented by a binary, the Class A IP address consists of a 1-byte network address and a 3-byte host address, and the highest bit of the network address must be "0". A class of IP address network identification length of 8 bits, host identification length of 24 bits, a class of network addresses a small number of 126 networks, each network can accommodate the number of hosts up to more than 16 million units. Cl
~ 126 is the third Subnet
10000001 ~ 10011110 is 129 ~ 158 is the fourth Subnet
10100001 ~ 10111110 IS 161 ~ 190 is the fifth Subnet
11000001 ~ 11011110 is 193 ~ 222 is the sixth Subnet
Select 161 ~ Section 190 is sent to Network A, 193 ~ Section 222 is sent to Network B because each
/***************************************************************************** * Subnet mask, mask length relationship * Statement: * When we operate the Linux system, we often see that we can use the subnet mask, mask length to r
As we all know, IP is made up of four numbers, here, let's first look at the Class 3 commonly used IPClass A IP segment 0.0.0.0 to 127.255.255.255Class B IP segment 128.0.0.0 to 191.255.255.255Class C IP segment 192.0.0.0 to 223.255.255.255 The default subnet mask assigned by XP is only 255 or 0 per segmentClass A default subnet
PrefaceThis document is simply a logical algorithm, and how to compute network bits, host bits, and broadcast addresses in the case of known IP addresses and subnet masks. All steps are far from the most primitive binary way, the direct hit principle, please read carefully.1. Logic algorithmLogic and operations and logic or operations are used when computing network bits, host addresses, broadcast addresses
The IP address is composed of four digits. Here, let's take a look at three common IP addresses.Class a ip segments 0.0.0.0 to 127.255.255.255Class B IP segments 128.0.0.0 to 191.255.255.255C-type IP segments 192.0.0.0 to 223.255.255.255The default subnet mask allocated by XP is only 255 or 0 for each segment.Class A default subnet
disadvantages of ipv4 have gradually been exposed, that is, the network number occupies too many places, and the number of hosts is too small, so the host addresses it provides become increasingly scarce, currently, in addition to using the reserved IP address to allocate nat addresses within an enterprise, a high-class IP address is usually divided to form multiple subnets for use by different user groups.This is mainly to effectively use the IP address in the case of network segmentation. By
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.