(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



Network Subnets for Humans




2009/01/27

Your computer doesn't care if it's on a Class C subnet or a Class A. Your computer doesn't care if you are using 10.1.1.0, 172.16.38.0 or 192.168.1.0 as your subnet. If you've set up everything else to match, it's all going to work.

However, human beings are easily confused, especially when it comes to multiple subnets. For example, let's say you have a remote office and you need to set up a VPN between that and your main office. Your main office currently uses 192.168.1.0 (a class C network). What should the branch office use?

If you have no idea what I'm talking about, see Networking 101 here.

You could use 192.168.2.0. As noted, your computers won't care - as long as it's a different subnet, the specific choice doesn't matter. However, I'd suggest doing something more helpful for humans.

For example, I'd either use 192.168.100.0 or 10.1.100.0 or 172.16.100.0 for the remote office because the addresses will be more obviously different to humans like me. The 10.1.100.0 is markedly different, but the 192.168.100.0 and 172.16.100.0 also stand out because the "100" is two digits longer than the "1".

If it makes sense to do so, I'd also select a different range for servers and DHCP cients. If the main office uses 192.168.1.1 through 192.168.1.100 for machines, I might use 192.168.100.101 through 192.168.100.200 at the remote - again, this is only to make it more obvious to humans looking at network reports and tools.

I would also avoid mixing Class B and Class C networks if at all possible. Unless you must use Class B, I'd stay clear of that entirely because sooner or later something will get configured as 255.255.255.0 and cause confusion.

Remember - none of this matters at a technical level. It can just help avoid human mistakes and confusion.


;


Click here to add your comments





Tue Jan 27 22:21:13 2009: Subject:   BrettLegree
http://6weeks.ca
gravatar
Wow - you just described how I set up my IP's (different ranges for workstations/laptops, servers, DHCP clients) - I must have taken a page from the book of Tony or something.

Logical and human readable. I wonder how many other folks do it this way.

(Hopefully someone in our IT department at work - then again, hope is sometimes for fools.)



Tue Jan 27 22:32:13 2009: Subject:   TonyLawrence

gravatar
Great minds run in the same sewers.. uhh, channels..



Tue Jan 27 22:34:57 2009: Subject:   BrettLegree
http://6weeks.ca
gravatar
I guess this would be one time when it's okay to have our minds in the gutter ;)



Thu Jan 29 11:58:59 2009: Subject:   NickBarron

gravatar
Fits in with what I do, it just makes logical sense to me, good link in the article back to some previous ones regarding subnets etc.

Happy commuter reading, thanks Tony

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



numly esn 23644-090127-153572-94
numly barcode

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!



 I sell and support
 Kerio Mail server




pavatar.jpg
More:
       - Linux
       - MacOSX
       - Networking


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress