2) With a subnet mask 255.255.224.0, what is the CIDR for the subnet with an address 210.240.10.0?
IP Address: 210.240.10.0 ---------------------------------------- Let's first convert this into binary format 210.240.10.0 Let's convert all octets to binary separately Converting 210 to binary Divide 210 successively by 2 until the quotient is 0 210/2 = 105, remainder is 0 105/2 = 52, remainder is 1 52/2 = 26, remainder is 0 26/2 = 13, remainder is 0 13/2 = 6, remainder is 1 6/2 = 3, remainder is 0 3/2 = 1, remainder is 1 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 11010010 210 in binary is 11010010 Converting 240 to binary Divide 240 successively by 2 until the quotient is 0 240/2 = 120, remainder is 0 120/2 = 60, remainder is 0 60/2 = 30, remainder is 0 30/2 = 15, remainder is 0 15/2 = 7, remainder is 1 7/2 = 3, remainder is 1 3/2 = 1, remainder is 1 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 11110000 240 in binary is 11110000 Converting 10 to binary Divide 10 successively by 2 until the quotient is 0 10/2 = 5, remainder is 0 5/2 = 2, remainder is 1 2/2 = 1, remainder is 0 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 1010 10 in binary is 00001010 Converting 0 to binary Divide 0 successively by 2 until the quotient is 0 Read remainders from the bottom to top as 0 in binary is 00000000 =================================================================================== || 210.240.10.0 in binary notation is 11010010.11110000.00001010.00000000 || =================================================================================== Subnet address: 255.255.224.0 ---------------------------------------- Let's convert this into binary format 255.255.224.0 Let's convert all octets to binary separately Converting 255 to binary Divide 255 successively by 2 until the quotient is 0 255/2 = 127, remainder is 1 127/2 = 63, remainder is 1 63/2 = 31, remainder is 1 31/2 = 15, remainder is 1 15/2 = 7, remainder is 1 7/2 = 3, remainder is 1 3/2 = 1, remainder is 1 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 11111111 255 in binary is 11111111 Converting 255 to binary Divide 255 successively by 2 until the quotient is 0 255/2 = 127, remainder is 1 127/2 = 63, remainder is 1 63/2 = 31, remainder is 1 31/2 = 15, remainder is 1 15/2 = 7, remainder is 1 7/2 = 3, remainder is 1 3/2 = 1, remainder is 1 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 11111111 255 in binary is 11111111 Converting 224 to binary Divide 224 successively by 2 until the quotient is 0 224/2 = 112, remainder is 0 112/2 = 56, remainder is 0 56/2 = 28, remainder is 0 28/2 = 14, remainder is 0 14/2 = 7, remainder is 0 7/2 = 3, remainder is 1 3/2 = 1, remainder is 1 1/2 = 0, remainder is 1 Read remainders from the bottom to top as 11100000 224 in binary is 11100000 Converting 0 to binary Divide 0 successively by 2 until the quotient is 0 Read remainders from the bottom to top as 0 in binary is 00000000 ==================================================================================== || 255.255.224.0 in binary notation is 11111111.11111111.11100000.00000000 || ==================================================================================== Remove all dots to form 11111111111111111110000000000000 Remove all 0's from the right side to form 1111111111111111111 Number of 1's in this is 19 so, Subnet mask is /19 For Calculating network ID, keep first 19 bits of 11010010.11110000.00001010.00000000 and set all remaining bits to 0. so, network ID in binary is 11010010.11110000.00000000.00000000 11010010.11110000.00000000.00000000: ---------------------------------------- 11010010.11110000.00000000.00000000 Let's convert all octets to decimal separately Converting 11010010 to decimal => 11010010 => 1x2^7+1x2^6+0x2^5+1x2^4+0x2^3+0x2^2+1x2^1+0x2^0 => 1x128+1x64+0x32+1x16+0x8+0x4+1x2+0x1 => 128+64+0+16+0+0+2+0 => 210 11010010 in decimal is 210 Converting 11110000 to decimal => 11110000 => 1x2^7+1x2^6+1x2^5+1x2^4+0x2^3+0x2^2+0x2^1+0x2^0 => 1x128+1x64+1x32+1x16+0x8+0x4+0x2+0x1 => 128+64+32+16+0+0+0+0 => 240 11110000 in decimal is 240 Converting 00000000 to decimal => 00000000 => 0x2^7+0x2^6+0x2^5+0x2^4+0x2^3+0x2^2+0x2^1+0x2^0 => 0x128+0x64+0x32+0x16+0x8+0x4+0x2+0x1 => 0+0+0+0+0+0+0+0 => 0 00000000 in decimal is 0 Converting 00000000 to decimal => 00000000 => 0x2^7+0x2^6+0x2^5+0x2^4+0x2^3+0x2^2+0x2^1+0x2^0 => 0x128+0x64+0x32+0x16+0x8+0x4+0x2+0x1 => 0+0+0+0+0+0+0+0 => 0 00000000 in decimal is 0 =================================================================================== || 11010010.11110000.00000000.00000000 in decimal notation is 210.240.0.0 || =================================================================================== ========================================== || So, Network ID is 210.240.0.0 || ==========================================
Get Answers For Free
Most questions answered within 1 hours.