IAP 01 Introduction To Internet Architecture
IAP 01 Introduction To Internet Architecture
• Introduction
• Course Objectives, Outline and Grading Policies
• What is the Internet?
• Nuts and Bolts View
• Service Oriented View
• Network Edge
• Network Core
• Circuit Switched Networks
• Packet Switched Networks
• Datagram
• Virtual Circuits
• Network Access and Physical Media
1
Course Objectives
To understand the design philosophy of the Internet and its basic
architectural components.
To provide in-depth knowledge of major Internet technologies.
To understand the components of Internet service provider and its role
in Internet architecture.
To strengthen the concepts of TCP/IP Protocol Suite.
To provide comprehensive knowledge and implementation of routing
protocols.
To realize the need of Quality of Service based communication and to
understand various QoS techniques.
To introduce the basic concepts of real time communications.
2
What is the Internet?
3
Describing the Internet
4
Nuts and Bolts View of the Internet
5
Nuts and Bolts View of the Internet…
• Communication links
• End systems are connected together by communication links.
• Communication links are made up of different types of media, including
twisted pair, coaxial cable, fiber optics, and radio spectrum.
• Bandwidth
• Different links can transmit data at different rates.
• The link transmission rate is often called the bandwidth (i.e, the width of the
band) of the link which is measured in bits per second (bps).
6
Nuts and Bolts View of the Internet…
• Routers
• End systems are not directly connected to each other via a single
communication link.
• They are indirectly connected to each through intermediate switching
devices known as routers.
• A router receives chunk of information from one of its incoming
communication link and forwards it to one of its outgoing communication
link.
7
Nuts and Bolts View of the Internet…
• Packets
• The chunk of information is called packet.
• Route or Path
• The path that the packet takes from the sending end system, through a series
of communication links and routers, to the receiving end system is known as
a route or path.
• Packet switching
• The Internet uses a technique known as packet switching that allows multiple
communicating end systems to share a path, or parts of path at the same
time.
8
Nuts and Bolts View of the Internet…
9
Nuts and Bolts View of the Internet…
• Protocols
• End systems, routers, and other pieces of the Internet, run protocols that
control the sending and receiving of information within the Internet.
• TCP (Transmission Control Protocol) and IP (Internet protocol) are two of the
most important protocols in the Internet.
• The Internet’s principal protocols are collectively known as TCP/IP Protocol
Suite.
10
Nuts and Bolts View of the Internet…
• Intranets
• There are many private networks, such as many corporate and government
networks, whose hosts cannot exchange messages with hosts outside of the
private network (unless the messages pass through so-called firewalls, which
restrict the flow of messages to and from the network).
• These private networks are often referred to as intranets, as they use the
same types of hosts, routers, links, and protocols as the public Internet.
11
Nuts and Bolts View of the Internet…
• Internet Standards
• At the technical and development level, the Internet is made possible
through creation, testing, and implementation of Internet Standards.
• These standards are developed by Internet Engineering Task Force (IETF).
• RFCs
• The IETF standards documents are called RFCs (Request for comments).
• RFCs started out as general request for comments (hence the name) to
resolve architecture problems of the Internet.
• They define protocols such as TCP, IP, HTTP, SMTP.
12
Some Pieces of the Internet
router workstation
server
mobile
local ISP
regional ISP
company
network
13
Service Oriented View of the Internet
• Distributed Applications
• Communication Services
• Connection oriented reliable service
• Connectionless unreliable service
• Distributed Applications
• The Internet allows distributed applications running on its end systems to
exchange data with each other.
• These applications include remote login, electronic mail, web surfing, instant
messaging, audio and video streaming, Internet telephony, distributed
games, peer-to-peer (P2P) file sharing, and much more.
14
Service Oriented View of the Internet…
15
What is a Protocol?
• A Human Analogy
• “Assalam u Alaikum”
• “What’s the time?”
• In human protocols specific messages are sent, and specific actions are taken in
response to messages received, or other events.
• Network protocols
• All activity in the Internet that involves two or more communicating remote
entities is governed by a protocol.
16
What is a protocol?
Hi TCP connection
req
Hi
TCP connection
Got the response
time? Get http://www.awl.com/kurose-ross
2:00
<file>
time
17
What is a Protocol?…
18
Net Surfing
19
A closer look at network structure
• Network Edge:
• applications and hosts
• Network Core:
• routers
• network of networks
• Access networks, physical media:
• Residential, company and mobile access
• Twisted Pair, Coaxial, Fiber Optics, Radio Channels
• communication links
20
Network Edge
21
Network Edge
22
Network Edge
23
Network Edge –
Connection Oriented Services
• Connection Oriented Service
• Reliable Data Transfer
• Using acknowledgements and retransmissions
• Flow Control
• sender won’t overwhelm receiver
• Congestion Control
• senders “slow down sending rate” when network congested
• TCP
• Applications using TCP are:
• HTTP (Web), FTP (file transfer), Telnet (remote login), SMTP (email)
24
Network Edge –
Connectionless Services
• Connectionless Service
• Unreliable Data Transfer
• no flow control
• no congestion control
• Fast
• connectionless
• UDP
• Applications using UDP are:
• multimedia, videoconferencing, DNS, Internet telephony
25
TCP vs. UDP
26
The Network Core
• circuit switching
• dedicated circuit per call: telephone net
• packet-switching
• data sent through net in discrete
“chunks”
27
Network Core –
Concept of Switched Networks
• Long distance transmission is typically done over a network of
switched nodes
• Nodes not concerned with content of data
• End devices are stations
• Computer, terminal, phone, etc.
• A collection of nodes and connections is a communications network
• Data routed by being switched from node to node
• Node to node links usually multiplexed
28
Simple Switched Network
29
Network Core: Circuit Switching
End-to-end resources
reserved for “call”
• link bandwidth, switch capacity
• dedicated resources: no sharing
• circuit-like (guaranteed)
performance
• call setup required
30
Network Core – Circuit Switching
31
Circuit Switching
32
Network Core – Circuit Switching
33
Network Core - Circuit Switching
34
Circuit Switching: FDM and TDM
Example: 4 users
FDM
Frequency
time
TDM
Frequency
time
35
Synchronous TDM
36
Synchronous TDM with empty time slots
37
Statistical TDM or Asynchronous TDM
38
Network Core: Packet Switching
39
Packet Switching: Statistical Multiplexing
10 Mb/s
A Ethernet statistical multiplexing C
1.5 Mb/s
B
queue of packets
waiting for output
link
D E
Sequence of A & B packets does not have fixed pattern statistical
multiplexing.
40
Network Core: Packet Switching
41
Packet Switching - Datagram
• Datagram Approach:
• Each packet is treated independently
• No reference to packets that have gone before
• Each node chooses next node on path using destination address
• Packets with same destination address may not follow same route
• Packets may arrive out of sequence, may be lost
• It is up to receiver to re-order packets and recover from lost packets
• No Call setup
• For an exchange of a few packets, datagram quicker
• Analogy: driving, asking directions
42
Packet Switching - Datagram
43
Packet Switching - Datagram
44
IT-5302-3 Internet Architecture and Protocols, PUCIT,
University of the Punjab, Pakistan 45
Packet Switching – Virtual Circuits
46
Switching Technique –
Virtual Circuit
• Preplanned route established before packets sent
• All packets follow same route
• Similar to circuit in circuit-switching network
• Hence virtual circuit
• Each packet has virtual circuit identifier
• Nodes on route know where to direct packets
• No routing decisions
• Not dedicated path, as in circuit switching
• Packet still buffered at node and queued for output
• Routing decision made on before that virtual circuit
• Network may provide services related to virtual circuit
• Sequencing and error control
• Packets should transit more rapidly
• If node fails, all virtual circuits through node lost
47
IT-5302-3 Internet Architecture and Protocols, PUCIT,
University of the Punjab, Pakistan 48
Virtual Circuits vs. Datagram
49
Circuit Switching vs. Virtual Circuits
• Path • Route
• A dedicated path is established • No dedicated path is established.
between two devices for the Only a route is defined. Each
duration of session. switch creates an entry in its
• Reserved Resources routing table for the duration of
virtual circuit
• The link (multiplexed / not
multiplexed) that makes the path • Shared Links
are dedicated, and cannot be • The link that makes a route can
used by other connections be shard by other connections
• constant data rates.
50
Features of Circuit and Packet Switching
51
Network Taxonomy
Telecommunication
networks
Circuit-switched Packet-switched
networks networks
52
Network Access
• Network Access:
• The physical link that connects an end system to its Edge Router, which is
the first router on a path from the end system to any other distant end
system.
• Classification of Network Access:
• Residential Access
• Connecting a home end system to an edge router
• Dial-up modems, DSL, HFC system
• Company Access
• Switched Ethernet LANs
• Mobile Access
• Wireless LAN (802.11b)
• Wide Area Wireless Access Networks (GPRS, 3G, WAP)
• Note: these categories are not hard and fast
53
Physical Media
54
Internet Addressing Schemes
• IP Addressing Scheme
• Dotted decimal Notation, Use hierarchal Address Space
• IPv4 and IPv6
• MAC addresses
• 48 bits Unique addresses, Use flat Address Space
• IEEE assigned vendor ID (first 24 bits)
• Vendor serial numbers (last 24 bits)
• Why two addressing mechanisms are used?
• Significance of using a MAC address
• Communication over a LAN
• Identifying Destination Network
• Extracting destination network address from destination IP address.
55