Results 1 to 8 of 8

Thread: Subnet Calculations - Where Have I Messed Up Here?

  1. #1
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Subnet Calculations - Where Have I Messed Up Here?

    I have posted this on another forum as well as here, I have made a bit of a mess with a subnet and for the life of me can't work out how I have done it.


    10.0.0.1 --> 10.0.0.64

    64 = 0
    32 = 0
    16 = 0
    8 = 0
    4 = 0
    2 = 0
    1 = 1
    0 = 0

    64 in binary = 01000000 so we need 7 bits or 11111110 (<-- this is my mistake)

    1 = 1
    1 = 3
    1 = 7
    1 = 15
    1 = 31
    1 = 63
    1 = 127
    0 = 254

    so the subnet is 255.255.255.254 but that is not the correct subnet so I have managed to make a mistake along the lines. Can anyone see where I am going wrong?

    My error has been found

    How it should look

    10.0.0.1 --> 10.0.0.64

    63 = 1
    31 = 1
    15 = 1
    7 = 1
    3 = 1
    1 = 1
    0 = 0
    0 = 0

    = 6bit

    1 = 1
    1 = 3
    0 = 6
    0 = 12
    0 = 24
    0 = 48
    0 = 96
    0 = 192

    255.255.255.192
    Last edited by Jay; 23-05-2011 at 04:44 PM.
    □ΞVΞ□

  2. #2
    blueball
    Guest

    Re: Subnet Calculations - Where Have I Messed Up Here?

    Network on 10.0.0.0

    Clients on 10.0.0.1 - 10.0.0.62

    Broadcast on 10.0.0.63

    Mask 255.255.255.192

  3. Received thanks from:

    Jay (23-05-2011)

  4. #3
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: Subnet Calculations - Where Have I Messed Up Here?

    Quote Originally Posted by blueball View Post
    10.0.0.0

    10.0.0.1 - 10.0.0.62
    255.255.255.192
    Broadcast on 10.0.0.63
    Thanks, I know its .192 but I can't work out how I have made a mess of my calculation

    Its my Bit calc that is wrong, now just working back to see why
    □ΞVΞ□

  5. #4
    blueball
    Guest

    Re: Subnet Calculations - Where Have I Messed Up Here?

    Quote Originally Posted by Jay View Post
    Thanks, I know its .192 but I can't work out how I have made a mess of my calculation
    You did 1 to 64 instead of 0 to 63

  6. Received thanks from:

    Jay (23-05-2011)

  7. #5
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: Subnet Calculations - Where Have I Messed Up Here?

    Quote Originally Posted by blueball View Post
    You did 1 to 64 instead of 0 to 63
    yes I did! nice spot! that 1 digit pushes it over to a 7 bit and makes a right mess of it

    63
    31
    15
    7
    3
    1

    6 bit
    Last edited by Jay; 23-05-2011 at 04:26 PM.
    □ΞVΞ□

  8. #6
    blueball
    Guest

    Re: Subnet Calculations - Where Have I Messed Up Here?


  9. Received thanks from:

    Lucio (24-05-2011)

  10. #7
    Senior Member oolon's Avatar
    Join Date
    Mar 2007
    Location
    London
    Posts
    2,294
    Thanks
    150
    Thanked
    302 times in 248 posts
    • oolon's system
      • Motherboard:
      • Asus P6T6
      • CPU:
      • Xeon w3680
      • Memory:
      • 3*4GB Kingston ECC
      • Storage:
      • 160GB Intel G2 SSD
      • Graphics card(s):
      • XFX HD6970 2GB
      • PSU:
      • Corsair HX850
      • Case:
      • Antec P183
      • Operating System:
      • Windows 7 Ultimate and Centos 5
      • Monitor(s):
      • Dell 2408WFP
      • Internet:
      • Be* Unlimied 6 down/1.2 up

    Re: Subnet Calculations - Where Have I Messed Up Here?

    On a redhat system there is a command called ipcalc.

    ipcalc -mn 192.168.2.74/28

    Personally I prefer this ip calculator, as you can also download the source, which is all written in perl, and then have it as a stand alone program. Confusingly it is also called ipcalc.

    Code:
    ipcalc 10.0.0.1/26
    Address:   10.0.0.1             00001010.00000000.00000000.00 000001
    Netmask:   255.255.255.192 = 26 11111111.11111111.11111111.11 000000
    Wildcard:  0.0.0.63             00000000.00000000.00000000.00 111111
    =>
    Network:   10.0.0.0/26          00001010.00000000.00000000.00 000000
    HostMin:   10.0.0.1             00001010.00000000.00000000.00 000001
    HostMax:   10.0.0.62            00001010.00000000.00000000.00 111110
    Broadcast: 10.0.0.63            00001010.00000000.00000000.00 111111
    Hosts/Net: 62                    Class A, Private Internet
    Last edited by oolon; 23-05-2011 at 04:52 PM.
    (\__/) All I wanted in the end was world domination and a whole lot of money to spend. - NMA
    (='.*=)
    (")_(*)

  11. #8
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: Subnet Calculations - Where Have I Messed Up Here?

    Quote Originally Posted by blueball View Post
    changed my first post with the way I should have done it. It looks right now.

    Thanks
    □ΞVΞ□

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Subnet problem
    By Destroyer^ in forum Networking and Broadband
    Replies: 3
    Last Post: 01-01-2010, 06:41 PM
  2. GFX messed up... help :P
    By Hicks12 in forum Graphics Cards
    Replies: 3
    Last Post: 23-09-2008, 08:16 PM
  3. Subnet Masks
    By Allen in forum Networking and Broadband
    Replies: 24
    Last Post: 05-07-2007, 10:19 AM
  4. xbox 360 messed up!
    By j.o.s.h.1408 in forum Console
    Replies: 5
    Last Post: 01-06-2007, 12:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •