Jump to content


Photo
- - - - -

tcp/ip subnetting version 4

networking tcp/ip protocol suite creating network hosts creating subnets

  • Please log in to reply
16 replies to this topic

#1 Jklein

Jklein

    Member

  • Members
  • PipPip
  • 149 posts
  • Gender:Male
  • Location:Philadelphia

Posted 20 March 2014 - 12:14 AM

Ok I'm studying for my network+ exam the only thing I'm seem to be a little unsure on is calculating users and hosts using the subnet masks. Ok so here is the thing you calculate how many subnets by 2n when equals the number of bits so in other wards 2*8 power 256 the concept is the same for hosts except you subtract two you get 254 that gives you your default subnet mask of 255.255.255 but lets say my network needs this is the class c standard. So all I need to do to increase client capacity is adjust my gateway mask address. In other wards if I adjusted 255.255.250 that would give me an extra 38 hosts? And an extra 40 subnets?

#2 Jklein

Jklein

    Member

  • Members
  • PipPip
  • 149 posts
  • Gender:Male
  • Location:Philadelphia

Posted 20 March 2014 - 12:17 AM

Also just I understand basically since were using a class c standard we divide the client between the subnets because we can only give out 254 ip addresses to each subnet

#3 Nerm

Nerm

    OCC Beefcake

  • Forum Admin
  • PipPipPipPipPipPip
  • 9691 posts
  • Gender:Male
  • Location:Madison, IN

Posted 20 March 2014 - 05:54 AM

255.255.250.0 would not be a valid subnet, but 255.255.248.0 or 255.255.252.0 would be. The guys voice is annoying to listen to but this video is a great introduction to and explanation of IP address subnetting.


Rig #1 :: Q6600 @ 3.8Ghz :: 2x HD4850 Crossfire :: Asus P5K3 Premium Black Pearl ::

Rig #2 :: i7-3930K @ 4Ghz :: 32GB G.Skill Ripjaws Z Series :: Evga GTX 670 :: Asus P9X79 Pro :: OCZ Vertex 256GB SSD ::
HTPC :: 4850e :: HD2600xt :: Gigabyte GA-MA78GM-S2H :: 1TB Storage ::
OCC Site Rules :: Site Help FAQ :: Extreme Cooling FAQ :: OCC Benchmark Team


#4 Jklein

Jklein

    Member

  • Members
  • PipPip
  • 149 posts
  • Gender:Male
  • Location:Philadelphia

Posted 20 March 2014 - 03:18 PM

That would be 276 users right?

#5 Jklein

Jklein

    Member

  • Members
  • PipPip
  • 149 posts
  • Gender:Male
  • Location:Philadelphia

Posted 20 March 2014 - 03:19 PM

And 278 subnets right? Have I finally got the math down?

#6 Nerm

Nerm

    OCC Beefcake

  • Forum Admin
  • PipPipPipPipPipPip
  • 9691 posts
  • Gender:Male
  • Location:Madison, IN

Posted 20 March 2014 - 03:29 PM

What would be 276 users?

Rig #1 :: Q6600 @ 3.8Ghz :: 2x HD4850 Crossfire :: Asus P5K3 Premium Black Pearl ::

Rig #2 :: i7-3930K @ 4Ghz :: 32GB G.Skill Ripjaws Z Series :: Evga GTX 670 :: Asus P9X79 Pro :: OCZ Vertex 256GB SSD ::
HTPC :: 4850e :: HD2600xt :: Gigabyte GA-MA78GM-S2H :: 1TB Storage ::
OCC Site Rules :: Site Help FAQ :: Extreme Cooling FAQ :: OCC Benchmark Team


#7 Jklein

Jklein

    Member

  • Members
  • PipPip
  • 149 posts
  • Gender:Male
  • Location:Philadelphia

Posted 20 March 2014 - 04:08 PM

Oh sorry the 255.255.252.0 address.

#8 Nerm

Nerm

    OCC Beefcake

  • Forum Admin
  • PipPipPipPipPipPip
  • 9691 posts
  • Gender:Male
  • Location:Madison, IN

Posted 20 March 2014 - 04:41 PM

A 255.255.252.0 subnet mask would allow for 1024 addresses with 1022 usable. Watch the video I linked to. Lots of good information there.

Rig #1 :: Q6600 @ 3.8Ghz :: 2x HD4850 Crossfire :: Asus P5K3 Premium Black Pearl ::

Rig #2 :: i7-3930K @ 4Ghz :: 32GB G.Skill Ripjaws Z Series :: Evga GTX 670 :: Asus P9X79 Pro :: OCZ Vertex 256GB SSD ::
HTPC :: 4850e :: HD2600xt :: Gigabyte GA-MA78GM-S2H :: 1TB Storage ::
OCC Site Rules :: Site Help FAQ :: Extreme Cooling FAQ :: OCC Benchmark Team


#9 Jklein

Jklein

    Member

  • Members
  • PipPip
  • 149 posts
  • Gender:Male
  • Location:Philadelphia

Posted 20 March 2014 - 09:09 PM

Ok I think I have this now...ok you get the number hosts by doubling each number starting by 2 in other wards if you wanted 512 hosts it would take 9 bits. But in reality you would only have 510 hosts so If I wanted 512 valid hosts I would have to move up to 11 bits. That would also give us the same amount of subnets 512 because you use the same method just count left to right instead of right to left. Now calculating the subnet mask is simple since this is a cider 23 know the first 2 bits will be 255.255. Now since nine bits are left we basically easy way to do it is count right to left so since 8 bits would give us a dot zero for the last bit we wind up having one bit left making it 255.255.254.0

So how did I do?

Edited by Jklein, 20 March 2014 - 09:56 PM.


#10 Jklein

Jklein

    Member

  • Members
  • PipPip
  • 149 posts
  • Gender:Male
  • Location:Philadelphia

Posted 20 March 2014 - 09:24 PM

So basically how many hosts will give you how many bits once you know that bits will give you your subnet mask. Which is calculated by cider in other wards if I take in otherwards if my cider is 25 my subnet would be 255.255.255.254 that's what happens when you try to do math at 1:30 in the morning

Edited by Jklein, 21 March 2014 - 08:02 AM.


#11 Jklein

Jklein

    Member

  • Members
  • PipPip
  • 149 posts
  • Gender:Male
  • Location:Philadelphia

Posted 21 March 2014 - 07:50 AM

Wait no 128 not on 254

#12 Nuse

Nuse

    Member

  • Members
  • PipPip
  • 76 posts
  • Gender:Male

Posted 31 March 2014 - 04:31 PM

Jklein,

 

Just wanted to chime in and say if you need help subnetting let me know. I'm net+ and ccna certified(though expired, 2007).

 

Always willing to help a fellow networking guy.







Also tagged with one or more of these keywords: networking, tcp/ip protocol suite, creating network hosts, creating subnets