Subnet Address

edited July 2006 in Science & Tech
Hi can anybody tell me how to get the subnet address from a given host IP address many thanks

Comments

  • EnverexEnverex Worcester, UK Icrontian
    edited July 2006
    It's normally 255.255.255.0 (which means the thing in the last block can only see other things in the last block, i.e. 111.111.111.67 can speak to 111.111.111.34 but not 111.111.113.74 if it was 255.255.0.0 then it moves up a block so 111.111.111.43 can see 111.111.113.74 but not 111.84.134.12).
  • edited July 2006
    Hi i have been given an ip address of 171.16.96.69 and the subnet mask of 255.255.255.128 and the question is

    what is the subnet address for the given host ip address , how do you work this out many thanks Paul
  • RyderRyder Kalamazoo, Mi Icrontian
    edited July 2006
    518457 wrote:
    Hi i have been given an ip address of 171.16.96.69 and the subnet mask of 255.255.255.128 and the question is

    what is the subnet address for the given host ip address , how do you work this out many thanks Paul
    The subnet portion of your IP address if your subnet mask is 255.255.255.128 is 171.16.96.
    Those first 3 must match and then the last number can be anywhere from 1 to 128...I think....I have to check my binary/hex...LOL
  • Park_7677Park_7677 Missouri Member
    edited July 2006
    A processes called ANDing. If it's a 1 & 1 it = 1. If it includes a 0 at all it's a 0.

    171.16.96.69 =

    10101011 . 00010000 . 00110000 . 01000101

    255.255.255.128 =

    11111111 . 11111111 . 111111111 . 10000000

    So perform the ANDing on those binary numbers:

    10101011 . 00010000 . 00110000 . 00000000

    171.16.96.0
  • EssoEsso Stockholm, Sweden
    edited July 2006
    What you need is the subnet calculator
Sign In or Register to comment.