Presentation is loading. Please wait.

Presentation is loading. Please wait.

Layer-3 Routing Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.

Similar presentations


Presentation on theme: "Layer-3 Routing Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University."— Presentation transcript:

1 Layer-3 Routing Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University

2 Outline Overview. Interconnection Devices. Routing Concepts. Routing Algorithms.

3 Overview End-to-end delivery Across multiple links (or hops). Must concern Find paths in different networks. Choose appropriate paths. Avoid overloading links. Data-Link is just for machine-to-machine over single link.

4 Interconnection Devices

5 Device Overview

6 Repeater Focus at physical layer. But not an amplifier.

7 Repeater

8 Bridge Connect two (or more) LANs together Forward packages between LANs. Smart hub. Focus at Layer-2 Use MAC addresses to decide if it should forward packages.

9 Bridge Functions

10 Transparent Bridge No need to configure the addresses Self-updating. How does a bridge learn addresses? Initially, know nothing. If found unknown address, send to all ports. Also, note the port of the source address.

11 Bridge in OSI Model

12 Router Similar to bridge, but focus on layer-3. Forward to neighbor network or next router toward the destination.

13 Router in OSI Model

14 Gateway Operate in all seven layers. Protocol converter.

15 Gateway in OSI Model

16 Switch Smart multiport bridge Multiple ports. Transparent bridge functions (Layer-2). Packet buffers. Next generations L3 Switch.

17 Routing Concepts Key design elements Performance criteria. Decision time. Decision place. Network information source. Network information update timing.

18 Performance Criteria (PC) What route should I take? Hop count – simplest. Links’ bandwidths – better. Current delay in the queue – more realistic. Example of least-cost algorithms Distance vector routing. Link-state routing.

19 Decision Time (DT) When finding the route, what level should I decide for ? Per-packet. Per-session. Decision Place (DP) Who will decide the route ? Switching node (e.g. router). Central node. Source node. Decision Time and Place

20 What should I obtain the information regarding to current network information ? Topology. Traffic load. Link cost. Scope of the information Cost from the router to all other routers. Cost from the router to its neighbors. Network Information (NI)

21 Where do I obtain the information regarding to current network information ? None. Local. Adjacent (neighbor) node. Node along the route (of packet). All nodes – centrally or distributed. Network Information Source (NS)

22 How often should I collect network information ? Never. Continuous. Periodic. Major load change. Topology change. The more often you collect The better routing decision you can make. The more overhead you generate. Network Information Updating Time (NU)

23 Routing Strategies Fixed Routing all routes are predetermined. simple but not flexible. Source Routing Source node determines the route. Routing patterns can be pre-arranged. Good for special network. Flooding send to everyone. require no network information. generate lots of traffic.

24 Routing Strategies Random Routing simple and require no network information with less traffic. may not be the least-cost routing. Adaptive Routing complex generate some traffic overheads react too quick / too slow ?

25 Distance Vector Routing Keys PC: N/A. DP: router. DT: N/A. NI: to all routers. NS: exchange with neighbors. NT: periodic (e.g. every 30 seconds).

26 Example: Network

27 Example: NI-NS-NT

28 Distance Vector Routing Table

29 Routing Table Distribution

30 Network Information Updating

31 Final Routing Tables

32

33 Link-State Routing Keys PC: N/A. DP: router. DT: N/A. NI: to neighbors. NS: exchange with all routers -- flooding. NT: major changes.

34 Example: NI-NS

35 Cost in Link-State Routing

36 Link-State Packet

37 Flooding of A’s Link-State Packets

38 Link-State Database

39 Cost in Dijkstra Algorithm

40 Shortest Path Calculation

41

42

43

44

45

46

47

48

49 Figure 21-31, Part III Shortest Path Calculation, Part X

50

51

52

53 Routing Table for Router A


Download ppt "Layer-3 Routing Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University."

Similar presentations


Ads by Google