1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Another Subnetting Question!

Discussion in 'Routing & Switching' started by Crazydave1990, Jun 18, 2012.

  1. Crazydave1990

    Crazydave1990 Bit Poster

    19
    0
    9
    Hey folks!

    Ok... So, I think I have my head around the BASICS of subnetting. I'm no pro yet, so, if this is a stupid question, then I apologise.

    Right ok, so, lets imagine that we have an I.P address - 192.168.1.0. And let's imagine we need to subnet that into 5 networks.

    Now, I know a concept atm that basically allowed me to split this I.P into enough pieces that I require, I'm not going to bore you with all the details of this method, but I'll write down my results

    192.168.1.0 - /24 (255.255.255.0)
    Networks Required: 5

    Subnet = 255.255.255.224

    IP Ranges:

    (R1 = Router 1, R2 = Router 2 etc.)
    R1 Network: 192.168.1.0 - 192.168.1.31
    R1 WAN to R2: 192.168.1.32 - 192.168.1.63
    R2 Network: 192.168.1.64 - 192.168.1.95
    R2 WAN to R3: 192.168.1.96 - 192.168.1.127
    R3 Network: 192.168.1.128 - 192.168.1.159

    Now, if we imagine that this network is segregated over a WAN, and we have two WAN lines, linking R1 to R2 and R2 to R3, this WAN line will only need two IP's - so that means in total for the WANs, I only need four (data transferable IP addresses) addresses! That is a Mahoosive waste isn't it!

    So my question is this, how do I route the WANS together, without wasting 28 addresses!

    I know this is really detailed, and I know it's probably a nightmare to read/understand, thank you for your patience, and thank you in advance for your answers.
     
  2. soundian

    soundian Gigabyte Poster

    1,460
    71
    107
    VLSM
    Variable length subnet masks.
    IP Addressing and Subnetting for New Users - Cisco Systems
     
    Last edited by a moderator: Jun 19, 2012
    Certifications: A+, N+,MCDST,MCTS(680), MCP(270, 271, 272), ITILv3F, CCENT
    WIP: Knuckling down at my new job
  3. Coupe2T

    Coupe2T Megabyte Poster

    590
    43
    67
    As Soundian says, you will learn about it under VLSM, which is basically subnetting a subnet. Which probably sounds really confusing, but you soon get your head around it.
     
    Certifications: ECDL, Does that Count!?!
  4. Straylight

    Straylight Bit Poster

    30
    0
    30
    Currently revising for ICND2 again, saw this, thought I'd practise by trying an answer. Excuse long post, maybe it will help someone else or they can tell me I've gone way wrong here. :)

    Making efficient use of the network space. Assumed as per OP, we need 5 subnets with 30 hosts and best use of remaining space.

    Subnets with 30 hosts
    192.168.0.0 / 27

    Ranges
    192.168.0.0 - 31
    ...32 - 63
    ...64 - 91
    ...92 - 127
    ...128 - 159

    Subnets with 14 hosts
    192.168.1.160 / 28

    Ranges
    192.168.0.160 - 175
    ...176 - 191
    ...192 - 207
    ...208 - 223
    ...224 - 239

    Smallest subnet, 6 hosts.
    192.168.0.240 / 29

    Range
    192.168.0.240 - 247

    WAN links. 2 hosts.
    192.168.0.248 / 30

    Ranges
    192.168.0.248 - 251
    ...252 - 255

    supernets for your routing protocols.
    192.168.0.0 / 27
    192.168.0.160 / 28
    192.168.0.240 / 29
    192.168.0.248 / 30
     
    Certifications: CCENT
    WIP: CCNA MS 70-680

Share This Page

Loading...