Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Networking > Cisco Routers & Switches How-to
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

Subnetting

Subnetting

this thread has 10 replies and has been viewed 3566 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th December 2006, 17:22
Daveinholland Daveinholland is offline
Casual
It's not a coincidence
 
 Join Date: Dec 2006
  6 month star 12 month star
 Posts: 65
 Reputation: Daveinholland is on a distinguished road (10)
Default Subnetting

Hi,

Maybe not a bright question but forgive me my ignorance.

Let's say I wanted to subnet a class B address with subnet 255.255.254.0

so i know i have 126 subnets

510 hosts per subnet

Now here is my question

When i start the first host 2.1 to the last 3.254 that is one subnet


Then I start 4.1 to 5.254 the second one


Now between these subnets do I just use a switch? or a router? Or you just use a router when ur subnet is completely different? Let's say if I had a 255.255.240 address?
  #2  
Old 18th December 2006, 17:34
JeremyW JeremyW is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Washington DC metro area
 Posts: 3,309
 Reputation: JeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of light (497)
Default Re: Subnetting

You'll need to use a router.
Quote:
Originally Posted by Daveinholland View Post
Let's say I wanted to subnet a class B address with subnet 255.255.254.0
I think some of your confusion is that 255.255.254.0 is a subnet mask. A subnet mask lets you know, among other things, how big your subnet is.

Here's a good article about IP addressing http://www.3com.com/other/pdfs/infra..._US/501302.pdf

Thanks for the post.
Let us know if you have anymore questions.
__________________
Regards,
Jeremy

Network Consultant/Engineer
Baltimore - Washington area and beyond
www.gma-cpa.com
  #3  
Old 18th December 2006, 18:12
Daveinholland Daveinholland is offline
Casual
It's not a coincidence
 
 Join Date: Dec 2006
  6 month star 12 month star
 Posts: 65
 Reputation: Daveinholland is on a distinguished road (10)
Default Re: Subnetting

Ah thx a lot.

I was wondering do you also know a great article about vlsm?
  #4  
Old 18th December 2006, 18:33
JeremyW JeremyW is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Washington DC metro area
 Posts: 3,309
 Reputation: JeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of light (497)
Default Re: Subnetting

Have you looked at the link? It has 13 pages dealing specifically with VLSM (starting on page 21) and it's followed by a CIDR section which is closely related to VLSM. If those 13 pages are not enough then I would search the web for articles or find a good book on the subject.
__________________
Regards,
Jeremy

Network Consultant/Engineer
Baltimore - Washington area and beyond
www.gma-cpa.com
  #5  
Old 18th December 2006, 18:44
Stonelaughter's Avatar
MVM Stonelaughter Stonelaughter is offline
Senior Member
MVM
 
 Join Date: Sep 2004
  6 month star 12 month star
 Location: Nottingham UK
 Posts: 2,159
 Reputation: Stonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really nice (405)
Default Re: Subnetting

Quote:
Originally Posted by Daveinholland View Post
Hi,

Maybe not a bright question but forgive me my ignorance.

Let's say I wanted to subnet a class B address with subnet 255.255.254.0

so i know i have 126 subnets

510 hosts per subnet

Now here is my question

When i start the first host 2.1 to the last 3.254 that is one subnet


Then I start 4.1 to 5.254 the second one


Now between these subnets do I just use a switch? or a router? Or you just use a router when ur subnet is completely different? Let's say if I had a 255.255.240 address?
OK.... let's say your original Class B address is 160.160.0.0 (A0 A0 00 00 hex) your subnet mask of FF FF FE 00 means that basically anything from A0 A0 00 00 to A0 A0 FE 00 (with an EVEN third octet) is one of "your" subnets.

A router will be required for any of these subnets to talk to any other subnet and/or any other network such as the Internet. Let's say for instance that you decide to use only two of your networks:

A0 A0 02 00 (160.160.2.0) and A0 A0 FE 00 (160.160.254.0) you can see that they're STILL separate networks, because the subnet mask has masked off all the bits we're using, so that we can identify the network ID.

What about all the ODD octets, I hear you cry? Well - because your subnet mask stops at bit one of the third octet, and leaves bit zero as a zero, then the "1" at the end that would make it odd is part of the host ID, NOT the network ID.

So for instance, host 160.160.255.0 is host number 256 on the 160.160.254.0 network... (NOTE - before anyone says ANYTHING - the Host ID is NOT all zeroes in this case; it has a "1" in the bit 8 position...)

255 255 254 0
1111 1111 * 1111 1111 * 1111 1110 * 0000 0000

1010 0000 * 1010 0000 * 1111 1110 * 0000 0000 = Network ID - 160.160.254.0

££££ ££££ * ££££ ££££ * ££££ £££1 * 0000 0000 = Host ID £.£.1.0
__________________


Tom
For my own and your protection, I do not provide support by private message under any circumstances. All such messages will be deleted and ignored.

Anything you say will be misquoted and used against you

Last edited by Stonelaughter; 19th December 2006 at 01:36.. Reason: minor error in the numbers
  #6  
Old 18th December 2006, 21:34
daviddavis's Avatar
daviddavis daviddavis is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Hilton Head, South Carolina, USA
 Posts: 685
 Reputation: daviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the rough (348)
Default Re: Subnetting

Hi Daveinholland,

Just to answer the question at the end of your original post-

If you want two subnets to communicate you must have a router between the subnets to route. Say you had two subnets that you wanted to connect. The router would have two interfaces - one to each subnet.

If you put a switch in between subnets, they would be physically connected but would not be able to communicate.

That was a good question.

If you have more questions, please post em' here.

Thanks,
David
  #7  
Old 18th December 2006, 21:37
Stonelaughter's Avatar
MVM Stonelaughter Stonelaughter is offline
Senior Member
MVM
 
 Join Date: Sep 2004
  6 month star 12 month star
 Location: Nottingham UK
 Posts: 2,159
 Reputation: Stonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really nice (405)
Default Re: Subnetting

Quote:
Originally Posted by daviddavis View Post
Hi Daveinholland,

Just to answer the question at the end of your original post-
Quote:
Originally Posted by stonelaughter
A router will be required for any of these subnets to talk to any other subnet and/or any other network such as the Internet.
??!?!!!?!??
__________________


Tom
For my own and your protection, I do not provide support by private message under any circumstances. All such messages will be deleted and ignored.

Anything you say will be misquoted and used against you
  #8  
Old 18th December 2006, 21:54
daviddavis's Avatar
daviddavis daviddavis is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Hilton Head, South Carolina, USA
 Posts: 685
 Reputation: daviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the rough (348)
Default Re: Subnetting

Tom,
Please accept my apologies!
You did an excellent job answering this question and I didn't read thoroughly before responding to see that you had already answered it, and had gone above and beyond.
I am going to give you reputation points because I appreciate your posting so much!
Again, sorry about that.
David
  #9  
Old 19th December 2006, 01:37
Stonelaughter's Avatar
MVM Stonelaughter Stonelaughter is offline
Senior Member
MVM
 
 Join Date: Sep 2004
  6 month star 12 month star
 Location: Nottingham UK
 Posts: 2,159
 Reputation: Stonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really nice (405)
Default Re: Subnetting

Thank you - and no apology needed - I guess I could have bolded it or something as the actual answer to his actual question!
__________________


Tom
For my own and your protection, I do not provide support by private message under any circumstances. All such messages will be deleted and ignored.

Anything you say will be misquoted and used against you
  #10  
Old 19th December 2006, 01:39
JeremyW JeremyW is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Washington DC metro area
 Posts: 3,309
 Reputation: JeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of lightJeremyW is a glorious beacon of light (497)
Default Re: Subnetting

Quote:
Originally Posted by JeremyW View Post
You'll need to use a router.
Sould I jump on the band wagon?
__________________
Regards,
Jeremy

Network Consultant/Engineer
Baltimore - Washington area and beyond
www.gma-cpa.com
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subnetting du1xj Misc 2 18th June 2006 07:50
Can someone please explain this subnetting question m80arm Misc 15 11th January 2006 18:57
Goddies for those want to understand subnetting ! sco1984 MS Certification Track 2 13th September 2005 12:31
Host ID, Network ID, Subnetting and supernetting m80arm Coffee Lounge and Introduction 3 18th May 2005 14:08


All times are GMT +3. The time now is 06:14.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri