SurferdudeHB wrote: » I tried using the 2^n and (2^n)-2 formula but I'm not getting 4096 subnet and 14 hosts answer. Please help.
luke_bibby wrote: » 172.20.0.0/28 or rather 172.20.0.0/255.255.255.240Class B address. Class B default mask = 255.255.0.0 172.20.0.0 is subnetted by borrowing 12 bits from the host portion of the address (28 - 16 = 12). Number of subnets = 2^12 = 4096 Number of usable hosts = (2^4) - 2 = 16 - 2 = 14
closetgeek wrote: » 16 subnets and 14 host -I'm pretty good at this so.... ask away....lol
sina2011 wrote: » Firstly I know this an old thread but Ive been looking for a good explanation on this part of subnetting and you guys have made me 1 step closer to understanding subnetting completley. I Just have one Question for:@Luke Bibby where did you get (Number of usable hosts = (2^4) from in the second part of your explanation I cant seem to figure it out. Cheers.
JockVSJock wrote: » I'm confused on how the answer for this was gotten too. I'm using Chris Bryant's method of subnetting and not getting the same answer: IP Address: 172.20.0.0 Default Mask: 255.255.0.0 Subnet Mask: 255.255.255.224 I convert the default mask and the subnet mask to binary: Default Mask = 11111111.11111111.00000000.00000000 Subnet Mask = 11111111.11111111.11111111.11100000 Using his method I take the bits turned on under the subnet mask (2^11) to find the subnets which gives me = 2048 And again, using his method to find the host, I use the following (2^11-2), which gives me = 2046
Slowhand wrote: » A /28 mask would give 12 network bits, not 11: Subnet Mask = 11111111.11111111.11111111.11110000 That means the subnet mask is 255.255.255.240. With 12 bits, you'd have 2^12 which equals 4096. For the hosts, you'd have (2^4)-2, which makes 14 hosts on each subnet.
JockVSJock wrote: » I don't get it. The original subnet mask is 255.255.255.224, isn't that /27? I don't understand where you are getting /28.
Slowhand wrote: » The OP asked for /28 in the title of the thread: Hi, How many subnets and hosts per subnet can you get from the network 172.20.0.0/28?
Slowhand wrote: » Heh, no worries. At least it was here on TE and not at work you got the wrong number. . . unlike me, who worked an entire graveyard shift, called Cisco SmartNet support twice, and probably tore out half my hair in frustration before realizing that it wasn't my VPN tunnel or my firewall settings that were wrong, it was the address and mask on a subinterface.
Steadfast Girl wrote: » i have a question. Answer me please. Question:How many subnet and hosts per subnet can you get from the network 174.20.0.0/23 Remember for host part at least 2 bits are required?
Steadfast Girl wrote: » thanks for answering my question. GOD bless u allz.
rphann wrote: » The answer is: (2^9)-2=510 510 hosts per subnet (2^7)=128 128 subnet
hardstylewon wrote: » I couldn't have said it better.
gbdavidx wrote: » I understand that 2 can't be used because the first and last ip, but why it -2 a 2nd time?