ece 4110 internetwork programming n.
Skip this Video
Loading SlideShow in 5 Seconds..
ECE 4110 – Internetwork Programming PowerPoint Presentation
Download Presentation
ECE 4110 – Internetwork Programming

Loading in 2 Seconds...

  share
play fullscreen
1 / 26
Download Presentation

ECE 4110 – Internetwork Programming - PowerPoint PPT Presentation

steven-meyers
113 Views
Download Presentation

ECE 4110 – Internetwork Programming

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. ECE 4110 – Internetwork Programming Tuna Tugcu GTREP Tuna.Tugcu@gtrep.gatech.edu

  2. Outline • General information about the course: • Objective • Textbooks and web site • Labs and C programming language • Rules • Review of computer networks: • Definitions and architecture • OSI model • Internetwork connections ECE 4110 – Internetwork Programming

  3. Objective • Understand how the Internet works • IP addressing • TCP/IP • Flow control, congestion avoidance, etc. • Routing • Linux kernel • Hands on networking exercises • Sockets programming • TCP/IP Protocol implementation ECE 4110 – Internetwork Programming

  4. Textbooks and Web Site • We will use three textbooks: • TCP/IP Illustrated: Volume I (Stevens) • Unix Network Programming (Stevens) • TCP/IP Protocol Suite (Forouzan) • Lots of additional resources mentioned on the web site. • http://www.gtrep.gatech.edu/academics/ece/summer03/4110.html • Course material and announcements ECE 4110 – Internetwork Programming

  5. Labs • We will have 8-10 labs. • Digilab I in Chatham Center • Tech 2118 in GaSoU • Lab hours  TBA • Each day late  -10 points • Maximum 7 days late; o/w you will get zero from that lab. • We will use Linux OS. • Installing Linux on your PC is encouraged. • Topics: • TCP-UDP traffic generators, network sniffing, IP forwarding, routing and queuing, etc. ECE 4110 – Internetwork Programming

  6. C Programming Language • Yes, you need to learn C language (but not C++). • I will teach some basic concepts in C, but remember that this is not a C Programming course. • You have to study mostly by yourself. ECE 4110 – Internetwork Programming

  7. Rules • Grading: • Three tests (20% each) • Final exam (20%) • Labs (20%) • Open books, but not notes • You know the difference between discussing with friends and cheating. ECE 4110 – Internetwork Programming

  8. Introduction to Computer Networks • Network: Collection of devices (computers, printers, etc.) that are able to communicate with each other. • internet: Collection of more than one networks. • Internet: You know … ECE 4110 – Internetwork Programming

  9. Internet Hierarchy * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  10. Introduction (cont’d) • Protocol: Set of rules that define what is communicated when and how. • Protocols are defined by standards: • De facto • De jure • Standard bodies, forums, and agencies: • ISO, ITU-T (formerly CCITT), ANSI, IEEE, EIA, Frame Relay Forum, ATM Forum, FCC. ECE 4110 – Internetwork Programming

  11. OSI Model * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  12. OSI Model (cont’d) • Layered architecture • Peer processes • Interfaces between layers (use of primitives) • (1) Physical Layer: Transmits bit streams over a physical medium. [representation of bits; synchronization; transmission mode (simplex, half-duplex, full-duplex); etc.] ECE 4110 – Internetwork Programming

  13. OSI Model (cont’d) • (2) Data Link Layer: Provides link connectivity. [framing; physical addressing; flow, error, and access control]. MAC is a sublayer of data link layer. • (3) Network Layer: Provides network connectivity, i.e., delivery of packets from source to destination. Each packet is handled independently (no flow concept). [logical addressing; routing] ECE 4110 – Internetwork Programming

  14. OSI Model (cont’d) • (4) Transport Layer: Provides end-to-end connectivity, i.e., flow control for a sequence of packets. [SAP; segmentation and reassembly; connection, flow, and error control] • Connectionless • Connection-oriented ECE 4110 – Internetwork Programming

  15. SAR in Transport Layer * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  16. OSI Model (cont’d) • (5) Session Layer: Provides dialog control and synchronization. • (6) Presentation Layer: Provides syntax and semantics interoperability. [encoding translation; encryption; compression] • (7) Application Layer: Provides network virtual terminal, file transfer, mail, and directory services. • Actually, the last three layers are very thin or non-existent. ECE 4110 – Internetwork Programming

  17. Data exchange in OSI Model * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  18. Node-to-Node Delivery * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  19. End-to-End Delivery * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  20. Connecting Multiple Networks * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  21. Repeater • Physical layer. • Connects two segments of a LAN. • Regenerates the signal in one segment and transmits to the other. * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  22. Hub • Physical layer • Multiport repeater • Implements star topology. • Hub removes the length limitation. How ??? * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  23. Bridge • Two layers. • Has filtering capability. • Most bridges today are transparent  they learn the physical (MAC) addresses of the stations connected directly. * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  24. Router • Physical, data link, and network layers. • Provides LAN/LAN, LAN/WAN, WAN/WAN connectivity. (Repeaters, hubs, and bridges connect the segments of the same LAN.) * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall

  25. Router (cont’d) • Three important points about a router: • For each interface, there is one physical (MAC) and one logical (IP) address. • If the arriving packet at an interface is NOT destined to that interface, the router ignores the packet. • The router changes both the source and destination physical addresses in the packet. ECE 4110 – Internetwork Programming

  26. Switch • Two-layer switch: • Unique interface for each terminal  no competing traffic. • A better design for bridge. • Three-layer switch: • Same as a router in functionality; just better in performance. • A better design for router. ECE 4110 – Internetwork Programming