Presentation is loading. Please wait.

Presentation is loading. Please wait.

Spring 20071 Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 27/03/2007.

Similar presentations


Presentation on theme: "Spring 20071 Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 27/03/2007."— Presentation transcript:

1 Spring 20071 Routing & Switching Umar Kalim Dept. of Communication Systems Engineering umar.kalim@niit.edu.pk http://www.niit.edu.pk/~umarkalim 27/03/2007 Ref: CSci5211 Univ. of Minnesota

2 Spring 20072 Outline Direct & Indirect delivery Forwarding & Forwarding Techniques Forwarding with classful addressing –Without subnetting –With subnetting Forwarding with classless addressing –Longest subnet mask

3 Spring 20073 Direct delivery

4 Spring 20074 Indirect delivery

5 Spring 20075 Forwarding Forwarding means to place the packet in its route to its destination Forwarding requires a host or a router to have a routing table Whenever a packet is to be forwarded, we have to lookup in the routing table to identify the route to the destination

6 Spring 20076 Forwarding techniques Considering the number of interfaces and interconnecting devices, we need to have an efficient forwarding technique –We cannot maintain a list of all the hosts/interfaces Efficient algorithm A small routing table

7 Spring 20077 Next-Hop Method The table holds only the address of the next hop No information about the complete route

8 Spring 20078 Network-Specific Method For every destination host connected to the same network, we have only one entry that defines the address of the destination adress

9 Spring 20079 Host-Specific Method The destination host address is given in the routing table Here efficiency is sacrificed for other advantages (strict- routing)

10 Spring 200710 Default Method

11 Spring 200711 Forwarding with Classful Addressing

12 Spring 200712 Forwarding without subnetting Maintain one table each for the unicast classes (A, B and C) If multicasting is supported, we can have a fourth table for class D

13 Spring 200713 Forwarding without subnetting Which network the destination host is a part of. We use network-specific forwarding Which router the packet must be delivered for an indirect delivery. This column is empty for direct delivery The number of the out-going port. (A router is usually connected to several different networks)

14 Spring 200714 Figure shows an imaginary part of the Internet. Show the routing tables for router R1.

15 Spring 200715

16 Spring 200716 Forwarding with subnetting Subnetting is done inside the organization The routers which handle subnetting are either on the boundary or inside the boundary of the network If variable length subnetting is used we need several tables Otherwise we need only one table

17 Spring 200717 Forwarding with subnetting

18 Spring 200718

19 Spring 200719 Forwarding with Classless Addressing Since the whole address is available for allocation, one entry for every block is required –As the address alone has no significance Information about the mask is required Thus we add another column for the mask

20 Spring 200720 Forwarding with Classless Addressing

21 Spring 200721 Make a routing table for router R1 using the configuration in Figure

22 Spring 200722

23 Spring 200723 Show the forwarding process if a packet arrives at R1 in the last example with the destination address 180.70.65.140. The first mask (/26) is applied to the destination address. The result is 180.70.65.128, which does not match the corresponding network address. The second mask (/25) is applied to the destination address. The result is 180.70.65.128, which matches the corresponding network address.

24 Spring 200724 Questions? That’s all for today!


Download ppt "Spring 20071 Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 27/03/2007."

Similar presentations


Ads by Google