











CompTIA
Exam Vouchers
Save money on CompTIA exams
| Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
| TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more | * ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i Online practice tests
Certification sites Online university Online college Online education Distance learning Software forum Server administration forum Programming resources
|
|  |
| Author |
subnetting/supernetting
|
3pinhead
Member M

Registered: Jul 2001 Location: Warrenton Va. Country: usa State: Certifications: A+, Net+, MCSA, MCSE Working on: CCNA, CCNP
Total Posts: 68
|
|
subnetting/supernetting
Any good resources available on the web to explain ? having a bit of a problem with this one.
thanks
Report this post to a moderator
|
|
01-28-02 01:55 AM
|
|
3pinhead
Member M

Registered: Jul 2001 Location: Warrenton Va. Country: usa State: Certifications: A+, Net+, MCSA, MCSE Working on: CCNA, CCNP
Total Posts: 68
|
|
well that'll teach me to read before posting!
I'm having a problem with supernetting, and am looking for a way to figure it out quickly.
Thanks
Report this post to a moderator
|
|
01-28-02 01:57 AM
|
|
wbafrank
Moderator M

Registered: Nov 2001 Location: Country: Great Britain (UK) State: Certifications: MCP, MCSA, MCSE, MCSD, MCDBA, A+, CCNA, i-Net+, M CIW SD, CIW P, CIW Associate Working on: CCNP (2/4)
Total Posts: 3787
|
|
Try this
Basic Supernetting Example
In subnetting you create additional networks by moving some bits from the "host" portion of an address into the network portion of the address. Supernetting is just the opposite. You merge distinct networks by moving bits from the network portion of the address into the host portion of the address. To see how this works, let's just walk through a simple example.
Here are your 4 "class c" addresses:
192.168.0.0 = Sub1
192.168.1.0 = Sub2
192.168.2.0 = Sub3
192.168.3.0 = Sub4
You're goal is to make these networks all appear as one. Well, first ask yourself "what makes them appear distinct to the computer?" You probably already know that when one host wants to send a packet to another host it first compares the destination IP address with it's own, using the subnet mask to determine if the network is the same or different. It's the subnet mask that really makes the networks distince. The computer compares those bits in each address that correspond to "1"'s in the mask. If those bits are the same, then the network to which the addresses belong is the same. Take a look at those addresses above in binary. I'll also throw in the subnet mask for the comparison.
11000000 . 10101000 . 00000000 . 00000000 = Sub1
11000000 . 10101000 . 00000001 . 00000000 = Sub2
11000000 . 10101000 . 00000010 . 00000000 = Sub3
11000000 . 10101000 . 00000011 . 00000000 = Sub4
11111111 . 11111111 . 11111111 . 00000000 = Mask
Note that the subnet mask spans 24 bits. Now look at those 24 bits in each network (host bits have been greyed). Notice that they are each different and hence each network is different. But look closely at just how similar they actually are. The first 22 bits in each network is actually the same. So, how might you trick the computer into thinking these networks are actually the same? You change the subnet mask! Make it a bit shorter, so that it only spans those first 22 bits:
11000000 . 10101000 . 00000000 . 00000000 = Sub1
11000000 . 10101000 . 00000001 . 00000000 = Sub2
11000000 . 10101000 . 00000010 . 00000000 = Sub3
11000000 . 10101000 . 00000011 . 00000000 = Sub4
11111111 . 11111111 . 11111100 . 00000000 = Mask
Now compare the addresses against the new subnet mask. They are identical for bits set to "1" in the mask. When the hosts now do thier comparisons they will no longer see 4 networks but rather 1 large network. You've just "supernetted" these networks! Your "new" network address is 192.168.0.0 with a subnet mask of 255.255.252.0.
You will note that this technique requires the original network addresses to be contiguous. In other words, you couldn't simply take two class C addresses such as 192.168.32.0 and 192.168.63.0 and expect to supernet them without also supernetting all networks in between. You also don't have complete control over how many subnets your merge together. For instance, in the above example, what would happen if we decreased the subnet mask by yet another bit? Take a look:
11000000 . 10101000 . 00000000 . 00000000 = Sub1
11000000 . 10101000 . 00000001 . 00000000 = Sub2
11000000 . 10101000 . 00000010 . 00000000 = Sub3
11000000 . 10101000 . 00000011 . 00000000 = Sub4
11111111 . 11111111 . 11111000 . 00000000 = Mask
That additional bit would actually cause our hosts to also consider networks 192.168.4.0, 192.168.5.0, 192.168.6.0, and 192.168.7.0 to have been merged in with the others. So, when supernetting, the number of contiguous networks being merged must be a power of 2.
The idea aggregating blocks of addresses, by the way, is part of Classless Internet Domain Routing, or CIDR. It makes routing tables more efficient. For instance, consider you have 256 class C addresses. Traditionally this would mean 256 entries in a route table. But with CIDR this can be reduced to one single entry by having the router look at the entire block as one merged, supernetted network.
CIDR also means that the "class" of an address isn't really that important (hence the name). Rather the specific number of bits being masked is what realy matters. As such, you will commonly see a different notation for subnet masks being used when dealing with CIDR. The notation simply appends a "/" and the number of masked bits to the address. Our new network above, for instance, would be 192.168.0.0/22. It's a good idea to get familiar with this notation. While you won't see on the Microsoft exam, it is quickly becoming the "standard" method of writing IP addresses.
Phew, this must be my biggest post!!
__________________
One Exam leads to another! Where will it ever end?
Report this post to a moderator
|
|
01-28-02 02:12 AM
|
|
fizz85
Senior Member M

Registered: Feb 2001 Location: Camp Stanley, South Korea Country: USA State: Certifications: A+, Network+, CNA, ETA/CST, CCNA, MCP, MCSA, MCSE Working on: MCDBA
Total Posts: 305
|
|
Hey thanks alot Frank I did not write the question but you helped me alot. You bridged a gap for me. But could you be abit more specific in this part:
That additional bit would actually cause our hosts to also consider networks 192.168.4.0, 192.168.5.0, 192.168.6.0, and 192.168.7.0 to have been merged in with the others. So, when supernetting, ? The number of contiguous networks being merged must be a power of 2.
I am tring to hash this out in my head so please be patient. I hope I am not making too much out of this.
So are you saying you must use an even amount of networks. I understand that they must be contiguous. Power of 2? Divisible?, sqrt? exponential?
Thanks in advance
__________________
Anthony
I am in the Army. I just do this for fun.
Report this post to a moderator
|
|
01-28-02 03:11 AM
|
|
wbafrank
Moderator M

Registered: Nov 2001 Location: Country: Great Britain (UK) State: Certifications: MCP, MCSA, MCSE, MCSD, MCDBA, A+, CCNA, i-Net+, M CIW SD, CIW P, CIW Associate Working on: CCNP (2/4)
Total Posts: 3787
|
|
|
01-28-02 03:39 AM
|
|
fizz85
Senior Member M

Registered: Feb 2001 Location: Camp Stanley, South Korea Country: USA State: Certifications: A+, Network+, CNA, ETA/CST, CCNA, MCP, MCSA, MCSE Working on: MCDBA
Total Posts: 305
|
|
OK
So I think the trick is you can only use the # of bits that add up correctly (or over) as in your example since we only have to add up to 3 in binary you would only use the first two bits.
The number of of bits (added up in binary) must be greater then the number in the address being covered. Because if the mask is not large enough to cover the network ID it won't work.
Am I correct?
__________________
Anthony
I am in the Army. I just do this for fun.
Report this post to a moderator
|
|
01-28-02 04:16 AM
|
|
3pinhead
Member M

Registered: Jul 2001 Location: Warrenton Va. Country: usa State: Certifications: A+, Net+, MCSA, MCSE Working on: CCNA, CCNP
Total Posts: 68
|
|
Thanks wbafrank,
I found the article you posted that evening, and have been reading it through, very helpful.
Also found www.learntosubnet.com which was outstanding. Ordered the CD too, (couldn't beat the price)by the time I'm done, I'll be able to do this in my head.
thanks again!
Report this post to a moderator
|
|
01-29-02 01:12 AM
|
|
wbafrank
Moderator M

Registered: Nov 2001 Location: Country: Great Britain (UK) State: Certifications: MCP, MCSA, MCSE, MCSD, MCDBA, A+, CCNA, i-Net+, M CIW SD, CIW P, CIW Associate Working on: CCNP (2/4)
Total Posts: 3787
|
|
quote: Originally posted by 3pinhead
Thanks wbafrank,
I found the article you posted that evening, and have been reading it through, very helpful.
Also found www.learntosubnet.com which was outstanding. Ordered the CD too, (couldn't beat the price)by the time I'm done, I'll be able to do this in my head.
thanks again!
Sorry I didn't get back to your other post, and glad to see you found the answer saves me answering it!!
Learn to Subnet is a good product even if you don't want to buy the CD!!
__________________
One Exam leads to another! Where will it ever end?
Report this post to a moderator
|
|
01-29-02 02:21 AM
|
|
iceman2001
Senior Member

Registered: Sep 2001 Location: Country: Ireland State: Certifications: BA,DipCompSc,MCSE Working on: CCNA,and others...
Total Posts: 121
|
|
|
01-29-02 10:00 AM
|
|
|
Click here for list of 70-216
study guides
MCSE exam notes
70-216 exam details
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON. |
|
ExamNotes forum archive
|