First Host ID : Subnet address + 1 (adding one to the binary representation of the subnet address) Number of hosts per subnet : 2 (32 – Given bits for mask) – 2ĥ. Broadcast address : By putting the host bits as 1 and retaining the network bits as in the IP addressĤ. Subnet address : AND result of subnet mask and the given IP addressģ. Number of subnets : 2 (Given bits for mask – No. In a classless addressing system the block of IP address is assigned dynamically based on specific rules. A classless addressing system or classless interdomain routing (CIDR) is an improved IP addressing system. A classless addressing system or classless interdomain routing (CIDR or supernetting) is the way to combine two or more class C networks to create a/23 or a /22 supernet. Here, subnet mask is found by putting the given number of bits out of 32 as 1, like, in the given address, we need to put 28 out of 32 bits as 1 and the rest as 0, and so, the subnet mask would be 255.255.255.240. We give the IP address and define the number of bits for mask along with it (usually followed by a ‘/’ symbol), like, 192.168.1.1/28. What we do is that we use host id bits as net id bits of a classful IP address. To reduce the wastage of IP addresses in a block, we use sub-netting. Software Engineering Interview Questions.Top 10 System Design Interview Questions and Answers.Top 20 Puzzles Commonly Asked During SDE Interviews.Commonly Asked Data Structure Interview Questions.Top 10 algorithms in Interview Questions.Top 20 Dynamic Programming Interview Questions.Top 20 Hashing Technique based Interview Questions. Top 50 Dynamic Programming (DP) Problems.Top 20 Greedy Algorithms Interview Questions.Top 100 DSA Interview Questions Topic-wise.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |