topic:
If a certain unit has 100 computers and a Class C registration IP address segment: 218.102.142.0, its internal network (LAN) needs to be further divided into two subnets, each subnet has 40 and 60 computers, respectively.
Claim:
(1) Try the subnet mask;
(2) Assuming that the IP address of one of the two computers in the intranet is: 218.102.142.7 and 218.102.142.219, try the subnet address and broadcast addresses of these two computers, and explain whether they are in the same child In the net.
Analyze questions and answers:
This problem is very simple, in fact, it is similar to the memory level of the digital circuit we have learned.
for example:
There are 4 segments of Class C: 218.102.142.0, three of which represent the network number.
Take this as an example
It has 255 machines
Address from 218.102.142.0 --- 218.102.142.255
The network address is: 218.102.142. *
If you want to disassemble this network into several subnets
That is to expand the network number backward
Use a part of the number that represents the machine number to represent the network number.
This will achieve the purpose of the division
This is like this
Because you need to divide two subnets
Then you need to extend a bit used to represent the network number.
And the remaining part must ensure that the machine can be represented
This must be guaranteed to stay up to 6 in the back.
The two in front of the neutral network
The two and 3 bytes of the front represent one subnet
xxxxxxxx.xxxxxxxx.xxxxxxxx.xxyyyyyyyyy
x Represents the network number
Y represented the host number
In fact, there is no subnet mask, it can determine the address of the subnet.
Because we can manually calculate
And the role of the subnet mask is to get the above one.
Therefore, the subnet mask is to change those X all them.
So the last two x has 4 different combinations
You can get two different
Such a subnet address is not necessarily
But the mask is certain: 255.255.255.192
But the two machines given below
We put their address and subnet mask with the X of the X to take out the previous one is its subnet address.
218.102.142.0
218.102.142.192
Change 2 is
11111111111111111.111111111.00
11111111.111111111111111111111.11
This is the subnet address of the two networks
It is stipulated that the broadcast address of each subnet is the maximum address of his subnet machine.
Which is the biggest?
Of course, Y is the biggest one!
So, the first broadcast address is: 11111111111111111111111111.0011111111
The second broadcast address is: 111111111111111111111111111111111111111
1 number of numbers
:)
Converaint into 10
Be
255.255.255.191
255.255.255.255