The first step in making plans for IP addressing your community is to decide which community magnificence is suitable for your community. After you’ve got carried out this, you may take the essential 2d step: reap the community variety from the Inter NIC addressing authority.
Currently, there are 3 lessons in TCP/IP networks. Each magnificence makes use of the 32-bit IP deal with the area differently, presenting extra or fewer bits for the community as part of the deal. These lessons are magnificence A, magnificence B, and sophistication C.
Class A Network Numbers
A magnificence A community variety makes use of the primary 8 bits of the IP deal with as its “community part.” The ultimate 24 bits include the host a part of the IP deal with, as illustrated in Figure three-2 below.
The values assigned to the primary byte of sophistication A community numbers fall with inside the variety 0-127. Consider the IP deal with seventy-five.four.10.four. The price of seventy-five with inside the first byte suggests that the host is in a category A community. The ultimate bytes, four.10.four, set up the host deal with. The InterNIC assigns simplest the primary byte of a category A variety. Use of the ultimate 3 bytes is left to the discretion of the proprietor of the community variety. Only 127 magnificence A networks can exist. Each of these sorts of numbers can accommodate as many as sixteen,777,214 hosts.
Class B Network Numbers
A magnificence B community variety makes use of sixteen bits for the community variety and sixteen bits for host numbers. The first byte of a category B community variety is withinside the variety 128-191. In the variety 18.104.22.168, the primary bytes, 129.144, are assigned via way of means of the InterNIC and include the community deal with. The remaining bytes, 50.56, make up the host deal with and are assigned at the discretion of the proprietor of the community variety. Figure three-three graphically illustrates a category B deal.
Class B is normally assigned to companies with many hosts on their networks.
Class C Network Numbers
Class C community numbers use 24 bits for the community variety and eight bits for host numbers. Class C community numbers are suitable for networks with few hosts–the most being 254. A magnificence C community variety occupies the primary 3 bytes of an IP deal. Only the fourth byte is assigned at the discretion of the community owners. Figure three-four graphically represents the bytes in a category C deal with.
The first byte of a category C community variety covers the variety 192-223. The 2d and 0.33 every cowl the variety 1- 255. A traditional magnificence C deal with is probably 22.214.171.124. The first 3 bytes, 192.5.2, shape the community variety. The very last byte in this example, 5, is the host variety.