# Subnet question

mr2nut
Member Posts:

**269**
Hi guys,

I was going over a few practise questions i've found on the net and this was one of them..

You need to plan a custom subnet for the network for 6 Servers, 26 clients and future expansion for 5 more clients (so a total of 37) and the answers are...

a) 192.168.4.64/27

b) 192.168.4.32/27

c) 192.168.4.64/26

d) 192.168.4.32/26

Which answer would it be and why? I've always been a bit rusty with subnetting, once I have had this fully explained it will help me a great deal to pick it back up again as I find it quite hard to pick up from the MS book. Thanks

Another question, if you have a subnet of 255.255.255.255, working back one bit at a time you would get...

1 bits off 255.255.255.255 would be 255.255.255.254 = /31 = maximum number of clients?

2 bits off 255.255.255.255 would be 255.255.255.252 = /30 = " "

3 bits off 255.255.255.255 would be 255.255.255.248 = /29 etc

4 bits off 255.255.255.255 would be 255.255.255.240 = /28 etc

5 bits off 255.255.255.255 would be 255.255.255.224 = /27 etc

6 bits off 255.255.255.255 would be 255.255.255.192 = /26 etc

7 bits off 255.255.255.255 would be 255.255.255.128 = /25 etc

8 bits off 255.255.255.255 would be 255.255.255.0 = /24 etc

Is that right yes? If somebody could fill the maximum number of clients part of each line in for me that would help me get my head around this much easier. Cheers in advance

Luke

I was going over a few practise questions i've found on the net and this was one of them..

You need to plan a custom subnet for the network for 6 Servers, 26 clients and future expansion for 5 more clients (so a total of 37) and the answers are...

a) 192.168.4.64/27

b) 192.168.4.32/27

c) 192.168.4.64/26

d) 192.168.4.32/26

Which answer would it be and why? I've always been a bit rusty with subnetting, once I have had this fully explained it will help me a great deal to pick it back up again as I find it quite hard to pick up from the MS book. Thanks

Another question, if you have a subnet of 255.255.255.255, working back one bit at a time you would get...

1 bits off 255.255.255.255 would be 255.255.255.254 = /31 = maximum number of clients?

2 bits off 255.255.255.255 would be 255.255.255.252 = /30 = " "

3 bits off 255.255.255.255 would be 255.255.255.248 = /29 etc

4 bits off 255.255.255.255 would be 255.255.255.240 = /28 etc

5 bits off 255.255.255.255 would be 255.255.255.224 = /27 etc

6 bits off 255.255.255.255 would be 255.255.255.192 = /26 etc

7 bits off 255.255.255.255 would be 255.255.255.128 = /25 etc

8 bits off 255.255.255.255 would be 255.255.255.0 = /24 etc

Is that right yes? If somebody could fill the maximum number of clients part of each line in for me that would help me get my head around this much easier. Cheers in advance

Luke

#### Categories

- 111.9K All Categories
- 370 Welcome Center
- 78 Announcements
- 10 Forum Rules of Engagement
- 207 Introduce Yourself
- 56 TechExams Support
- 88.7K Certification Preparation
- 131 Check Point: CCSA & CCSE
- 32.9K Cisco
- 21.6K CCNA & CCENT
- 370 CCDA & CCDP
- 9K CCNP
- 7 Cisco CyberOps
- 1.7K CCIE
- 538 Cloud Certifications
- 199 Amazon Web Services (AWS)
- 39 Azure
- 119 CCSP
- 78 Cloud+ & Cloud Essentials
- 15.5K CompTIA
- 5K A+
- 245 CASP+
- 114 CySA+
- 974 Linux+
- 4.4K Network+
- 35 PenTest+
- 266 Project+
- 3.9K Security+
- 335 Server+
- 251 Other CompTIA Certifications
- 1.2K EC-Council
- 586 CHFI
- 627 CEH
- 1.4K GIAC
- 47 IAPP
- 1K ISACA
- 28 CRISC
- 284 CISA
- 706 CISM
- 4.3K (ISC)²
- 666 CISSP
- 35 CSSLP
- 3.6K SSCP
- 926 Juniper
- 737 LPI, Red Hat & Linux Foundation
- 18.6K Microsoft
- 150 MCSA 2016 / MCSE 2016
- 161 Windows 10 exams
- 139 Windows 8 exams
- 1.4K Windows 7 exams
- 1.6K MCSA / MCSE on Windows 2012 General
- 2.3K MCTS / MCITP on Windows 2008 General
- 828 Exchange Server & Office Communications Server Exams
- 537 Other Microsoft Electives
- 349 MCSA/MCSE: Security
- 300 Microsoft Developers Certifications
- 485 SQL Server exams
- 161 Offensive Security: OSCP & OSCE
- 2K Other Security Certifications
- 345 Virtualization Certifications
- 231 Citrix Certifications
- 104 VMware
- 1.9K Other Certifications
- 14 Business Analyst Certifications
- 391 CWNP Certifications
- 873 ITIL Certifications
- 220 Project Management Certifications
- 85 Apple Mac OS X Certifications
- 62 Novell Certification
- 81 Oracle Certifications
- 52 Sun Microsystems Java Certification
- 114 Storage Certifications
- 6.7K General Certification
- 18K Education & Development
- 64 Colleges & Schools
- 89 Educational Resources
- 17.7K IT Jobs / Degrees
- 75 Professional Development
- 385 Cybersecurity
- 19 Auditing & Compliance
- 16 Cloud Security & IoT
- 15 Cryptography & PKI
- 38 Cybersecurity Management
- 5 Data Science & Machine Learning
- 9 Forensics
- 8 ICS/SCADA Security
- 34 Incident Response
- 8 Linux Security
- 11 OWASP
- 33 Pentesting
- 43 Security Awareness & Training
- 52 Security News & Breaches
- 11 Windows Security
- 20.2K General
- 33 Conferences & Events
- 21 Computer Gaming
- 7 Data Center
- 84 Classifieds
- 51 For Sale
- 6 Wanted (ISO)
- 16 Help Wanted
- 17 Just for Fun
- 18 Networking
- 17.5K Off-Topic
- 20 Scripting
- Show Us Your Tech!
- 23 Troubleshooting
- 2.4K Virtualization

## Comments

3,352■■■■□□□□□□27 leaves 5 bits left. for clients, it's 2n-2. So 23 client bits are left. This obviously doesn't satisfy the requirements for 6 servers, 26 clients, and scalability for 5 more users. So we know just narrowed down the answer to c or d.

So with a /26 we have a subnet mask of 255.255.255.192

11111111.11111111.11111111.11000000

Taking a look at the last bit, that bit value is in the placement of 64. This means our first subnet will start at 64. Since we're subnetting class C and borrowing 2 subnets from the last octet to work with, we have 2 bits to work with as subnet bits.

11

128 and 64

with subnets, it's 2n. Since we have 2 bits, that's 4 subnets to work with.

00

01

10

11

Our lowest subnet is 64 since it's in the 64 bit position.

So your answer is C.

269255, minus the last part of the subnet, then minus 1 for the broadcast 255 IP = maximum number of clients right?

1 bits off 255.255.255.255 would be 255.255.255.254 = /31 = maximum number of clients = 1

2 bits off 255.255.255.255 would be 255.255.255.252 = /30 = maximum number of clients = 2

3 bits off 255.255.255.255 would be 255.255.255.248 = /29 = maximum number of clients = 6

4 bits off 255.255.255.255 would be 255.255.255.240 = /28 = maximum number of clients = 14

5 bits off 255.255.255.255 would be 255.255.255.224 = /27 = maximum number of clients = 30

6 bits off 255.255.255.255 would be 255.255.255.192 = /26 = maximum number of clients = 62

7 bits off 255.255.255.255 would be 255.255.255.128 = /25 = maximum number of clients = 126

8 bits off 255.255.255.255 would be 255.255.255.0 = /24 = maximum number of clients = 254

Therefore, the answer to my original post would be c right?

9 bits off 255.255.255 would be 255.255.254.0 = /23 = maximum number of clients = 508

10 bits off 255.255.255 would be 255.255.248.0 = /22 = maximum number of clients = 1018

11 bits off 255.255.255 would be 255.255.240.0 = /21 = maximum number of clients = 2036

Am I right in thinking that you can just double the last number of clients available then add 2? Sorry for the boring rubbish above but i'm trying to get my head around it all.

3,352■■■■□□□□□□269That's helped me out greatly, I figured out which it was out of the /26 and /27 but couldn't see why you would choose to start the IP range at 64 over 32. I now understand that you go by where the last bit is within the binary calculation i.e. 2nd along so 128-64 = .64 Great stuff buddy, cheers.

p.s. what does 2n mean? You'll have to bare with my maths a little, it was a weak subject back at school lol.

269I'm such a slow typer, that by the time i'd put my second post up your reply was there. Well, it's either your too quick or i'm too slow :P

3,352■■■■□□□□□□