1 / 97

CNT 5106C Computer Networks

CNT 5106C Computer Networks. Ahmed Helmy Computer & Information Science & Engineering (CISE) Dept University of Florida http://www.cise.ufl.edu/~helmy. Course Outline. 5 homeworks (20%) + ~2 experiments/mini-projects (10%) + 2 exams (mid-term & final exam)

mfrisk
Download Presentation

CNT 5106C Computer Networks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CNT 5106C Computer Networks Ahmed Helmy Computer & Information Science & Engineering (CISE) Dept University of Florida http://www.cise.ufl.edu/~helmy Introduction

  2. Course Outline • 5 homeworks (20%) + ~2 experiments/mini-projects (10%) + 2 exams (mid-term & final exam) • 1 mid-term (30%) covering 1st half of semester • Internet Architecture & Analysis, Layering, Multiplexing, Applications, Transport, Congestion Control, MAC protocols (partial !) [based on progress] • Final exam (40%) covering 2nd half • MAC protocols (partial), Wireless and Mobile Networking, Routing (unicast revision, multicast) • 1 required text book (Kurose, Ross…) • Lecture slides: altered version of book slides + supp. Materials & notes as needed Introduction

  3. (Open) Questions to think about: • Throughout the semester we can ask the following questions about the functionality, design and analysis of the Internet: • What do you like about the Internet? • What do you not like about the Internet and would want to change? • How would you change it and how would you achieve such change? How would you evaluate the effects of your change (positive and negative)? Introduction

  4. Intro & Motivation • What’s the Internet to you? • Web browsers, wireless Internet Cafés, cellular phones!, home networks, networked cars (vehicular), networked embedded devices, inter-planetary networks (DTNs)?… • Very complex, time varying, hard to capture ! • Why study the Internet? • To learn engineering lessons from history • Analyze today’s problems and improve performance • Provide future designs for better Internet and new architectures and applications • Is the Internet the only form of computer networking? (open question) Introduction

  5. Topics (Chapters) to Cover • From main text book (Kurose, Ross) • Ch1: Overview, Intro • Ch2: Applications • Ch3: Transport Layer • Ch4: Network Layer • Ch5: Link Layer, MAC, LANs • Ch6: Wireless, Mobile Networks • Ch7: Multimedia [partial: Diffserv, Intserv] • Ch8: Security [partial] • Notes: • Ordering maybe slightly modified as semester progresses. • Personal notes, additions will be provided by Prof. as needed. Introduction

  6. Chapter 1Introduction Computer Networking: A Top Down Approach ,4th edition. Jim Kurose, Keith RossAddison-Wesley, July 2007. Introduction

  7. Overview: what’s the Internet? what’s a protocol? network edge; hosts, access net, physical media network core: Internet structure protocol layers, service models network core: packet/circuit switching, performance: loss, delay, throughput security history Chapter 1: Introduction Introduction

  8. Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge • end systems, access networks, links 1.3 Network core • circuit switching, packet switching, network structure 1.4 Delay, loss and throughput in packet-switched networks 1.5 Protocol layers, service models 1.6 Networks under attack: security 1.7 History Introduction

  9. millions of connected computing devices: hosts = end systems run network apps PC Mobile network server Global ISP wireless laptop cellular handheld Home network Regional ISP access points wired links Institutional network router What’s the Internet: “nuts and bolts” view • communication links • fiber, copper, radio, satellite • transmission rate (bandwidth) • routers: • forward packets (chunks of data) Introduction

  10. protocolscontrol sending, receiving of msgs TCP, IP, HTTP, Ethernet Internet: “network of networks” loosely hierarchical public Internet versus private intranet Internet standards RFC: Request for comments IETF: Internet Engineering Task Force Mobile network Global ISP Home network Regional ISP Institutional network What’s the Internet: “nuts and bolts” view Introduction

  11. communication infrastructure enables distributed applications: Web, VoIP, email, games, e-commerce, file sharing communication services provided to apps: reliable data delivery from source to destination “best effort” (unreliable) data delivery What’s the Internet: a service view Introduction

  12. Network protocols: All communication in Internet governed by protocols Generic protocol: specific messages sent specific actions taken when messages are received, or other events (e.g., timer expiration, exception detection) Protocol Representation: Finite State Machines Protocol Specification, via Standards protocols define format, order of messages sent and received among network entities, and actions taken on message transmission, receipt What’s a protocol? Introduction

  13. Example sequence of a computer network protocol: TCP connection response Get http://www.ufl.edu <file> time What’s a protocol? host server TCP connection request Protocol Design and Analysis are extremely important in Internet study, development and research Introduction

  14. Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge • end systems, access networks, links 1.3 Network core • circuit switching, packet switching, network structure 1.4 Delay, loss and throughput in packet-switched networks 1.5 Protocol layers, service models 1.6 Networks under attack: security 1.7 History Introduction

  15. Network edge: applications and hosts A closer look at network structure: • Access networks, physical media: wired, wireless communication links • Network core: • interconnected routers • network of networks Introduction

  16. End systems (hosts): run application programs e.g. Web, email at “edge of network” peer-peer client/server The network edge: • Client-server model • client host requests, receives service from always-on server • e.g. Web browser/server; email client/server • Peer-to-peer model: • minimal (or no) use of dedicated servers • e.g. Kazaa, BitTorrenth Introduction

  17. Goal: data transfer between end systems handshaking: setup (prepare for) data transfer ahead of time Hello, initial establishment set up “state” in two communicating hosts TCP - Transmission Control Protocol Internet’s reliable data transfer service TCP service[RFC 793] reliable, in-order byte-stream data transfer loss: acknowledgements and retransmissions flow control: sender won’t overwhelm receiver congestion control: senders “slow down sending rate” when network congested Network edge: reliable data transfer service Introduction

  18. Goal: data transfer between end systems same as before! UDP - User Datagram Protocol [RFC 768]: connectionless unreliable data transfer no flow control no congestion control App’s using TCP: HTTP (Web), FTP (file transfer), Telnet (remote login), SMTP (email) App’s using UDP: streaming media, teleconferencing, DNS, Internet telephony Network edge: best effort (unreliable) data transfer service Introduction

  19. Q: How to connect end systems to edge router? residential access nets institutional access networks (school, company) mobile access networks Keep in mind: bandwidth (bits per second) of access network? shared or dedicated? Access networks and physical media Introduction

  20. Dialup via modem up to 56Kbps direct access to router (often less) Can’t surf and phone at same time: can’t be “always on” Residential access: point to point access • DSL: digital subscriber line • deployment: telephone company (typically) • up to 1 Mbps upstream (today typically < 256 kbps) • up to 8 Mbps downstream (today typically < 1 Mbps) • dedicated physical line to telephone central office Introduction

  21. HFC: hybrid fiber coax asymmetric: up to 30Mbps downstream, 2 Mbps upstream network of cable and fiber attaches homes to ISP router homes share access to router deployment: available via cable TV companies Residential access: cable modems Introduction

  22. Residential access: cable modems Introduction

  23. company/univ local area network (LAN) connects end system to edge router Ethernet: 10 Mbs, 100Mbps, 1Gbps, 10Gbps Ethernet modern configuration: end systems connect into Ethernetswitch LANs: chapter 5 Company access: local area networks Introduction

  24. shared wireless access network connects end system to router via base station aka “access point” wireless LANs: 802.11b/g/n (WiFi): 11, 54, 111 Mbps wider-area wireless access provided by telco operator ~1Mbps over cellular (EVDO, HSDPA) WiMAX (10’s Mbps) over wide area? Wireless Networks: Chapter 6 Future: Mobile Ad Hoc and Sensor Networks! router base station mobile hosts Wireless access networks Introduction

  25. Typical home network components: DSL or cable modem router/firewall/NAT Ethernet wireless access point Home networks wireless laptops to/from cable headend cable modem router/ firewall wireless access point Ethernet Introduction

  26. Bit: propagates betweentransmitter/rcvr pairs physical link: what lies between transmitter & receiver guided media: signals propagate in solid media: copper, fiber, coax unguided media: signals propagate freely, e.g., radio Twisted Pair (TP) two insulated copper wires Category 3: traditional phone wires, 10 Mbps Ethernet Category 5: 100Mbps Ethernet Physical Media Introduction

  27. Coaxial cable: two concentric copper conductors bidirectional baseband: single channel on cable legacy Ethernet broadband: multiple channels on cable HFC (hybrid fiber-coax) Physical Media: coax, fiber Fiber optic cable: • glass fiber carrying light pulses, each pulse a bit • high-speed operation: • high-speed point-to-point transmission (100’s Gps) • WDM Networks: Wavelength division multiplexing • low error rate: repeaters spaced far apart ; immune to electromagnetic noise Introduction

  28. signal carried in electromagnetic spectrum no physical “wire” bidirectional propagation environment effects: reflection obstruction by objects Interference dynamic link characteristics … Physical media: radio Radio link types: • terrestrial microwave • e.g. up to 45 Mbps channels • LAN (e.g., Wifi) • 11Mbps, 54 Mbps • wide-area (e.g., cellular) • 3G cellular: ~ 1 Mbps • satellite • Kbps to 45Mbps channel (or multiple smaller channels) • 270 msec end-end delay • geosynchronous versus low altitude Introduction

  29. Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge • end systems, access networks, links 1.3 Network core • network structure, circuit switching, packet switching 1.4 Delay, loss and throughput in packet-switched networks 1.5 Protocol layers, service models 1.6 Networks under attack: security 1.7 History Introduction

  30. Internet Structure: loose hierarchy • hierarchy based on administrative regions/providers Introduction

  31. roughly hierarchical at center: “tier-1” ISPs (e.g., Verizon, Sprint, AT&T, Cable and Wireless), national/international coverage treat each other as equals Tier-1 providers interconnect (peer) privately Internet structure: network of networks Tier 1 ISP Tier 1 ISP Tier 1 ISP Introduction

  32. POP: point-of-presence to/from backbone peering … …. … … … to/from customers Tier-1 ISP: e.g., Sprint Introduction

  33. “Tier-2” ISPs: smaller (often regional) ISPs Connect to one or more tier-1 ISPs, possibly other tier-2 ISPs Tier-2 ISPs also peer privately with each other. • Tier-2 ISP pays tier-1 ISP for connectivity to rest of Internet • tier-2 ISP is customer of tier-1 provider Tier-2 ISP Tier-2 ISP Tier-2 ISP Tier-2 ISP Tier-2 ISP Internet structure: network of networks Tier 1 ISP Tier 1 ISP Tier 1 ISP Introduction

  34. “Tier-3” ISPs and local ISPs last hop (“access”) network (closest to end systems) Tier 3 ISP local ISP local ISP local ISP local ISP local ISP local ISP local ISP local ISP Local and tier- 3 ISPs are customers of higher tier ISPs connecting them to rest of Internet Tier-2 ISP Tier-2 ISP Tier-2 ISP Tier-2 ISP Tier-2 ISP Internet structure: network of networks Tier 1 ISP Tier 1 ISP Tier 1 ISP Introduction

  35. a packet passes through many networks! Tier 3 ISP local ISP local ISP local ISP local ISP local ISP local ISP local ISP local ISP Tier-2 ISP Tier-2 ISP Tier-2 ISP Tier-2 ISP Tier-2 ISP Internet structure: network of networks Tier 1 ISP Tier 1 ISP Tier 1 ISP Introduction

  36. Internet Hierarchy • hierarchy based on routing (more later) Introduction

  37. So, what does the Internet look like? Have you seen it lately?! 100 node transit-stub topology Introduction

  38. Map of the multicast backbone [Mbone] (~3000 nodes) [2002] Introduction

  39. Map of the Internet (~50,000 nodes) Introduction

  40. It is not simple… • It is really complex • in scale • in interactions and dynamics • in failure modes (loss, crashes, loops, etc) • We need a very systematic approach to design protocols for such a complex network Introduction

  41. Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge • end systems, access networks, links 1.3 Network core • circuit switching, packet switching, network structure 1.4 Delay, loss and throughput in packet-switched networks 1.5 Protocol layers, service models 1.6 Networks under attack: security 1.7 History Introduction

  42. Networks are complex! many “pieces”: hosts routers links of various media applications protocols hardware, software Question: Is there any hope of organizing structure of network? Or at least our discussion of networks? Protocol “Layers” Introduction

  43. Why layering? Dealing with complex systems: • explicit structure allows identification, relationship of complex system’s pieces • layered reference model for discussion • modularization eases maintenance, updating of system • change of implementation of layer’s service transparent to rest of system • change in one layer doesn’t affect rest of system (is this true?!) • Can layering be considered harmful? Introduction

  44. application: supporting network applications FTP, SMTP, HTTP transport: process-process data transfer TCP, UDP network: routing of datagrams from source to destination IP, routing protocols link: data transfer between neighboring network elements PPP, Ethernet physical: bits “on the wire” application transport network link physical Internet protocol stack (TCP/IP stack) Introduction

  45. presentation: allow applications to interpret meaning of data, e.g., encryption, compression, machine-specific conventions session: synchronization, checkpointing, recovery of data exchange Internet stack “missing” these layers! these services, if needed, must be implemented in application needed? Other protocol stacks? ATM, … application presentation session transport network link physical ISO/OSI reference model Introduction

  46. network link physical link physical M M M Ht M Hn Hn Hn Hn Ht Ht Ht Ht M M M M Ht Ht Hn Hl Hl Hl Hn Hn Hn Ht Ht Ht M M M source Encapsulation message application transport network link physical segment datagram frame switch destination application transport network link physical router Introduction

  47. Introduction

  48. Introduction

  49. Introduction

  50. Introduction

More Related