+ Reply to Thread
Results 1 to 4 of 4
  1. Junior Member Registered Member
    Join Date
    Sep 2017
    Posts
    1
    #1

    Default Subneting/Borrowing bits question

    Hello all.

    I have an excersize for university which I can't finish and bothers me a lot. If someone can help, I would really appreciate it.

    The question is - In a network with an IP Adress 10.0.0.0/8, how many bits you need to borrow, to create a 100 subnets? What will be the network prefix for the subnets?

    Thanks in advance.
    Reply With Quote Quote  

  2. SS -->
  3. Senior Member
    Join Date
    May 2016
    Location
    UK
    Posts
    113

    Certifications
    A+, Network+, Sec+
    #2
    100 subnets you need 7 bits. So 10.0.0.0/15 is the address and prefix.

    Disclaimer: I suck at subnetting, trust the next person who comes along instead lol =P
    Reply With Quote Quote  

  4. Member
    Join Date
    Aug 2016
    Location
    Richmond, VA
    Posts
    56

    Certifications
    A+, Net+, Sec+, Project+, Linux+/LPIC-1, CCNA Sec,R&S
    #3
    https://www.subnetting.net/ This site really helped me when I was first learning subnetting.

    To answer your question, Nik was correct. You're starting out with 10.0.0.0/8. That's one subnet. You need 100. Every bit you "borrow" for more subnets gives you 2^n subnets. So if you borrow 1 bit, now you have 2 subnets (2^1 = 2). If you borrow 5 bits, you have 32 subnets (2^5 = 32).

    You need 100 subnets, so start counting in powers of 2 until you reach 100+, and that's how many bits you need to borrow. 2, 4, 8, 16, 32, 64, 128. That's 2^7 = 128. So you need 7 bits. Add that 7 to your original 8, and now you have 10.0.0.0 /15 as your network.

    As for the prefix in each subnet, you need to convert that /15 into your mask. A /15 would be 255.254.0.0. So your first network is 10.0.0.0.
    Now, they way I figure out what my different network IDs are, you take your mask, 255.254.0.0, and find the first octet that isn't 255. So that's our second octet, .254. Subtract 256 from 254, and you get 2. So your network IDs will increment by 2 in the second octet.

    So, your network ID's will look like:
    10.0.0.0
    10.2.0.0
    10.4.0.0
    10.6.0.0
    ......
    10.252.0.0
    10.254.0.0

    And at this point, you've used up your 128 created subnets for the 10.0.0.0 network since you can't have 10.256.0.0.
    Reply With Quote Quote  

  5. Senior Member
    Join Date
    Jul 2010
    Posts
    155

    Certifications
    a + net+
    #4
    https://www.udemy.com/ip-subnetting/

    this is a good course for subnetting on udemy which is free.
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks