TCP/IP Subnetting

821 Words2 Pages

TCP/IP Subnetting The core components of TCP/IP are the IP address and the Subnet mask. The entire purpose of the Subnet Mask is to show the computer where to separate the IP Address into the Network ID and the Host ID. When read in Binary, a Subnet Mask will always be a string of 1's followed by a string of 0's. The 1's cover the Network ID while the 0's cover the Host ID. The IP Address is separated between the last 1 and the first 0. Network ID Host ID 10101010.01010101 11001100.11100011 = IP Address 11111111.11111111 00000000.00000000 = Subnet Mask TCP/IP addresses are made up of 4 sets of numbers called "Octets." Each octet is an 8 bit binary string. The largest possible value that can be created with 8 characters in binary is 255. There are three classes of IP Address by default. They are determined by the value of their first octet. Each Class address has a particular default Subnet Mask. Class "A" = 1-127 Default Subnet Mask = 255.0.0.0 Class "B" = 128-191 Default Subnet Mask = 255.255.0.0 Class "C" = 192-223 Default Subnet Mask = 255.255.255.0 When viewed in Binary, you'll notice a pattern. Class "A" always begins with a 0 00000001-01111111 Class "B" always begins with a 10 10000000-10111111 Class "C" always begins with a 110 11000000-11011111 The remaining classes (any with a value of 224 or higher in the first octet) are not used for public use, and are not considered valid. Also, though technically a Class "A" address, 127.0.0.1 is reserved for testing purposes. It is referred to as the "Loop-Back Address." It, along with any other address beginning with 127 in the first octet, is not considered valid. When determining Host ID's or Network ID's it is very important to remember that... ... middle of paper ... ...P Addresses and the Subnet into Binary and verify that the Network IDs and Subnet IDs are the same on each IP address. 181.105.112.17 = IP Address #1 10110101.01101001.011 10000.00010001 181.105.120.129 = IP Address #2 10110101.01101001.011 11000.11000001 255.255.224.0 = Subnet Mask 11111111.11111111.111 00000.00000000 The Network IDs must be the same. The Host IDs will be different. Using these steps, we can Ø Identify IP Addresses by Class Ø Specify default Subnet Masks by Class Ø Separate IP Addresses into Network IDs and Host IDs Ø Separate the default Class Addresses into multiple Subnets determined by the required number of Hosts or Subnets Ø Determine the number of Hosts or Subnets in a Network Ø Verify the validity of an address Ø Find the range of a particular Subnet ID Ø Determine whether two addresses are on the same Subnet

More about TCP/IP Subnetting

Open Document