What is the New Subnet Mask and the IP Address Range of the first - ProProfs Discuss
Advertisement

What is the New Subnet Mask and the IP Address Range of the first Network?

Subnet the Address 150.20.0.0 into networks supporting 500 Hosts each.

Asked by AP_Jake, Last updated: Apr 13, 2024

+ Answer
Request
Question menu
Vote up Vote down

4 Answers

Shekhar Aryan

Shekhar Aryan

Shekhar Aryan
Shekhar Aryan

Answered Jul 30, 2019

500 hosts would require minimum of 9 bits, as 2^9 = 512. Keeping the lat bit of the third byte reserved for hosts, and the rest seven for subnets, we have first seven bit as 1, making the third byte to be 254. Thus Subnet mask is 255.255.254.0. Now the first subnet will be having subnet id as 0, ie. all the seven bits as 0 in the third byte. And for the first address, we will have first seven bits as zero and last bit as 1 in the 4th Byte (Note: All zeros is not a valid IP, and neither is all 1s). So the first address should ideally be 150.20.0.1. Accordingly the last address would be 150.20.1.254

upvote downvote
Reply 

Michael_66

Michael_

Michael_66
Michael_

Answered Jul 20, 2017

No need to do all the math, process of elimination pointed to answer,512 = 2^9 hosts. Reserving 9bits from right to left (host bits) leaving right most bit on third Octet as a 0 (254).

upvote downvote
Reply 

pinstrypsoldier

pinstrypsoldier

pinstrypsoldier
Pinstrypsoldier

Answered Mar 24, 2017

Agreed. This was a fairly quick one as no ambiguity in the possible answers.

2^9=512, so 9 bits must be left out of the possible 16 for hosts (address is a class B with a /16 mask) which leaves 7 bits for networks. /16 plus 7 = /23 /24 is 255 . 255 . 255 . 0 1 bit less (which also only has a weight of1) makes 255 . 255 . 254 . 0Only 1 answer has 255 . 255 . 254 . 0 in the answer anywhere. Didn't need to work anything else out.

Took me longer to write the explanation!

Getting fed up with being told about removing a URL from these posts
upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Oct 27, 2016

Subnet Mask 255.255.254.0, Range 150.20.0.0 - 150.20.1.255

150.20.0.0 Need 500 Hosts per Network 128 64 32 16 8 4 2 1 . 128 64 32 16 8 4 2 1 0 0 0 0 0 0 0 1 . 1 1 1 1 0 1 0 0 = 500 in binary Need to save 9 bits for # of Hosts New Subnet Mask = 255.255.11111110.00000000 (254.0) or /23 ^ Increment = 2 in the 3rd Octet 2^7 = # of Networks = 128 2^9-2 = # of Hosts per Network = 510 First 5 IP Ranges 150.20.0.0 - 150.20.1.255 20.2.0 20.3.255 20.4.0 20.5.255 20.6.0 20.7.255 20.8.0 20.9.255
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.