Presentation is loading. Please wait.

Presentation is loading. Please wait.

Andrew Smith 1 VLSM and CIDR Variable Length Subnet Masking and Classless inter-domain routing.

Similar presentations


Presentation on theme: "Andrew Smith 1 VLSM and CIDR Variable Length Subnet Masking and Classless inter-domain routing."— Presentation transcript:

1 Andrew Smith 1 VLSM and CIDR Variable Length Subnet Masking and Classless inter-domain routing

2 Andrew Smith 2 VLSM and CIDR This session will extend your understanding of sub-networking and explore address aggregation This session summarises pack 2 on the OU T228 eDesktop site

3 Andrew Smith 3 VLSM and CIDR Whilst IPv4 is 32 bit and offers over 4 billion addresses, severe restrictions now exist Some systems may have a network, which is being extensively used The loss of the broadcast subnet is considered wasteful VLSM (Variable Length Sub-Net Masking) has two advantages: - It extends the hierarchical structure of the network addressing scheme, Allows you to retrieve wasted addresses and apply them to suitable networked systems

4 Andrew Smith 4 VLSM and CIDR

5 Andrew Smith 5 VLSM and CIDR The basic rules for VLSM are exactly the same as those for sub-networking, You can only borrow (subdivide) from the host portion of the subnet in question You can only have even numbers of variable sub-networks Binary 1’s are always to the left, there are no exceptions for VLSM Binary 0’s are always to the right, again there are no exceptions Binary 1’s always represent the number of sub-networks Binary 0’s always represent the number of hosts in each variable sub-network Borrowing is done with a 1, each 1 means that you double the number of sub-networks. The subnet mask is 32 bits, remember the dotted notation is only to make the information human understandable.

6 Andrew Smith 6 VLSM and CIDR An easy VLSM example! Create a subnet mask for 100.0.0.0 which will ensure it has 1500 sub-networks 100.0.0.0 11111111.11111111.11100000.00000000 255.255.224.0 It is class A You must have 2048 sub-networks

7 Andrew Smith 7 VLSM and CIDR An easy VLSM example! Create a subnet mask for 100.0.0.0 which will ensure it has 1500 sub- networks Now we want the 100 th sub-network And yes we are going to use subnet 0 (TMA tip, declare it, use it) So we have the network id of 99 for the 100 th sub-network (count from 0-99, is 100 networks) 99 in binary is 01100011 Place it on the right hand side 100.0.0.0 11111111.11111111.11100000.00000000.00001100.01100000.00000000 100.12.96.0 Is our elected subnet

8 Andrew Smith 8 VLSM and CIDR An easy VLSM example! Create a subnet mask for 100.0.0.0 which will ensure it has 1500 sub- networks Now we want 100 sub-networks within the 100 th subnet, which means we can have 128 So we simply start from our new position 100.0.0.0 100.12.96.0 255.255.224.0 11111111.11111111.11100000.00000000 11111111.11111111.11111111.11000000 255.255.255.192 With 62 (64-2) hosts per subnetwork

9 Andrew Smith 9 VLSM and CIDR You must be aware, you can VLSM to the Nth degree and VLSM a VLSMed network until you run out of addresses

10 Andrew Smith 10 VLSM and CIDR VLSM problems With 99.0.0.0 Create a subnet mask for 100 sub-networks Find the 50 th (subnet 0 may be assumed) Create a subnet mask for a further 50 sub-networks Now find the 25 th Create a subnet mask for a further 10 sub-networks With 200.0.0.0 Create a subnet mask for 5 sub-networks What is the last sub-network? How many VLSM sub-networks can be fitted into this space

11 Andrew Smith 11 VLSM and CIDR CIDR (Classless Inter Domain Routing) Commonly referred to as supernetting Is used to summarise a range of network addresses into one Reduces the size of a routing table Reduces the updates on the inter router link Creation of one aggregate address Is not an exact science, which means we can have more than one answer to the same problem

12 Andrew Smith 12 VLSM and CIDR CIDR (Classless Inter Domain Routing)

13 Andrew Smith 13 VLSM and CIDR CIDR (Classless Inter Domain Routing) The process of supernetting is considerably simpler than sub-networking, as the desired outcome is to create an address and subnet mask which summarises a range of known (and previously sub-networked) network addresses. To calculate a supernet address, you have to: - Line up all the network addresses Compare the binary Find the common ‘bit!’ Calculate the new aggregate address and mask based on the common bit, and that which is to the left of it

14 Andrew Smith 14 VLSM and CIDR CIDR (Classless Inter Domain Routing)

15 Andrew Smith 15 VLSM and CIDR CIDR (Classless Inter Domain Routing) CIDR Exercise For … 80.16.10.0 80.16.20.0 80.16.30.0 80.16.40.0 80.16.50.0 Find a suitable summary address

16 Andrew Smith 16 VLSM and CIDR CIDR (Classless Inter Domain Routing) CIDR Exercise For … 80.16.0.0 80.26.0.0 80.56.0.0 80.66.0.0 80.76.0.0 Find a suitable summary address

17 Andrew Smith 17 VLSM and CIDR


Download ppt "Andrew Smith 1 VLSM and CIDR Variable Length Subnet Masking and Classless inter-domain routing."

Similar presentations


Ads by Google