IP available range & amp; amp; resolution segment & amp; amp; Gateway Significance

IP network segment available range & resolution & Gateway significance


IP available range
140.118.123.100/26
26 is = 11111111.11111111.11111111.11000000 = 255.255.255.192 
later 0 to N number N used to calculate the power of 2 ^ 2 = ^ 6 = 64. The answer is all of the IP number of the sub-network.
Therefore, IP network segment 'from to 140.118.123.100 140.118.123.164, which can not be assigned to two IP desktop computers, computers that can be dispensed to 140.118.123.101 140.118.123.163. A total of 62.
ps. ip before and after the two can not be used because the first name of the last segment when a broadcast address when
the number of IP if this is the exam, you have to look at all the IP number or with out


==================================================
how to determine whether the same network segment following instructions:?
suppose we want to connect a computer a to C computer:
a computer's IP and Subnet Mask to do "aND" logic operation, get an answer, "the X-"
C computer's IP and Subnet Mask to do. " AND "logic operator, to give an answer" Y "
if X = Y, compared to the same network segment, 
and vice versa, if X does not equal Y, that is, different segments
Gateway: 1. Gateway main function is to" connect two different network segment". That is, if the system determines that the destination is a different network segment, will throw the packet forwarding done Gateway, conversely, if it is determined that the same network segment, i.e., directly to the destination, not via the Gateway. , We will assume a to illustrate the environment, you may be more clear: IP sharing device IP: 192.168.1.1 / 255.255.255.0 and WAN (via ADSL) A computer IP: 192.168.1.11 / 255.255.255.0 Gateway 192.168.1.1 B computer IP: 192.168.1.21 / 255.255.255.0 Gateway (blank) 1.A computer connected to the computer B: the same network segment (not via the Gateway, a direct connection) 2.A computer connected to the Internet: network segments (packet be forwarded by the Gateway, is connected via ADSL to the Internet) 3.B A computer connected to the computer: the same network segment (not via the Gateway, a direct connection)









4.B computer connected to the Internet: network segments (packet forwarding from the Gateway, but Gateway is left blank, so no Internet access)
can be found via the above environment, even if your computer does not need the Internet, but only different network and internal computer exchange segment, you can not set up the Gateway.


2.
is a channel or outlet means, generally used when sharing an Internet connection, there may be allotted by the IP host, other host computer via the Internet, the IP host is the GateWay; or the IP sharing, the present identity reassigned to other computer access, IP sharing that Taiwan is an IP Gateway.

3.
Often this content is assigned to the computer using the IP network typically used at the beginning of section 192.168, normally allotted IP number will be the same as the first three strings with three strings of numbers Gateway. Such as IP - 192.168.16.101, Gateway - 192.168.16.2.

Original: Large column  IP available range & amp; resolution segment & amp; Gateway Significance


Guess you like

Origin www.cnblogs.com/chinatrump/p/11496770.html