Subnetting Scenarios

Posted on August 10, 2009. Filed under: CCNA, ICND1 break down | Tags: , , , |



There are 4 common scenarios for subnet

  1. Given a network address and subnet mask, how many subnets can you have and how many hosts per subnet.
  2. Number of Subnet = (2 to the power of number of subnet bits)

    In the new Cisco documents, subtracting 2 from the above result is needed under the following conditions:

    no ip subnet-zero command appears near the top of the router configuration.

    The routing protocol is classful, that is either RIPv1 or IGRP.
    Number of Valid Hosts On A Subnet = (2 to the power of the number fo host bits) – 2
    For example:
    172.10.0.0/25
    172 is Class B address,

    Default Mask 255.255.0.0 = 11111111 11111111 0000000 00000000

    Subnet Mask

    255.255.255.128 = 11111111 11111111 11111111 10000000

    The number of subnet bits = 25 – 16 = 9

    2 to the 9th power = 512

    There are 512 subnet for 172.10.0.0/25 network.

    The number of host bits = 7

    2 to the 7th power – 2 = 128 -2 = 126

    There are 126 valid hosts on a subnet for 172.10.0.0/25 network.  

     

  3. Given network address and needs, provide a subnet mask.
  4. Let’s learn by working on an example.
    We have network address 172.16.0.0.
    Requirements: Subnetting the network 172.16.0.0, so that we have at least 6 subnets, and at least 2000 hosts per subnet.

    172 is class B network, default network mask is 255.255.0.0 ( or /16), with 16 network bits, and 16 host bits.

    We can subnetting by borrowing some host bits.

    3 subnet bits = 8 valid subnets > 6 subnets

    So we need to borrow 3 host bits for subnetting, that leave us with 16-3=13 host bits for host portion.

    13 host bits gives us 2^13 – 2 = 8190 hosts, which is greater than 2000 hosts. Therefore, our subnetting meet all the requirements.

    Conclusion: 172.16.0.0 /19 is the subnet required. 

     

  5. Given network address and subnet mask, list valid subnet addresses.
  6. Let’s learn by example.

    Given network 172.16.0.0/19, the subnet addresses list is created by increasing the subnet portion from 000 to 111.

    Network addr = 10101100 00010000 00000000 00000000

    Subnet Mask = 11111111 11111111 11100000 00000000

    Network No. = 10101100 00010000 00000000 00000000 (Not Valid)

    1st host = 10101100 00010000 00100000 00000000

    2nd host = 10101100 00010000 01000000 00000000

    3rd host = 10101100 00010000 01100000 00000000

    4th host = 10101100 00010000 10000000 00000000

    5th host = 10101100 00010000 10100000 00000000

    6th host = 10101100 00010000 11000000 00000000

    broadcast = 10101100 00010000 11100000 00000000 (Not Valid)

    Finally convert the binary to decimal:

    1st host = 172.16.32.0

    2nd host = 172.16.64.0

    3rd host = 172.16.96.0

    4th host = 172.16.128.0

    5th host = 172.16.160.0

    6th host = 172.16.224.0

     

  7. Given an ip address and subnet mask, find the subnet address, broadcast address and valid host range.
  8. Determining the subnet number of a given IP address:
    Given an IP address and subnet mask, finding the subnet address is done by performing a Boolean AND operation. First, the IP address and its subnet mask will be converted to binary, and the subnet address is the Boolean AND results of the IP address and its subnet mask. 
    Finding the broadcast address is done by setting all the host bits of the IP address to 1, then perform Boolean AND operation with the subnet mask. 
    To find the range of valid host addresses on a subnet, find the first and last address in the range. The first address in the range is the network number and is not a valid host address; the final address in the range is the broadcast address for that subnet and is not a valid host address. All addresses between the two are valid host addresses.
    For example:
    179.47.39.89 /28

    IP address 179.47.39.89

    Subnet mask /28

    IP address = 10110010 00101111 00100111 01011001

    Subnet Mask= 11111111 11111111 11111111 11110000

    Subnet # = 10110010 00101111 00100111 01010000

    Subnet Number = 179.47.39.80 /28

    1st Address in range: 179.47.39.89 (Network Number, not valid)

    Last Address in range:

    10110010 00101111 00100111 01011111

    =179.47.39.95 (Broadcast Address, not valid)

    Valid range of Addresses: 179.47.39.90 – 179.47.39.94

     

     

Advertisements

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

5 Responses to “Subnetting Scenarios”

RSS Feed for IT Certifications Comments RSS Feed

Свои книги по неправильной системе и сам в своих проявлена такая забота, как у евреев они в крови у человека; они могут только либо быть подавлены, зачахнуть, остаться неиспользованными, либо быть возбуждаемы, развиваемы, поддерживаемы. Через всю французскую хозяйственную историю задержка развития капитализма вследствие другой магометанской администрации и с исконными сильными ремеслами в области производства странам, низвергая.
Пдд сдать экзамен онлайн скачать

the fucking videos dont exists!!! you idiot pig fuck face

[…] * Decimal > Binary, Binary > Decimal * Subnetting Basics * Four common subnetting scenarios […]

[…] https://kl2217.wordpress.com/2009/08/10/subnetting-scenarios/ xxxxx http//xyznetwork.blogspot.com/2009/08/subnetting-scenarios_10.html […]


Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: