Outline INFOTECH Lecture
IP Based Networks and Applications Manuscript: Edition Summer 2004
Additional material and information on the course is available at http://www.jcho.de/jc/IPNA/
Dr.-Ing. Joachim Charzinski [email protected]
© Joachim Charzinski This slide set is distributed to support students of the University of Stuttgart who attend the IPNA lecture http://www.jcho.de/IPNA/ during summer term 2004. All other use requires written permission by Joachim Charzinski. IPNA – IP based Networks and Applications IPNA – IP based Networks and Applications Table of Contents (2) 2004 Edition Table of Contents 2004 Edition 4. Applications and Application Layer Protocols 4-1 4.1 Introduction 4-5 4.1.1 Design Principles 4-5 1. Introduction 1-1 4.1.2 Contents Delineation 4-6 1.1 Overview of the lecture 1-6 4.1.3 Client-Server Paradigm 4-9 4.1.4 Reply Codes 4-11 1.2 Internet History 1-26 4.1.5 Socket Concept 4-15 1.3 IP Standardisation 1-46 4.2 DNS 4-20 1.4 Networking Basics Refresher 1-55 4.3 E-Mail 4-28 1.4.1 Reference Model 1-56 4.3.1 SMTP 4-32 1.4.2 Circuit Switching and Packet Switching 1-59 4.3.2 MIME 4-37 1.4.3 Local Area Networks 1-65 4.3.3 POP3 4-39 1.4.4 Network Elements 1-76 4.3.4 IMAP 4-42 Questions 1-94 4.4 HTTP 4-43 4.5 Telnet 4-55 2. Network Layer et. al. 2-1 4.6 FTP 4-62 2.1 Internet Reference Model 2-3 4.7 VoIP 4-67 2.2 IP 2-14 4.7.1 Packetized Voice 4-69 2.2.1 IP Packets 2-19 4.7.1 H.323 4-71 2.2.2 Addressing 2-32 4.7.2 SIP 4-78 2.2.3 Fragmentation 2-43 2.3 ICMP 2-50 5. Network Architectures 5-1 2.4 ARP 2-62 5.1 The Internet 5-4 2.5 Routing 2-68 5.2 Local IP Networks 5-6 2.5.1 Principle 2-69 5.3 Intranets 5-13 2.5.2 Algorithms 2-81 5.3.1 Network Address Translation (NAT) 5-15 2.5.3 Protocols 2-86 5.3.2 Virtual Private Networks (VPN) 5-16 2.6 UDP 2-93 5.3.3 Remote LAN Access (RLA) 5-17 Questions 2-99 5.4 Residential Access 5-18 5.5 Voice Carrier Networks 5-22 3. Transport Layer 3-1 5.6 Mobile Networks 5-25 3.1 TCP (Transmission Control Protocol) 3-5 5.6.1 Mobility Support 5-26 3.1.1 Overview 3-6 5.6.2 GPRS 5-29 3.1.2 Reliable Transport 3-8 5.6.3 Header Compression 5-30 3.1.3 TCP Header 3-13 5.6.4 TCP and Packet Loss 5-32 3.1.4 Reliable Transport in TCP 3-22 5.7 Overlay Networks 5-34 3.1.5 Connection Concept 3-28 5.7.1 General View 5-35 3.2 TCP Flow and Congestion Control 3-38 5.7.2 Building Overlays with P2P Mechanisms 5-37 3.2.1 Principle 3-41 Questions 5-39 3.2.2 Congestion Control Algorithms: Tahoe, Reno, Vegas 3-47 3.2.3 TCP Performance 3-56 3.2.4 Extensions 3-61 6. Statistics and Performance 6-1 3.3 Assigned Numbers 3-62 6.1 Introduction 6-4 3.4 Other Transport Protocols 3-66 6.1.1 Basic Statistics 6-4 3.4.1 SCTP 3-67 6.1.2 Classical Models and Results 6-10 3.4.2 RTP 3-71 6.2 Web Statistics 6-13 Questions 3-76 6.2.1 TCP Effects 6-14 6.2.2 Heavy-Tailed Distributions 6-17 6.3 Long-Range Dependence and Self-Similarity 6-21 6.4 Issues with Simulations 6-27 Questions 6-32 IPNA – IP based Networks and Applications IPNA – IP based Networks and Applications Table of Contents (3) 2004 Edition Errata 2004 Edition 7. Quality of Service 7-1 7.1 What is Quality of Service? 7-4 7.2 Best Effort Service 7-9 7.3 Differentiated Services 7-11 7.4 Integrated Services 7-14 7.5 MPLS 7-16 7.6 Service Level Agreements 7-22 Questions 7-24
8. Network Management 8-1 8.1 Introduction 8-4 8.2 Configuration Management 8-7 8.3 Performance Management 8-9 8.4 Fault Management 8-11 8.5 SNMP MIBs 8-14 8.6 SNMP Protocol 8-18 Questions 8-22
9. Security 9-1 9.1 Introduction 9-4 9.2 Methods for Improving Security 9-10 9.2.1 Methods for Confidentiality and Integrity 9-11 9.2.2 Methods for System Security 9-16 9.3 Internet Security Frameworks 9-17 9.3.1 Authentication Frameworks 9-18 9.3.2 Network Layer Security: IPsec 9-19 9.3.3 Transport Layer Security: SSL and TLS 9-21 9.3.4 Application Layer Security: PGP 9-22 9.4 Firewalls 9-23 9.5 Absolute Security? 9-30 Questions 9-31
10. IPv6 10-1 10.1 Introduction 10-4 10.2 Addressing 10-6 10.3 IP Packet Header 10-9 10.4 Automatic Configuration 10-17 10.5 Security Support 10-18 10.6 Changes to Other Protocols 10-19 10.7 Migration Strategies 10-21 Questions 10-24 Outline Preliminary remarks INFOTECH Overview Lecture Internet History IP Standardisation Networking Basics Refresher
Information and Communication Networks
IP Based Networks and Applications Chapter 1: Introduction
Dr.-Ing. Joachim Charzinski [email protected]
© Joachim Charzinski This slide set is distributed to support students of the University of Stuttgart who attend the IPNA lecture http://www.jcho.de/IPNA/ during summer term 2004. All other use requires written permission by Joachim Charzinski.
Objectives
Preliminary remarks Overview Internet History Learn about and explore IP technology IP Standardisation Networking Basics Refresher See the difference between The Internet and other IP networks
be able to design IP based applications
Not: how to use applications link recommendations for surfing
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-2 Prerequisites
Preliminary remarks Overview Communications (will be refreshed) Internet History LANs IP Standardisation OSI Reference model Networking Basics Refresher
basic C knowledge to understand examples to apply your new knowledge
how to use the Web and e-mail also for accessing information about this lecture
some maths
LAN Local Area Network © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-3
Remarks
Preliminary remarks Overview “homework” Internet History preparation for next lecture IP Standardisation simple tasks to give you a “hands-on” feeling for the course Networking Basics material Refresher mixture of fun and work no “official” solutions
You can contact me by e-mail: [email protected] (at work) [email protected] (at home)
Additional information for this course is available at http://www.jcho.de/jc/IPNA/
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-4 Outline
Preliminary remarks Overview 1. Introduction Internet History IP Standardisation 2. Network Layer (et al.) Networking Basics 3. Transport Layer Refresher 4. Applications and Application Layer Protocols 5. Network Architectures 6. Statistics and Performance 7. Quality of Service 8. Network Management 9. Security 10. Ipv6
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-5
1.1 Outline Chapter 1: Introduction
Preliminary remarks 1.1 Overview of the lecture Overview Chapter 1 Chapter 2 Chapter 3 Chapter 4 1.2 Internet History Chapter 5 evolution and growth of the Internet Chapter 6 Chapter 7 Chapter 8 Chapter 9 1.3 IP Standardisation Chapter 10 Internet History IP Standardisation 1.4 Networking Basics Refresher Networking Basics 1.4.1 Reference Model Refresher 1.4.2 Circuit Switching and Packet Switching 1.4.3 Local Area Networks 1.4.4 Network Elements
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-6 1.1 Outline Chapter 2: Network Layer (et al.)
Preliminary remarks 2.1 Internet Reference Model Overview Chapter 1 Chapter 2 2.2 IP Chapter 3 2.2.1 IP Packets Chapter 4 Chapter 5 2.2.2 Addressing Chapter 6 2.2.3 Fragmentation Chapter 7 Chapter 8 2.3 ICMP Chapter 9 Chapter 10 2.4 ARP Internet History IP Standardisation 2.5 Routing Networking Basics 2.5.1 Principle Refresher 2.5.2 Algorithms 2.5.3 Protocols 2.6 UDP
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-7
1.1 Outline Chapter 2: Network Layer (et al.) – Preview
Preliminary remarks Overview Major IP based Protocols Chapter 1 replace logo Chapter 2 Chapter 3 Chapter 4 Users... Chapter 5 Chapter 6 Application Programs Chapter 7 Chapter 8 Chapter 9 HTTP Chapter 10 FTP SNMP NFS MIME ASN.1 XDR Internet History SMTP BGP RPC rlogin TELNET DNS TFTP BOOTP RIP RTP RPC &rsh & DHCP IP Standardisation TCP UDP Networking Basics Refresher IP (+ICMP, IGMP) ARP, ATMARP, SLIP, PPP Hardware Device Drivers, Media Access Control Protocols
Source: [Comer 2000] Hardware...
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 2 Edition Summer 2004 2-11
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-8 1.1 Outline Chapter 3: Transport Layer
Preliminary remarks 3.1 TCP (Transmission Control Protocol) Overview Chapter 1 3.1.1 Overview Chapter 2 3.1.2 Reliable Transport Chapter 3 Chapter 4 3.1.3 TCP Header Chapter 5 3.1.4 Reliable Transport in TCP Chapter 6 3.1.5 Connection Concept Chapter 7 Chapter 8 Chapter 9 3.2 TCP Flow and Congestion Control Chapter 10 3.2.1 Principle Internet History 3.2.2 Congestion Control Algorithms: IP Standardisation Tahoe, Reno, Vegas Networking Basics 3.2.3 TCP Performance Refresher 3.2.4 Extensions 3.3 Assigned Numbers 3.4 Other Transport Protocols 3.4.1 SCTP 3.4.2 RTP
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-9
1.1 Outline Chapter 3: Transport Layer – Preview
Preliminary remarks TCP Congestion Control Overview replace logo Principal Figure Chapter 1 Chapter 2 Chapter 3 TCP TCP Reno trace 35 Chapter 4 Congestion Control Chapter 5 Principle Chapter 6 Algorithms 30 LL LL Chapter 7 Performance LL Extensions 25 Chapter 8 LL Assigned Numbers Chapter 9 20 CACA CA Chapter 10 Other T. Protocols CACA 15 Internet History FR FRFR IP Standardisation 10 S Networking Basics 5 TO SS Congestion Window Size Refresher 0 0 5 10 15 20 25 30
SegmentTime in Number units SS Slow Start FRFR Fast Recovery TOTO Timeout LL Packet Loss CACA Congestion Avoidance
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 3 Edition Summer 2002 3-55 © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-10 1.1 Outline – Chapter 4: Applications and Application Layer Protocols
Preliminary remarks 4.1 Introduction 4.4 HTTP Overview Chapter 1 4.1.1 Design Principles Chapter 2 4.1.2 Client-Server Paradigm 4.5 Telnet Chapter 3 4.1.3 Reply Codes Chapter 4 4.6 FTP Chapter 5 4.1.4 Socket Concept Chapter 6 4.7 VoIP Chapter 7 4.2 DNS Chapter 8 4.7.1 Packetized Voice Chapter 9 4.7.1 H.323 Chapter 10 4.3 E-Mail 4.3.1 SMTP 4.7.2 SIP Internet History 4.3.2 MIME IP Standardisation 4.3.3 POP3 Networking Basics Refresher 4.3.4 IMAP
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-11
1.1 Outline – Chapter 4: Applications and Application Layer Protocols
Preliminary remarks SMTP Overview replace logo Chapter 1 Conversation Example Chapter 2 Chapter 3 Introduction Chapter 4 Minimum conversation between client (C) and server (S) DNS Chapter 5 E-Mail Chapter 6 S: 220 host-a.net ready Chapter 7 SMTP C: HELO host-b.edu Chapter 8 MIME S: 250 host-a.net Chapter 9 PO P3 C: MAIL FROM:
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Net works IPNA Chapter 4 Edition Summer 2002 4-31 © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-12 1.1 Outline Chapter 5: Network Architectures
Preliminary remarks 5.1 The Internet Overview Chapter 1 5.2 Local IP Networks Chapter 2 Chapter 3 5.3 Intranets Chapter 4 5.3.1 Network Address Translation (NAT) Chapter 5 Chapter 6 5.3.2 Virtual Private Networks (VPN) Chapter 7 5.3.3 Remote LAN Access (RLA) Chapter 8 Chapter 9 5.4 Residential Access Chapter 10 Internet History 5.5 Voice Carrier Networks IP Standardisation 5.6 Mobile Networks Networking Basics Refresher 5.6.1 Mobility Support 5.6.2 GPRS 5.6.3 Header Compression 5.6.4 TCP and Packet Loss 5.7 Overlay Networks 5.7.1 General View 5.7.2 Building Overlays with P2P mechanisms © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-13
1.1 Outline Chapter 5: Network Architectures – Preview
Preliminary remarks Overview P2P search Chapter 1 replace logo Chapter 2 Chapter 3 The Internet application layer multicast for searching Chapter 4 Local IP Networks Chapter 5 direct peer-to-peer connection for download Intranets Chapter 6 Chapter 7 Residential Access “looking for file x” Chapter 8 Voice Carriers “give me file x” Chapter 9 Mobile Networks download Chapter 10 Overlay Networks Internet History “I’ve got IP Standardisation file x” Networking Basics Refresher
“I’ve got file x”
real (IP) network topology is different from overlay topology
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 5 Edition Summer 2004 5-38
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-14 1.1 Outline Chapter 6: Statistics and Performance
Preliminary remarks 6.1 Introduction Overview Chapter 1 6.1.1 Basic Statistics Chapter 2 6.1.2 Classical Models and Results Chapter 3 Chapter 4 Chapter 5 6.2 Web Statistics Chapter 6 6.2.1 TCP Effects Chapter 7 6.2.2 Heavy-Tailed Distributions Chapter 8 Chapter 9 Chapter 10 6.3 Long-Range Dependence and Self-Similarity Internet History 6.4 Issues with Simulations IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-15
1.1 Outline Chapter 6: Statistics and Performance – Preview
Preliminary remarks Measured SMTP Traffic Poisson Traffic Overview 10s Aggregates Chapter 1 over 10000s Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 1s Aggregates Chapter 8 over 1500s Chapter 9 Chapter 10 Internet History
IP Standardisation 0.1s Aggregates i2001 k s n zi r
over 150s a Networking Basics h C m i Refresher h 6/ 06.2001 / © Joac r e t
10ms Aggregates p a h C
over 15s A IPN Information and Communication Networks Joachim Charzinski http://www.ic.siemens.com/networks/ http://www.jcho.de/jc/IPNA/ 6-23
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-16 1.1 Outline Chapter 7: Quality of Service
Preliminary remarks 7.1 What is Quality of Service? Overview Chapter 1 7.1.1 General View Chapter 2 7.1.2 QoS Metrics Chapter 3 Chapter 4 7.1.3 Admission Control Chapter 5 Chapter 6 7.2 Best Effort Service Chapter 7 Chapter 8 7.3 Differentiated Services Chapter 9 Chapter 10 7.4 Integrated Services Internet History IP Standardisation 7.5 MPLS Networking Basics Refresher 7.6 Service Level Agreements
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-17
1.1 Outline Chapter 8: Network Management
Preliminary remarks 8.1 Introduction Overview Chapter 1 Chapter 2 8.2 Configuration Management Chapter 3 Chapter 4 8.3 Performance Management Chapter 5 Chapter 6 8.4 Fault Management Chapter 7 Chapter 8 Chapter 9 8.5 SNMP MIBs Chapter 10 Internet History 8.6 SNMP Protocol IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-18 1.1 Outline Chapter 8: Network Management
Preliminary remarks Overview Management Architecture Chapter 1 replace logo Chapter 2
Chapter 3 Chapter 8 Architecture Chapter 4 Introduction management station(s) Chapter 5 network elements running Configuration Mgt. Chapter 6 management “agent” software NE Performance Mgt. NE Chapter 7 routers Fault Mgt. Chapter 8 servers NE Chapter 9 SNMP MIBs printer, terminal, NE Chapter 10 SNMP Protocol Web, remote access, . . . Internet History NE NE
IP Standardisation NE NE Networking Basics MS Refresher other Network
Basic Mechanisms request information from an agent set configuration data (center to agent) notify center of new information (“trap”: agent to center)
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 8 Edition Summer 2002 8-6
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-19
1.1 Outline Chapter 9: Security
Preliminary remarks 9.1 Introduction Overview Chapter 1 Chapter 2 9.2 Methods for Improving Security Chapter 3 9.2.1 Methods for Confidentiality and Integrity Chapter 4 Chapter 5 9.2.2 Methods for System Security Chapter 6 Chapter 7 9.3 Internet Security Frameworks Chapter 8 9.3.1 Authentication Frameworks Chapter 9 Chapter 10 9.3.2 Network Layer Security: IPSec Internet History 9.3.3 Transport Layer Security: SSL and TLS IP Standardisation 9.3.4 Application Layer Security: PGP Networking Basics 9.4 Firewalls Refresher 9.5 Absolute Security?
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-20 1.1 Outline Chapter 9: Security
Preliminary remarks Overview 9.4 Firewalls Chapter 1 replace logo Chapter 2
Chapter 3 Chapter 9 Chapter 4 Secure a whole enterprise network Introduction Chapter 5 Improving Security Common point of trust Chapter 6 reduces effort in securing many computers Frameworks Chapter 7 reduces risk of a misconfigured computer compromising others’ Firewalls Chapter 8 security Chapter 9 Absolute Security? only one system to verify and observe Chapter 10 only few services need to go across Internet History IP Standardisation Global viceess Internet sseelleecctteed sseerrvic Networking Basics througgh Refresher (insecure) ccaan ppaassss thr
l FFiirreewwalll Intranet (protected)
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 9 Edition Summer 2002 9-23
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-21
1.1 Outline Chapter 10: IP Version 6
Preliminary remarks 10.1 Introduction Overview Chapter 1 Chapter 2 10.2 Addressing Chapter 3 Chapter 4 10.3 IP Packet Header Chapter 5 Chapter 6 10.4 Automatic Configuration Chapter 7 Chapter 8 10.5 Security Support Chapter 9 Chapter 10 10.6 Changes to Other Protocols Internet History IP Standardisation 10.7 Migration Strategies Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-22 1.1 Outline Chapter 10: IP Version 6
Preliminary remarks Overview IPv6 Packet Header Chapter 1 replace logo Chapter 2
Chapter 3 Chapter 10 Chapter 4 Concept optional Introduction Chapter 5 Base Extension Extension Addressing . . . Chapter 6 Header Header #1 Header #n User data ... Chapter 7 IP Packet Header Chapter 8 Autoconfiguration Chapter 9 Security Support Base Header Format Chapter 10 Changes to others Version Traffic Class Flow Label Internet History Migration Strategies Payload Length Next Header Hop Limit IP Standardisation Networking Basics Source Address Refresher
Destination Address
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 10 Edition Summer 2002 10-11
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-23
Chapter 1: Introduction
Preliminary remarks 1.1 Overview of the lecture Overview Internet History IP Standardisation 1.2 Internet History Networking Basics Refresher evolution and growth of the Internet
1.3 IP Standardisation
1.4 Networking Basics Refresher 1.4.1 Reference Model 1.4.2 Circuit Switching and Packet Switching 1.4.3 Local Area Networks 1.4.4 Network Elements
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-24 Arpanet
Preliminary remarks 1960s: studies of packet switching Overview Internet History early 1969: Arpanet contract to BBN IP Standardisation Dec. 1969: four node network between UCLA, UCSB and Networking Basics Refresher Utah 4 IMPs (Interface Message Processor) funded by US ARPA (defense) advance research projects agency (for academia and US military) early inclusion of wireless (ALOHA) and satellite links 1973: first international connections 1979: around 100 nodes
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-25
Evolution
Preliminary remarks 1980-1983: Introduction of TCP and IP Overview TCP/IP popular on Unix machines Internet History communication protocols and utilities for remote work IP Standardisation 1984: Domain Name System Networking Basics Refresher 1986: NSFNET (US national science foundation) 1989: 100000 nodes 1989: first Web proposal (Tim Berners-Lee, Robert Cailliau) 1991: gopher 1992: MBONE (multicast for audio and video) 1993: NCSA Mosaic (first widely used Web browser) 1994: Internet known in public (press, adverts, ISPs) 1995: end of the NSFnet backbone Next Generation research networks Internet2, Canarie (1993), ... Everything over IP, IP over everything
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-26 Network Evolution Maps
Preliminary remarks Early ARPANET maps (1969-1972) Overview from L. Kleinrock, Queueing Systems Vol. 2, 1976 Internet History IP Standardisation Networking Basics Refresher Internet Connectivity Maps from ftp://ftp.cs.wisc.edu/connectivity_table/ mid-of-year versions: v2 9/1991 v6 8/1992 v9 8/1993 v11 7/1994 v14 6/1995 v15 6/1996 v16 6/1997
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-27
Arpanet Network Evolution
Preliminary remarks Overview Internet History IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-28 Example of an ISP backbone today
Preliminary remarks Overview Internet History IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-29
Components of Growth
Preliminary remarks Number of users Overview users reached by technology Internet History (connectable, owners of access devices) take rate / acceptance IP Standardisation Networking Basics Traffic demand per application Refresher Web item sizes (images, Java applets with menus, audio/video clips) New applications audio/video streaming, 3D chat, software update services (e.g. Windows® 98, ME, XP) e-business Access line bit rate Core network bit rate Number of servers Penetration into leisure / entertainment sector time budget of 2–6 hours per day
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-30 Worldwide Internet Connectivity – 9/1991
Preliminary remarks Overview Internet History IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-31
Worldwide Internet Connectivity – 8/1992
Preliminary remarks Overview Internet History IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-32 Worldwide Internet Connectivity – 8/1993
Preliminary remarks Overview Internet History IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-33
Worldwide Internet Connectivity – 7/1994
Preliminary remarks Overview Internet History IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-34 Worldwide Internet Connectivity – 6/1995
Preliminary remarks Overview Internet History IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-35
Worldwide Internet Connectivity – 6/1996
Preliminary remarks Overview Internet History IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-36 Worldwide Internet Connectivity – 6/1997
Preliminary remarks Overview Internet History IP Standardisation Networking Basics Refresher
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-37
Growth – Measures and Data Sources
Preliminary remarks Different measures Overview subnetworks Internet History domains IP Standardisation host names Networking Basics Refresher pingable hosts (always on + ping configured) IP-capable behind firewall reachable by e-mail
Data sources: www.nw.com www.isc.org www.netsizer.com (no longer available?) www.ripe.net
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-38 Growth – Host Counts
Preliminary remarks 1G Overview Internet History 100M IP Standardisation Networking Basics Refresher 10M
1M
100k
Number of10k Hosts
Host Table 1k Old Domain Survey New Domain Survey RIPE 100 1980 1985 1990 1995 2000 2005
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-39
Growth – Ranking
Preliminary remarks Overview No. Most Hosts Most Largest Fastest Internet History per Capita Hosts Domains Growing IP Standardisation 1 USA USA com Colombia Networking Basics Refresher 2 Finland Japan net Ukraine 3 Iceland Canada edu Czechia 4 Canada UK jp Singapore 5 Sweden Germany ca Sweden 6 Norway Italy uk Belgium 7 New Zealand Australia it South Africa 8 Netherlands Netherlands de Argentina 9 Hong Kong Taiwan us Spain 10 Australia France mil Uruguay
Source:Telcordia Netsizer (http://www.netsizer.com/) on April 21, 2001
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-40 Number of Internet Users
Preliminary remarks (million users) 11/2000 2/2002 change 9/2002 change Overview Internet History World total 407.1 544.2 + 34% 605.6 + 11% IP Standardisation Africa 3.1 4.1 + 34% 6.3 + 54% Networking Basics Refresher Asia/Pacific 104.9 157.5 + 50% 187.2 + 19% Europe 113.1 171.3 + 51% 190.9 + 11% Middle East 2.4 4.6 + 94% 5.1 + 11% USA+Canada 167.1 181.2 + 8% 182.7 + 1% Latin America 16.5 25.3 + 53% 33.4 + 32%
Source: NUA “educated guess” April 2003 (http://www.nua.ie/) © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-41
Distribution of Internet Users
Firewalled Dial-up users users Residential Dial-Up via access users Always on PPP, SLIP Firewalls Always-on xDSL, Cable modem Core Internet full IP reachability Online Services E-Mail Gateways Web Online Srv. users E-Mail only users Gateways (X.400, FIDO) (WAP, iMode) Mobile Internet users
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-42 THE Internet versus Internets or Intranets
Preliminary remarks Overview There are other networks based on IP protocols, not Internet History necessarily with a direct connection to the Internet: IP Standardisation Networking Basics Refresher Intranets, Extranets
experimental networks
Voice carrier networks
Mobile network backbones
Î See Chapter 5
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-43
Chapter 1: Introduction
Preliminary remarks 1.1 Overview of the lecture Overview Internet History IP Standardisation 1.2 Internet History Networking Basics Refresher evolution and growth of the Internet
1.3 IP Standardisation
1.4 Networking Basics Refresher 1.4.1 Reference Model 1.4.2 Circuit Switching and Packet Switching 1.4.3 Local Area Networks 1.4.4 Network Elements
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-44 1.3 Internet Standardisation Structure
IANA IAB ISOC ICANN
IRTF IETF ISTF IESG Areas . . .
IAB Internet Architecture Board IANA Internet Assigned Numbers Authority ICANN Internet Corporation for Working Groups Assigned Names and Numbers IESG Internet Engineering Steering Group IETF Internet Engineering Task Force IRTF Internet Research Task Force ISOC Internet Society ISTF Internet Societal Task Force
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-45
IETF Working Groups
Preliminary remarks Overview Basic Principles Internet History Small focused efforts preferred to larger comprehensive ones IP Standardisation Preference for a limited number of options Networking Basics Refresher Charter Group created with a narrow focus Published goals and milestones Mailing list and chairs' addresses "Rough consensus (and running code!)" No formal voting Disputes resolved by discussion and demonstration Mailing list and face-to-face meetings Decisions made via e-mail (no "final" decisions made at meetings)
Source: http://www.ietf.org/structure.html © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-46 IETF Areas and Working Groups (4/2004: 135 in total)
Preliminary remarks Applications Area (22) Overview e.g. EDI, FTP, Fax, LDAP, Web Internet History General Area (5) IP Standardisation Networking Basics Internet Area (21) Refresher e.g. DNS, DHCP, IPnG, IP over x, mobility Operations and Management Area (24) e.g. AAA, SNMP, several MIBs, policy, mbone Routing Area (14) Security Area (21) Sub-IP Area (1) (IP over optical, MPLS, VPN,) Traffic Engineering Transport Area (27) DiffServ, Telephony, SIP, Media Gateways, NAT, NFSv4, sigtran
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-47
IRTF Research Groups
Active IRTF Research Groups Preliminary remarks Anti-Spam* Overview Authentication Authorisation Accounting Architecture Internet History Crypto Forum* IP Standardisation Delay-Tolerant Networking* Networking Basics End-to-End Refresher Group Security* Internet Measurement* IP Mobility Optimizations* Network Management Peer-to-Peer* Routing Services Management "Historical" IRTF Research Groups Building Differentiated Services NameSpace Information Infrastructure Arch. Privacy and Security Digital Rights Management Reliable Multicast Internet Resource Discovery Secure Multicast Interplanetary Internet Searchable Resource Names * new © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-48 IETF Internet Documents
Preliminary remarks Overview Internet Drafts Internet History Working documents (works in progress) IP Standardisation No status of any kind, not archived, deleted after 6 months Networking Basics Announced and disseminated by IETF Secretariat Refresher RFCs (Requests for Comment), since 1969 Archival document series of the IAB Not all RFCs are standards-track Edited, announced, and disseminated by RFC Editor RFC Categories Standards Track Proposed Standard Draft Standard Standard Informational Experimental Historic Source: http://www.ietf.org/structure.html © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-49
IETF Standard Levels
Preliminary remarks Overview Proposed Standard Internet History Complete, credible specification IP Standardisation Demonstrated utility Networking Basics At least 6 months, no longer than 2 years, then either elevated, Refresher depreciated, or recycled Draft Standard Multiple, independent, interoperable implementations Limited operational experience - works well At least 4 months, no longer than 2 years, then either elevated, depreciated, recycled, or back to Proposed Standard Demonstrated operational stability "The real thing" Can stay forever, or can be depreciated to Historic (new versions must start over from the beginning)
Source: http://www.ietf.org/structure.html © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-50 IETF Standards
Open Standards Preliminary remarks vendor independent Overview see also RFC2026 Internet History IPR not welcome IP Standardisation Networking Basics free distribution Refresher via Internet, see http://www.ietf.org/rfc.html no charges (compare this to ITU, ISO, ANSI, IEEE, ...) multi-platform format → pure ASCII text! emphasis on readability and clarity benefit from implementation (“running code”) availability at time of writing Well-defined requirement levels (RFC2119) MUST / REQUIRED (absolute requirement) MUST NOT / SHALL NOT (prohibited) SHOULD / RECOMMENDED (required in full implementation) SHOULD NOT / NOT RECOMMENDED (use only if absolutely needed) MAY / OPTIONAL (use if you like) © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-51
IETF Useful URLs
Preliminary remarks Overview IETF Home Page http://www.ietf.org/ Internet History IP Standardisation RFCs http://www.ietf.org/rfc.html Networking Basics The Tao of the IETF http://www.ietf.org/tao.html Refresher Novices‘ Guide http://www.imc.org/novice-ietf.html IESG Status Page http://www.ietf.org/IESG/status.html Working Group http://www.ietf.org/html.charters/wg-dir.html IETF Monthly Status Reports http://www.ietf.org/IMR/ Additional Information http://www.ietf.org/intro.html April Fools RFCs http://www.2meta.com/april-fools/collections/rfc/
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-52 Chapter 1: Introduction
Preliminary remarks 1.1 Overview of the lecture Overview Internet History IP Standardisation 1.2 Internet History Networking Basics Refresher evolution and growth of the Internet Reference Model CS and PS LANs 1.3 IP Standardisation Netw. Elements
1.4 Networking Basics Refresher 1.4.1 Reference Model 1.4.2 Circuit Switching and Packet Switching 1.4.3 Local Area Networks 1.4.4 Network Elements
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-53
1.4 Networking Basics Refresher
1.4.1 Reference Model
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-54 Reference Model Example
E-Mail Mail Server Client Internet (sendmail) OSI (netscape)
Application Session SMTP SMTP Representation Layer Application
Transport Transport Layer TCP TCP Layer
Internet- IP IP Network IP IP work Layer Routing Routing Layer
Subnetwork Link Layer Layer PPP PPP ATM ATM Eth. Ethernet + PHY
End Network Network End System Node Node System
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-55
Reference Model
Used to clarify functions in network nodes and protocols Preliminary remarks Overview often gives “natural” protocol interfaces Internet History vertical interface: adjacent layer protocol IP Standardisation horizontal interface: peer-to-peer protocol Networking Basics classification of classical functions / network ranges Refresher Physical Layer: bit and byte transmission technology, physical Reference Model CS and PS connection LANs Logical Link Layer, Subnetwork Layer: Netw. Elements ~packet transmission on one physical network Network Layer, Internetwork Layer: Communication over multiple networks Transport Layer: end-to-end communication Higher layers / Application Layer: application specific protocols and services, e.g. HTTP for Web browser/server communication Layers are relative to one networking paradigm e.g. ISDN (L3) can be used as L1/2 for Internet access IP (L3) can be tunneled over IP (L3)
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-56 Networking Basics Refresher
1.4.2 Circuit Switching and Packet Switching
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-57
Circuit Switching Example Telephone Connections
Preliminary remarks Overview (explained during lecture) Internet History IP Standardisation Networking Basics Refresher Reference Model CS and PS LANs Netw. Elements
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-58 Circuit Switching (CS)
Preliminary remarks Overview A circuit can be ... Internet History a physical line IP Standardisation a time slot in a frame in a TDM system Networking Basics a carrier frequency in an FDM system Refresher a wavelength in a WDM system Reference Model CS and PS a code in a CDMA system LANs Netw. Elements A connection - during its existence - uses one circuit ... or a selection of circuits in parallel (multichannel switching) connection set-up find path through network and through switches towards destination establish path communiation send fixed data rate into the connection release connection after use
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-59
Packet Switching (PS)
Preliminary remarks Overview Send packets of data Internet History instead of a fixed bit or byte rate IP Standardisation idle time between packets can be used by other Networking Basics communication relations Refresher variable data rate is possible Reference Model CS and PS connectionless (CL) or connection oriented (CO) modes LANs Netw. Elements Examples: Circuit Packet Switching Switching Connection Telephone, X.25, ATM oriented ISDN Connection Internet less
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-60 Connection Oriented Packet Switching
Preliminary remarks Overview Connection establishment before data transmission Internet History routing performed only for connection establishment IP Standardisation data transmitted along established pat Networking Basics data packets only carry connection identifier Refresher for packet switching: "virtual connection" Reference Model CS and PS LANs Netw. Elements connection state (next hop address) stored in network elements along the path
destination address given during connection set-up
"meta signalling" or default signalling connections needed
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-61
Connectionless Packet Switching
Preliminary remarks Overview Data packets transmitted without connection on Network Internet History Layer IP Standardisation Networking Basics routing performed along with forwarding for each packet Refresher but: route cache Reference Model CS and PS destination address carried in each packet LANs Netw. Elements no network layer signalling needed no information stored in network nodes along the path network nodes are less complex cheap high speed packet forwarding "KISS": keep it simple and stupid
higher layer connections can survive network path outages
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-62 1.4.3 Local Area Networks
Wide Area Network
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-63
1.4.3 Local Area Networks
Preliminary remarks What is a LAN? Overview Multiple systems attached to a shared medium Internet History “high” total bandwidth, shared by the stations IP Standardisation “low” delay Networking Basics Refresher “low” error rate Reference Model broadcast/multicast capability CS and PS single message (frame) transmitted once LANs Netw. Elements and received by multiple recipients limited geography (max. some km) limited number of stations (max. few hundred) all stations are equivalent (no master/slave) privately operated, not governed by telecommunications regulations (i.e. “data communication” in contrast to “telecommunication”)
[Perlman 1999 p. 19f.] © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-64 LAN IEEE 802 Standards
Preliminary remarks IEEE 802 committee standardises LANs: Overview General Issues, Addressing, Management 802.1 Internet History IP Standardisation MAC (Media Access Control) Layer Networking Basics Refresher 802.3 CSMA/CD (similar to Ethernet) Reference Model 802.4 Token Bus CS and PS 802.5 Token Ring LANs Netw. Elements 802.6 DQDB
LLC (Logical Link Control) 802.2 Type 1: datagram (no functionality) Type 2: reliable, connection oriented HDLC (high-level data link control) on top of LAN frames
CSMA/CD Carrier Sense Multiple Access / Collision Detection DQDB Distributed Queue Dual Bus © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-65
Addresses
Preliminary remarks In communication from a source to a destination: Overview Name Internet History identifies a resource (“identifier”) IP Standardisation independent of location of both source and destination Networking Basics Refresher Address Reference Model tells where something is CS and PS may depend on the location of the destination LANs Netw. Elements Route tells how to get from a source to a destination depends on locations of source and destination (“go left, then take the third turn right”)
[Perlman 1999] © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-66 IEEE LAN Addresses
Preliminary remarks Overview 16 bit addresses (option in the IEEE standards) Internet History enough for any LAN if configured during network start-up IP Standardisation not used Networking Basics Refresher 48 bit addresses for Ethernet / 802.3 LAN interfaces Reference Model initialised by hardware manufacturers in a globally unique way CS and PS first 3 octets: vendor code (organizationally unique identifier, LANs Netw. Elements OUI) last 3 octets: unique hardware ID e.g. “00-60-8c-f9-cf-30” Vendor: 3com Interface ID
see http://standards.ieee.org/regauth/oui/oui.txt Bit and byte orders depend on LAN standard
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-67
Frame Formats
Preliminary remarks Overview Ethernet Frame (not to scale) Internet History Destination Source Proto- IP Standardisation Preamble Frame Data FCS Address Address col Networking Basics Refresher Octets: 8 6 6 2 46–1500 4 Reference Model CS and PS IEEE 802.3 Frame (not to scale) LANs Netw. Elements Destination Source Preamble Frame Data FCS CTL SSAP Address Address DSAP Length Octets: 8 6 6 2111 43–1497 4
Protocol > 1500 distinguishes Ethernet from 802.3 DSAP=SSAP=170 (dec) -> SNAP
CTL Control Field DSAP Destination Service Access Point FCS Frame Check Sequence SNAP Subnetwork Access Protocol SSAP Source Service Access Point © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-68 LAN Addresses
Preliminary remarks Overview LAN Addresses must be unique on a LAN Internet History ensured e.g. by globally unique 48 bit IEEE addresses IP Standardisation Networking Basics hosts interface listens to all frames Refresher interface card generates interrupt only for frames with Reference Model CS and PS destination address = local address LANs or Netw. Elements destination address = broadcast address or destinatio address = supported multicast address Sending point-to-point higher layer information in broadcast packets generates excessive interrupt load on all machines!
Q: How do you find out the LAN address of a destination host?
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-69
CSMA/CD
Preliminary remarks Overview Carrier Sense Internet History listen before transmission IP Standardisation Networking Basics Multiple Access Refresher medium is shared between multiple stations Reference Model CS and PS Collision Detect LANs monitor while transmitting Netw. Elements detect multiple simultaneous transmissions back off (random time, increased after collisions) Minimum Frame length determined by collision detection! shorter data must be padded
CSMA Carrier Sense Multiple Access CD Collision Detection
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-70 CSMA/CD if frames are too short
Preliminary remarks Overview Internet History S1 starts sending S1 S2 IP Standardisation a very short frame Networking Basics Refresher Reference Model S1 S2 CS and PS LANs Netw. Elements S1 S2 S2 starts sending
S1 S2 S2 detects collision
Collision invisible S1 S2 outside red area
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-71
Minimum Frame Length for Ethernet
Maximum Wire Length 2500m Transmission Speed 10 Mbit/s Speed of Electricity on Wire at least 100000 m/s
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-72 Wide Area Links
Preliminary remarks Point to point PHY layer connections Overview from circuit switched PCM telephone network Internet History IP Standardisation Name Bit Rate Voice Circuits Networking Basics Refresher B channel 64 kbit/s 1 Reference Model T1 1.544 Mbit/s 24 CS and PS
US T2 6.312 Mbit/s 96 LANs Netw. Elements T3 44.736 Mbit/s 672 E1 2.048 Mbit/s 30 E2 8.448 Mbit/s 120
Europe E3 34.368 Mbit/s 480 OC-1 51.840 Mbit/s 810 OC-3 155.520 Mbit/s 2430 OC-12 622.080 Mbit/s 9720 OC-24 1244.160 Mbit/s 19440 US Optical OC-48 2488.320 Mbit/s 38880
Plus more details (e.g. concatenation) © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-73
1.4.4 Network Elements
Preliminary remarks Repeater Overview Hub Internet History IP Standardisation Networking Basics Bridge Refresher Reference Model Switch CS and PS LANs Netw. Elements Router
Proxy
Gateway
Î These names are not always used consistently!
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-74 Traditional Ethernet Cabling
Preliminary remarks Thick Ethernet (Yellow Cable, 10Base5) Overview 2.5m min. Length 500m max. Internet History TM TM TC TC TC TC IP Standardisation Networking Basics AUI Cable pmeenntt xpeennssiivvee eeqquuiipm Refresher < 48m S eexp S3 4 ployy Reference Model hhaarrdd ttoo ddeeplo S1 CS and PS S2 LANs Netw. Elements Thin Ethernet (Cheapernet, 10Base2) BNC 0.5m “T” plug max. length min. 185m TM TM TC S S 3 4 t: p equuipipmmeenntt bbuut: AUI Cable cchheeaap eq ! S2 ts oofffafaiilluurree! any ssiinngglele ppooiinnts S1 mmany
AUI Attachment Unit Interface MAU Media Attachment Unit BNC Bayonet Neill-Concelman SStation British National Connector TC Transceiver Bayonet Nut Couplers TM Termination (50Ω) © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-75
Repeater
Preliminary remarks Overview Length 500m max. Internet History TM TM IP Standardisation TC TC TC TC TC Networking Basics lowss Refresher RReeppeeaatteerr aalllow Reference Model S tensiioonn ooff S3 4 eexxtens CS and PS mennttss S nneettwwoorrkk sseeggme LANs 1 S2 Netw. Elements REP rt MMuultltiippoort S7 S8 S9 S10 eateerr RReeppeat REP TC TC TM TM TC TC
AUI Attachment Unit Interface REP Repeater S S6 5 SStation TC Transceiver TM Termination (50Ω) © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-76 Repeater
Preliminary remarks Overview Physical Layer interconnection element Internet History IP Standardisation Networking Basics overcomes signal quality based Ethernet length limitations Refresher at most two repeaters between any two machines Reference Model CS and PS operates on analog electrical signals LANs Netw. Elements
no configuration necessary
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-77
Hub
is just a multiport repeater A Wheel Preliminary remarks Overview extensions SpokesSpokes Internet History learning hub / switching hub IP Standardisation - forwards packets Networking Basics only to the right destination ports Refresher - pretends collision on other ports Reference Model -> security feature CS and PS HubHub managed hub LANs Netw. Elements
Twisted Pair Ethernet (10BaseT) r Caabbllee oorr S S CCrroossssoovveer C 4 6 t neeeddeedd S UUpplliinnkk ppoorrt ne 3 ubss “Uplink” toto ccoouuppllee HHub Hub Hub S7 S2 S TP Cable TC AUI Cable 8 S1 AUI Attachment Unit Interface S5 TC Transceiver TP Twisted Pair © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-78 Bridge
Preliminary remarks Overview Standardized in IEEE 802.1 Internet History IP Standardisation like a hub, but talks the Media Access Control protocol Networking Basics can convert between different MACs Refresher Reference Model CS and PS Functions LANs Netw. Elements Store & Forward LAN packets (“frames”) keep collisions local to one network -> limit collision domains -> overcomes MAC related Ethernet length limitations retry packet transmission after collision Learn station addresses Spanning Tree algorithm
IEEE Institute of Electrical and Electronics Engineers LAN Local Area Network MAC Media Access Control © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-79
Bridge Learning
Preliminary remarks Overview Listen promiscuously on every port, receive every packet Internet History IP Standardisation Networking Basics for each packet received, store the source address and Refresher corresponding input interface in a Station Cache Reference Model CS and PS LANs Netw. Elements for each packet received: look for the destination address in the Station Cache if found: forward packet only to corresponding interface (if the packet is coming from this interface, drop it) if not found, forward packet to all interfaces except the one it was coming from ageing of Station Cache: remove entries after some idle time to allow network reconfiguration
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-80 Bridge Learning (2)
1. Station cache is empty AddrAddr Port Port
Addr Port 2. Packet from A to C Src=A, Dst=C; data... 8. Store D Addr Port A1 received at port 1 in station cache A1 C2C2 3. Store A in station cache AddrAddr Port Port 9. Do not forward D2D2 A1A1 the packet 4. Forward packet to port 2
5. Packet from C to A Src=C, Dst=A; data... Port 1 Port 2 received at port 2 Bridge
6. Store C in station cache AddrAddr Port Port A1A1 A B C D C2C2 city Trraafffificc CCaappaacity T ed can bbee iinnccrreeaassed 7. Packet from D to C Src=D, Dst=C; data... can received at port 2 Addr Address Dst Destination Address Src Source Address © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-81
Bridge Spanning Tree
Preliminary remarks Overview The described learning scheme also works for Internet History more than two ports IP Standardisation multiple hops Networking Basics Refresher The simple scheme does not work for multiple paths! Reference Model only for pure tree based topologies CS and PS LANs Netw. Elements 1. Station caches are empty 2. A transmits a packet A 3. Bridge 1 forwards it to LAN 2 LAN 1 and stores “A is on LAN 1” 4. Bridge 2 forwards it to LAN 1 Bridge 1 Bridge 2 and stores “A is on LAN 2”
LAN 2 5. Packet circulates infinitely
LAN Local Area Network © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-82 Bridge Spanning Tree (2)
Preliminary remarks Bridges use a “spanning tree” algorithm to convert any Overview topology into a loop-free subset Internet History IP Standardisation protocol uses configuration messages (“configuration bridge Networking Basics protocol data units”) Refresher Reference Model CS and PS steps at each bridge during configuration BPDU exchange: LANs Netw. Elements 1. Elect one single bridge to be the Root Bridge (lowest ID) 2. Calculate distance of shortest path from this bridge to the root bridge 3. For each LAN, elect a Designated Bridge (closest to the root bridge) 4. Choose a port (“root port”) that gives the best path from this bridge to the Root Bridge 5. Root port plus the ports on which this bridge has been elected Designated Bridge will be included in the spanning tree
BPDU Bridge Protocol Data Unit ID Identifier © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-83
Bridge Spanning Tree (3)
Preliminary remarks Overview Internet History B LoopsLoops IP Standardisation B Networking Basics Refresher Reference Model B CS and PS LANs DeactivatedDeactivated Netw. Elements LinksLinks B B B
B
B Bridge LAN © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-84 Remote Bridge
Preliminary remarks Overview Two or more bridges interconnected Internet History by point-to-point links IP Standardisation by WAN interconnections Networking Basics Refresher Reference Model CS and PS LANs Point-to-point link Netw. Elements B B
B Bridge LAN © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-85
Bridge Issues
Preliminary remarks Auto-configuration Overview higher total throughput if network is well layed out Internet History generally transparent IP Standardisation but Networking Basics Refresher packets lost after being successfully transmitted by sender Reference Model delay increases CS and PS residual error rate can increase LANs Netw. Elements (CRC may be recalculated at bridges) packet misordering possible (but unlikely) packet duplication possible (but unlikely) problems with different frame sizes conversion from IEEE 802.3 to Ethernet can occur Problems multiply-attached stations with the same link address on all interfaces “pure traffic sink” stations: location will never be known → broadcast © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-86 What is a Switch?
Preliminary remarks Overview A) Term for a Bridge with many ports Internet History e.g. Ethernet Switch IP Standardisation Networking Basics Refresher B) Term for a telecommunications device Reference Model e.g. Voice Switch, ATM Switch CS and PS LANs Netw. Elements C) Term for a combination of bridging and routing functions from Multiport Ethernet bridge with IGMP snooping to configurable setting of routed / bridged ports
D) Term for any fast and modern network interconnection device e.g. “Layer 4+ Switch”
ATM Asynchronous Transfer Mode ... IGMP Internet Group Management Protocol © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-87
Router
Preliminary remarks Overview Interconnection device working on the Network Layer Internet History based on worldwide IP instead of LAN addresses IP Standardisation Networking Basics Refresher configuration of routes to destination networks Reference Model CS and PS manual configuration LANs self-configuration Netw. Elements
routing protocols to discover network topology and optimise routes huge routing tables with >10000 entries in backbone routers potentially instable routes see Chapter 2
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-88 Proxy
Preliminary remarks Overview A Transport or Application Layer interconnection device Internet History IP Standardisation Proxy Networking Basics Proxy Refresher B‘ A‘ Reference Model CS and PS LANs A Network Netw. Elements A B Network B
In a communication between A and B, the proxy acts as B to A and as A to B e.g. Proxy Server if A is a client and B is a server
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-89
Gateway
Preliminary remarks Overview A Transport or Application Layer interconnection device Internet History IP Standardisation Networking Basics works like a proxy but usually translates between different Refresher protocols, e.g. Reference Model CS and PS SMTP ↔ X.400 Mail Gateway LANs SMTP ↔ FTP Order FTP files via e-mail Netw. Elements Telnet ↔ X.29 PAD access X.29 hosts via telnet FTP ↔ FTAM FTAM servers‘ last chance to survive
Also (in some RFCs): another name for “Router”
FTAM File Transfer, Access and Management FTP File Transfer Protocol RFC Request for Comment SMTP Simple Mail Transfer Protocol © Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-90 Network Interconnection Elements Summary
Preliminary remarks Overview Internet History IP Standardisation Application Proxy Gateway Networking Basics Layer Refresher Transport Reference Model Proxy Gateway CS and PS Layer LANs Netw. Elements Internet- work Layer Router “Gateway”
Subnetwork Layer Bridge Switch
PHYsical Layer Repeater Hub
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-91
Questions
Preliminary remarks Overview 1.1 Who is the manufacturer of the LAN card Internet History with address 00-02-b9-2a-13-43? IP Standardisation Networking Basics 1.2 How do you find out the LAN address of your Refresher communication partner? 1.3 Look for the TCP standard on the Web. Questions 1.4 Look for the IEEE 802.3 standard on the Web.
1.5 What does the ping tool do? 1.6 How does it work? 1.7 What are the well-known port numbers for http, https, telnet, ftp?
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 1 Edition Summer 2004 1-92 replace logo INFOTECH Lecture
Information and Communication Networks
IP Based Networks and Applications Chapter 2: Network Layer (et al.)
Dr.-Ing. Joachim Charzinski [email protected]
© Joachim Charzinski This slide set is distributed to support students of the University of Stuttgart who attend the IPNA lecture http://www.jcho.de/IPNA/ during summer term 2004. All other use requires written permission by Joachim Charzinski.
Outline replace logo
1. Introduction 2. Network Layer (et al.) 3. Transport Layer 4. Applications and Application Layer Protocols 5. Network Architectures 6. Statistics and Performance 7. Quality of Service 8. Network Management 9. Security 10. Ipv6
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 2 Edition Summer 2004 2-2 Chapter 2: Network Layer (et al.) replace logo
Reference Model 2.1 Internet Reference Model IP ICMP 2.2 IP ARP 2.2.1 IP Packets Routing 2.2.2 Addressing UDP 2.2.3 Fragmentation 2.3 ICMP 2.4 ARP 2.5 Routing 2.5.1 Principle 2.5.2 Algorithms 2.5.3 Protocols 2.6 UDP
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 2 Edition Summer 2004 2-3
Internet Reference Model – Example replace logo
Web Client Web Server Internet (e.g. (e.g. OSI netscape) Apache)
Application Session, HTTP HTTP Representation, Layer Application
Transport Transport Layer TCP TCP Layer
Internet- IP IP Network IP IP work Layer Routing Routing Layer
Subnetwork Link Layer Layer PPP PPP Eth. Eth. Eth. Ethernet + PHY
End Network Network End System Node Node System
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 2 Edition Summer 2004 2-4 Network Elements Summary (from Sec. 1.4) replace logo
Reference Model IP ICMP ARP Application Proxy Gateway Routing Layer UDP Transport Layer Proxy Gateway
Internet- work Layer Router “Gateway”
Subnetwork Layer Bridge Switch
PHYsical Layer Repeater Hub
© Joachim Charzinski http://www.jcho.de/IPNA/ Information and Communication Networks IPNA Chapter 2 Edition Summer 2004 2-5
Internet Architecture replace logo
Reference Model physical networks interconnected by a router IP ICMP ARP Network 1 Network 2 Routing Router UDP