Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Networking Forum > Networking Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Networking Support General Networking Support Forum

Reply
 
LinkBack Thread Tools
Old 11-11-2005, 01:01 PM   #1 (permalink)
Registered User
 
Everest63's Avatar
 
Join Date: Feb 2005
Posts: 82
OS: XP Pro


Subnetting

Studying subnetting and I found an issue.

Question: How many subnets?
Subnet mask class C address
255.255.255.224
Binary: 11111111.1111111.11111111.11100000

borrowed 3 bits from 4th octet in host range

2^3-2 = 6 subnets

Found this reference/example on many online sites.
Here's one: http://home.nyc.rr.com/computertaijutsu/subnet.html

Went to Cisco site and printed out "Cisco-IP Addressing and Subnetting for New Users" and its example of subnetting a class C address when borrowing 3 bits from the hosts portion = 8 subnets.
http://www.cisco.com/warp/public/701/3.html

The formula for finding out how many subnets is 2^n-2 where n = number of "on bits" or 1's.
How come Cisco's example says 8 subnets? My IP calculator on my Palm even computes a class C address with 3 bits borrowed and /27 as having 8 subnets.

What am I missing here?
Andy
Everest63 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 11-13-2005, 12:36 AM   #2 (permalink)
Retired
 
Chevy's Avatar
 
Join Date: Jul 2003
Location: Notlob
Posts: 5,452
OS: Vista Ultimate

My System

Hmm ...

192.168.0.0/27 ...

192.168.0.0 - 192.168.0.31
192.168.0.32 - 192.168.0.63
192.168.0.64 - 192.168.0.95
192.168.0.96 - 192.168.0.127
192.168.0.128 - 192.168.0.159
192.168.0.160 - 192.168.0.191
192.168.0.192 - 192.168.0.223
192.168.0.224 - 192.168.0.255

Looks like 8 valid networks/subnets to me ...

Assuming Class C:

Last Octet .... Networks/Hosts per Network
.0 ................ 1 / 254
.128 ............. 2 / 126
.192 ............. 4 / 62
.224 ............. 8 / 30
.240 ............. 16 /14
.248 ............. 32 / 6
.252 ............. 64 / 2

(each network listed has 2 additonal ip's for network and broadcast)

2^n, where n is the number of bits set to 1 in the last octet in the mask to use 1's that is NOT = 255, must equal or exceed the number of desired subnets. If you want 9 subnets, then your mask must be 2^4 = 16, or .11110000 (2^3 = 8 ... not enough)

2^n-2, where n is the number of bits set to 0 in the ENTIRE mask, is the number of valid hosts per network. If the mask is 255.255.255.240, then you have an ending octect of .11110000. 4 0's, 2^4 = 16 - 2 = 14 hosts per network.
Chevy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 11:53 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85