Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Which subnet mask to use?

Original Message
Name: BlackCorazon
Date: August 11, 2007 at 00:48:46 Pacific
Subject: Which subnet mask to use?
OS: Vista
CPU/Ram: 2GB
Comment:
How do you know which subnet mask to use when constructing a network? For instance do you give a router any available subnet such as 255.255.255.0 and the PC the next available subnet such as 255.255.0.0? Do you give it any address or is there a way to calculate this?

Report Offensive Message For Removal


Response Number 1
Name: paulsep
Date: August 11, 2007 at 01:43:59 Pacific
Subject: Which subnet mask to use?
Reply: (edit)
There is a way to calculate the ip ranges and subnets.
Take a look at this:
http://www.subnetmask.info/

Paul


Report Offensive Follow Up For Removal

Response Number 2
Name: Decker
Date: August 11, 2007 at 04:21:44 Pacific
Subject: Which subnet mask to use?
Reply: (edit)
for a small home/office network, you will only be using class boundary subnet masks ie 255.255.255.0 / 255.255.0.0 or 255.0.0.0.

the correct one to use will depend on the IP address range that you are using. This will undoubtedly be a private range ie 192.168.0.0 / 172.16.0.0 / or 10.0.0.0.

The correct subnet mask is matched in the order they are typed above. ie 192.x.x.x is 255.255.255.0 etc.

The host numbers that are added to the addresses determine the names of individual devices on your network ie 192.168.1.1 might be your cable modem/router/switch device, then 192.168.1.2 might be your PC and so on. its the network part (ie 192.168) that determines the mask.

-D-

nosey aren't ya, readin me sig?


Report Offensive Follow Up For Removal

Response Number 3
Name: picohat
Date: August 11, 2007 at 08:25:34 Pacific
Subject: Which subnet mask to use?
Reply: (edit)
More examples that are usually used on home network:

Example 1:

I have 5 computers and a router in my network. I will assign 10.0.0.1 to the router, 10.0.0.2 – 10.0.0.6 to other 5 computers. I use netmask 255.255.255.0 for this network, so that I can assign IP addresses 10.0.0.1 - 10.0.0.254 in the network. Network address is 10.0.0.0, broadcast address is 10.0.0.255.

Example 2:

I have 8 computers, 2 notebooks and a router in my network. I will assign 172.16.10.1 to the router, 172.16.10.2 – 172.16.10.9 to other 8 computers and 172.16.10.10 – 172.16.10.11 to other 2 notebooks. I use netmask 255.255.255.0 for this network, so that I can assign IP addresses 172.16.10.1 – 172.16.10.254 in the network. Network address is 172.16.10.0, broadcast address is 172.16.10.255.

Example 3:

I have 8 computers, a router and a network printer in my network. I will assign 192.168.1.1 to the router, 192.168.1.2 to the network printer and 192.168.1.3 – 192.168.1.10 to other 8 computers. I use netmask 255.255.255.0 for this network, so that I can assign IP addresses 192.168. 1.1 – 192.168.1.254 in the network. Network address is 192.168.1.0, broadcast address is 192.168.1.255.

Hope helps..


Report Offensive Follow Up For Removal

Response Number 4
Name: FishMonger
Date: August 11, 2007 at 09:22:54 Pacific
Subject: Which subnet mask to use?
Reply: (edit)
picohat,

Given those 3 examples wouldn't it have been better and more appropriate to use the proper mask for class full addressing rather than the subnetted class A & B networks?

Class Full Private IP address Ranges

Class A IP's: 10.0.0.0 – 10.255.255.255
Class A mask: 255.0.0.0

Class B IP's: 172.16.0.0 – 172.31.255.255
Class B mask: 255.255.0.0

Class C IP's: 92.168.0.0 – 192.168.255.255
Class C mask: 255.255.255.0

Using a subnetted class A or B for a home network doesn't make much sense to me and I've never come across a SOHO router that supports it, but then again I haven't used every available brand/model. Have you?


Report Offensive Follow Up For Removal

Response Number 5
Name: JohnCarrJr
Date: August 13, 2007 at 03:29:46 Pacific
Subject: Which subnet mask to use?
Reply: (edit)
Its pretty sinmple when you think of subnet masks. Just ask yourself this question:

"How many computers to I need to network"?

254 or fewer computers, use 255.255.255.0
65,536 or fewer computers, use 255.255.0.0

I see no reason to ever need to use 255.0.0.0, but if you have 16,777,216 computers, you shouldn't be asking this question. hehehe


John Carr
Network Analyst


Report Offensive Follow Up For Removal


Response Number 6
Name: vipergg
Date: August 14, 2007 at 15:12:15 Pacific
Subject: Which subnet mask to use?
Reply: (edit)
I would never use more than a /24 mask or /23 at most . It makes way too big a broadcast domain if you go bigger than this then you get to spend all your time listening to user saying the network is slow . it is good practice to keep your broadcast domain small , a /24 is a very good compromise . If you just need a few users on a subnet break it down further at the /25 or /26 . Good place to learn all this is at www.learntosubnet.com . If you are going to be in networking it is a must to understand all this .


Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Which subnet mask to use?

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




Slow boot time

Trasnferring Documents from old HD

My k8T Neo-v usb's aren't working!

Date Modified = Date Created Time

system files on removable harddrive


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC