Ascend One Interview Question: How many bits do you need for... | Glassdoor

Interview Question

Network Security Engineer Interview Columbia, MD

How many bits do you need for a subnet size.


Interview Answer

3 Answers


Need to know subnetting off top of your head.

Interview Candidate on Feb 5, 2010

If number of addreses required in a subnet is "N" , then you need 2 more (network and bcst addreses) in addition to "N". So "N+2" is rounded of to Next 2 to the power . For e.g if we need 64 addresses in a subnet then , 66 rounded to next 2 to the power is is 2**7 ie 128. so number of bits required is 7.

Brad A on Jan 21, 2012

The minimum addresses needed is 2 bits for 4 addresses 2^(# of addresses) = 2^2 which used for pint to point links. Max addresses can go as much as class A IP address /8 so for maximum bits is 32-8 = 24 bit

Anonymous on Mar 14, 2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.