DOC PREVIEW
CMU 15441 Computer Networking - Lecturel 7

This preview shows page 1-2-3-22-23-24-45-46-47 out of 47 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 47 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

15-441 Computer NetworkingScaleSlide 3Problem 1 – Reconnecting LANsOutlineBuilding Larger LANs: BridgesTransparent BridgesFrame ForwardingSpanning Tree BridgesProblem 2 – Bridging WeaknessesSlide 11What is an Internetwork?Logical Structure of InternetInternet Protocol (IP)Problem 3: Internetwork DesignGetting to a DestinationForwarding PacketsSimplified Virtual Circuits ExampleVirtual CircuitsSource Routing ExampleSlide 23Global Address ExampleGlobal AddressesComparisonProblem 3: Router Table SizeSlide 29Addressing in IPRouter Table SizeAddressing ConsiderationsIP AddressesIP Address Classes (Some are Obsolete)Original IP Route LookupSubnet Addressing RFC917 (1984)SubnettingSubnetting ExampleForwarding ExampleAside: Interaction with Link LayerCaching ARP EntriesARP Cache ExampleIP Address Problem (1991)IP Address Utilization (‘97)Important ConceptsARP Cache SurpriseCMU’s Internal Network StructureProxy ARPMonitoring Packet TrafficSlide 5015-441 Computer NetworkingLecture 7 – IP Addressing and Forwarding9-20-07Lecture 7: Addressing/Forwarding 2Scale•What breaks when we keep adding people to the same wire?yak yak…9-20-07Lecture 7: Addressing/Forwarding 3Scale•What breaks when we keep adding people to the same wire?•Only solution: split up the people onto multiple wires•But how can they talk to each other?yak yak…9-20-07Lecture 7: Addressing/Forwarding 4Problem 1 – Reconnecting LANs•When should these boxes forward packets between wires?•How do you specify a destination?•How does your packet find its way?yak yak…9-20-07Lecture 7: Addressing/Forwarding 5Outline •Bridging•Internetworks•Methods for packet forwarding•Traditional IP addressing9-20-07Lecture 7: Addressing/Forwarding 6Building Larger LANs: Bridges•Extend reach of a single shared medium•Connect two or more “segments” by copying data frames between them•Only copy data when needed  key difference from repeaters/hubs•Reduce collision domain compared with single LAN•Separate segments can send at once  much greater bandwidth•Challenge: learning which packets to copy across linksLAN 1 LAN 29-20-07Lecture 7: Addressing/Forwarding 7Transparent Bridges•Design goals:•Self-configuring without hardware or software changes•Bridge do not impact the operation of the individual LANs•Three parts to making bridges transparent:1) Forwarding frames2) Learning addresses/host locations3) Spanning tree algorithm9-20-07Lecture 7: Addressing/Forwarding 8Frame Forwarding•A machine with MAC Address lies in the direction of number port of the bridge•For every packet, the bridge “looks up” the entry for the packets destination MAC address and forwards the packet on that port.•Other packets are broadcast – why?•Timer is used to flush old entries8711C98900AA2MAC AddressPortA21032C9A591199A323C908422301B2369011C2695519001190315Age36011611Bridge1329-20-07Lecture 7: Addressing/Forwarding 9Spanning Tree Bridges•More complex topologies can provide redundancy.•But can also create loops.•What is the problem with loops?•Solution: spanning tree (see HW)host host host host hosthost host host host hosthosthostBridge Bridge9-20-07Lecture 7: Addressing/Forwarding 10Problem 2 – Bridging Weaknesses•Doesn’t handle incompatible LAN technologies•How well does it scale?9-20-07Lecture 7: Addressing/Forwarding 11Outline •Bridging•Internetworks•Methods for packet forwarding•Traditional IP addressing9-20-07Lecture 7: Addressing/Forwarding 12What is an Internetwork?•Multiple incompatible LANs can be physically connected by specialized computers called routers•The connected networks are called an internetwork•The “Internet ” is one (very big & successful) example of an internetworkhosthost hostLAN 1...hosthost hostLAN 2...router router routerWAN WANLAN 1 and LAN 2 might be completely different, totally incompatible LANs (e.g., Ethernet and ATM)9-20-07Lecture 7: Addressing/Forwarding 13Logical Structure of Internet•Ad hoc interconnection of networks•No particular topology•Vastly different router & link capacities•Send packets from source to destination by hopping through networks•Router connect one network to another•Different paths to destination may existhosthostrouterrouterrouterrouterrouterrouter9-20-07Lecture 7: Addressing/Forwarding 14Internet Protocol (IP)•Hour Glass Model•Create abstraction layer that hides underlying technology from network application software•Make as minimal as possible•Allows range of current & future technologies•Can support many different types of applicationsNetwork technologyNetwork applications email WWW phone...SMTP HTTP RTP...TCP UDP…IP ethernet PPP…CSMA async sonet... copper fiber radio...9-20-07Lecture 7: Addressing/Forwarding 15Problem 3: Internetwork Design•How do I designate a distant host?•Addressing / naming•How do I send information to a distant host?•What gets sent?•What route should it take?•Must support:•Heterogeneity LAN technologies•Scalability  ensure ability to grow to worldwide scalehosthost hostLAN 1...hosthost hostLAN 2...router router routerWAN WAN9-20-07Lecture 7: Addressing/Forwarding 16Getting to a Destination•How do you get driving directions?•Intersections routers•Roadslinks/networks•Roads change slowly9-20-07Lecture 7: Addressing/Forwarding 17Forwarding Packets•Table of virtual circuits •Connection routed through network to set up state•Packets forwarded using connection state •Source routing•Packet carries path•Table of global addresses (IP) •Routers keep next hop for destination•Packets carry destination address9-20-07Lecture 7: Addressing/Forwarding 19Simplified Virtual CircuitsExampleReceiverPacketconn 5  3Sender2341conn 5  423412341conn 5  3R2R3R15 5559-20-07Lecture 7: Addressing/Forwarding 20Virtual Circuits•Advantages•Efficient lookup (simple table lookup)•Can reserve bandwidth at connection setup•Easier for hardware implementations•Disadvantages•Still need to route connection setup request•More complex failure recovery – must recreate connection state•Typical use  fast router implementations•ATM – combined with fix sized cells•MPLS – tag switching for IP networks9-20-07Lecture 7: Addressing/Forwarding 22Source Routing ExampleReceiverPacketR1, R2, R3, RSender234123412341R2R3R1R2, R3, RR3, RR9-20-07Lecture 7: Addressing/Forwarding 23Source Routing•Advantages•Switches


View Full Document

CMU 15441 Computer Networking - Lecturel 7

Documents in this Course
Lecture

Lecture

14 pages

Lecture

Lecture

19 pages

Lecture

Lecture

14 pages

Lecture

Lecture

78 pages

Lecture

Lecture

35 pages

Lecture

Lecture

4 pages

Lecture

Lecture

4 pages

Lecture

Lecture

29 pages

Lecture

Lecture

52 pages

Lecture

Lecture

40 pages

Lecture

Lecture

44 pages

Lecture

Lecture

41 pages

Lecture

Lecture

38 pages

Lecture

Lecture

40 pages

Lecture

Lecture

13 pages

Lecture

Lecture

47 pages

Lecture

Lecture

49 pages

Lecture

Lecture

7 pages

Lecture

Lecture

18 pages

Lecture

Lecture

15 pages

Lecture

Lecture

74 pages

Lecture

Lecture

35 pages

Lecture

Lecture

17 pages

lecture

lecture

13 pages

Lecture

Lecture

21 pages

Lecture

Lecture

14 pages

Lecture

Lecture

53 pages

Lecture

Lecture

52 pages

Lecture

Lecture

40 pages

Lecture

Lecture

11 pages

Lecture

Lecture

20 pages

Lecture

Lecture

39 pages

Lecture

Lecture

10 pages

Lecture

Lecture

40 pages

Lecture

Lecture

25 pages

lecture

lecture

11 pages

lecture

lecture

7 pages

Lecture

Lecture

10 pages

lecture

lecture

46 pages

lecture

lecture

7 pages

Lecture

Lecture

8 pages

lecture

lecture

55 pages

lecture

lecture

45 pages

lecture

lecture

47 pages

lecture

lecture

39 pages

lecture

lecture

33 pages

lecture

lecture

38 pages

lecture

lecture

9 pages

midterm

midterm

16 pages

Lecture

Lecture

39 pages

Lecture

Lecture

14 pages

Lecture

Lecture

46 pages

Lecture

Lecture

8 pages

Lecture

Lecture

40 pages

Lecture

Lecture

11 pages

Lecture

Lecture

41 pages

Lecture

Lecture

38 pages

Lecture

Lecture

9 pages

Lab

Lab

3 pages

Lecture

Lecture

53 pages

Lecture

Lecture

51 pages

Lecture

Lecture

38 pages

Lecture

Lecture

42 pages

Lecture

Lecture

49 pages

Lecture

Lecture

63 pages

Lecture

Lecture

7 pages

Lecture

Lecture

51 pages

Lecture

Lecture

35 pages

Lecture

Lecture

29 pages

Lecture

Lecture

65 pages

Lecture

Lecture

47 pages

Lecture

Lecture

41 pages

Lecture

Lecture

41 pages

Lecture

Lecture

32 pages

Lecture

Lecture

35 pages

Lecture

Lecture

15 pages

Lecture

Lecture

52 pages

Lecture

Lecture

16 pages

Lecture

Lecture

4 pages

lecture

lecture

27 pages

lecture04

lecture04

46 pages

Lecture

Lecture

46 pages

Lecture

Lecture

13 pages

lecture

lecture

41 pages

lecture

lecture

38 pages

Lecture

Lecture

40 pages

Lecture

Lecture

25 pages

Lecture

Lecture

38 pages

lecture

lecture

11 pages

Lecture

Lecture

42 pages

Lecture

Lecture

12 pages

Lecture

Lecture

36 pages

Lecture

Lecture

46 pages

Lecture

Lecture

35 pages

Lecture

Lecture

34 pages

Lecture

Lecture

9 pages

lecture

lecture

49 pages

class03

class03

39 pages

Lecture

Lecture

8 pages

Lecture 8

Lecture 8

42 pages

Lecture

Lecture

20 pages

lecture

lecture

29 pages

Lecture

Lecture

9 pages

lecture

lecture

46 pages

Lecture

Lecture

12 pages

Lecture

Lecture

24 pages

Lecture

Lecture

41 pages

Lecture

Lecture

37 pages

lecture

lecture

59 pages

Lecture

Lecture

47 pages

Lecture

Lecture

34 pages

Lecture

Lecture

38 pages

Lecture

Lecture

28 pages

Exam

Exam

17 pages

Lecture

Lecture

21 pages

Lecture

Lecture

15 pages

Lecture

Lecture

9 pages

Project

Project

20 pages

Lecture

Lecture

40 pages

L13b_Exam

L13b_Exam

17 pages

Lecture

Lecture

48 pages

Lecture

Lecture

10 pages

Lecture

Lecture

52 pages

21-p2p

21-p2p

16 pages

lecture

lecture

77 pages

Lecture

Lecture

18 pages

Lecture

Lecture

62 pages

Lecture

Lecture

25 pages

Lecture

Lecture

24 pages

Project

Project

20 pages

Lecture

Lecture

47 pages

Lecture

Lecture

38 pages

Lecture

Lecture

35 pages

Roundup

Roundup

45 pages

Lecture

Lecture

47 pages

Lecture

Lecture

39 pages

Lecture

Lecture

13 pages

Midterm

Midterm

22 pages

Project

Project

26 pages

Lecture

Lecture

11 pages

Project

Project

27 pages

Lecture

Lecture

10 pages

Lecture

Lecture

50 pages

Lab

Lab

9 pages

Lecture

Lecture

30 pages

Lecture

Lecture

6 pages

r05-ruby

r05-ruby

27 pages

Lecture

Lecture

8 pages

Lecture

Lecture

28 pages

Lecture

Lecture

30 pages

Project

Project

13 pages

Lecture

Lecture

11 pages

Lecture

Lecture

12 pages

Lecture

Lecture

48 pages

Lecture

Lecture

55 pages

Lecture

Lecture

36 pages

Lecture

Lecture

17 pages

Load more
Download Lecturel 7
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecturel 7 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecturel 7 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?