Presentation About Computer Networking
Presentation About Computer Networking
Course Information
Lectures: Tuesday 9-12 Exercises: Wendsday 10-11 Web site: Books: An Engineering Approach to Computer Networking / Keshav
http://www.cs.tau.ac.il/~andelmni/courses/comnet05/
Practical Information
Homework assignment: Mandatory Both theoretical and programming Done in pairs
Motivation
Todays economy
manufacturing, distributing, and retailing goods but also creating and disseminating information
Information?
books bills CDs analog (atoms) digital (bits) convert information as atoms to information as bits use networks to move bits around instead of atoms
The Challenges
In large quantities,
To discuss this complexity in an organized way, that will make todays computer networks (and their limitations) more comprehensive.
identification, and understanding relationship of complex systems pieces. Problems that are beyond a specific technology
I.e. telephone point-to-point links directly connect together the users wishing to communicate use dedicated communication circuit if distance between users increases beyond the length of the cable, the connection is formed by a number of sections connected end-to-end in series.
Data Networks
set of interconnected nodes exchange information sharing of the transmission circuits= "switching". many links allow more than one path between every 2 nodes. network must select an appropriate path for each required connection.
telephone Samples @ Fixed sampling rate. not self descriptive! have to know where and when a sample came
Packet switching: move packets (chunks) of data among routers from source to destination independently.
Telephone networks support a single, end-toend quality of service but is expensive to boot Internet supports no quality of service but is flexible and cheap
A future network will have to support a range of service qualities at a reasonable cost
History
History
minimalism, autonomy - no internal changes required to interconnect networks best effort service model stateless routers decentralized control
History
new national networks: CSnet, BITnet, NSFnet, Minitel 100,000 hosts connected to confederation of networks
History
early 1990s: ARPAnet decomissioned 1991: NSF lifts restrictions on commercial use of NSFnet (decommissioned, 1995) early 1990s: WWW hypertext [Bush 1945, Nelson 1960s] HTML, http: Berners-Lee 1994: Mosaic, later Netscape late 1990s: commercialization of WWW
The introduction of the web Better user experience. Significant portion of telecommunication. Although, sometimes temporary setbacks
Infrastructure
Internet: Users
1000 900 800 700 600 500 400 300 200 100 0 1995 1997 1999 2001 2003 2005
Million users
year
Asia Pacific
Europe
bps
year
Todays options
Modem: 56 K ISDN: 64K 128K Frame Relay: 56K ++ Today High Speed Connections
Coming soon:
Today
Protocol Layers
Shipment 792 Shipment 792 Pack. 2 of 3 Pack. 3 of 3 To: Yishay To: Yishay From: Vered From: Vered
Handling
To: Boston From: TLV
Routing
To: Boston To: Boston Shipment 792 From: TLV Pack. 3 of 3 To: Yishay From: Vered
Transport JFK
Haifa
TLV
BGN
To: Boston Shipment 792 From: TLV Pack. 3 of 3 To: Yishay From: Vered
To: Boston To: Boston Shipment 792 From: TLV Pack. 3 of 3 To: Yishay From: Vered
JFK
N.Y.
Boston
Layers:
Person delivery of parcel Post office counter handling Ground transfer: loading on trucks Airport transfer: loading on airplane Airplane routing from source to destination
Peer entities
via its own internal-layer actions relying on services provided by layer below
Advantages of Layering
explicit structure allows identification & relationship of complex systems pieces layered reference model for discussion modularization eases maintenance & updating of system change of implementation of layers service transparent to rest of system
Protocols
A protocol is a set of rules and formats that govern the communication between communicating peers
Protocols
For example: the post office protocol for reliable parcel transfer service
for example, truck drivers use a protocol to present post offices with the abstraction of an unreliable parcel transfer service
Protocol Layers
A network that provides many services needs many protocols Some services are independent, But others depend on each other A Protocol may use another protocol as a step in its execution
for example, ground transfer is one step in the execution of the example reliable parcel transfer protocol Post office handling is layered above parcel ground transfer protocol.
protocol details are publicly available changes are managed by an organization whose membership and transactions are open to the public
A system that implements open protocols is called an open system International Organization for Standards (ISO) prescribes a standard to connect open systems
Reference model
formally defines what is meant by a layer, a service etc. describes the services provided by each layer and the service access point
Service architecture
Protocol architecture
set of protocols that implement the service architecture compliant service architectures may still use noncompliant protocol architectures
Intermediate system
Application Presentation
AH PH SH TH
data data
Application Presentation
DH+data+DT bits
and presentation layers are not so important, and are often ignored
Postal network
Application: people using the postal system Session and presentation: chief clerk sends some priority mail, and some by regular mail ; translator translates letters going abroad. mail clerk sends a message, retransmits if not acked postal system computes a route and forwards the letters datalink layer: letters carried by planes, trains, automobiles physical layer: the letter itself
application: supporting network applications ftp, smtp, http transport: host-host 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
destination
M Ht M Hn Ht M Hl Hn Ht M
message
Physical layer
coding scheme to represent a bit shapes and sizes of connectors bit-level synchronization
technology to move bits on a wire, wireless link, satellite channel etc.
Internet
Datalink layer
a variety of datalink layer protocols most common is Ethernet others are FDDI, SONET, HDLC
end-system must receive only bits meant for it need datalink-layer address also need to decide who gets to speak next these functions are provided by Medium ACcess sublayer (MAC)
Datalink layer protocols are the first layer of software Very dependent on underlying physical link properties Usually bundle both physical and datalink in hardware.
Network layer
In datagram networks
In connection-oriented network
separate data plane and control plane data plane only forwards and schedules data (touches every byte) control plane responsible for routing, callestablishment, call-teardown (doesnt touch data bytes)
Internet
network layer is provided by Internet Protocol found in all end-systems and intermediate systems provides abstraction of end-to-end link segmentation and reassembly packet-forwarding, routing, scheduling unique IP addresses can be layered over anything, but only best-effort service
At end-systems
detects errors
At intermediate systems participates in routing protocol to create routing tables responsible for forwarding packets schedules the transmission order of packets chooses which packets to drop
Transport layer
Reliable end-to-end communication. creates the abstraction of an error-controlled, flow-controlled and multiplexed end-to-end link
(Network layer provides only a raw end-to-end service)
Internet
TCP provides error control, flow control, multiplexing UDP provides only multiplexing
Error control
GOAL: message will reach destination despite packet loss, corruption and duplication ACTIONS: retransmit lost packets; detect, discard, and retransmit corrupted packets; detect and discard duplicated packets match transmission rate to rate currently sustainable on the path to destination, and at the destination itself
Flow control
adds an application-specific identifier (port number) so that receiving end-system can hand in incoming packet to the correct application
Session layer
Not common Provides full-duplex service, expedited data delivery, and session synchronization Internet
Duplex
if transport layer is simplex, concatenates two transport endpoints together allows some messages to skip ahead in end-system queues, by using a separate low-delay transport layer endpoint
Synchronization
allows users to place marks in data stream and to roll back to a prespecified mark
Presentation layer
Usually ad hoc Touches the application data Hides data representation differences between applications
no standard presentation layer only defines network byte order for 2- and 4-byte integers
Application layer
The set of applications that use the network Doesnt provide services to any other layer
Discussion
Layers break a complex problem into smaller, simpler pieces. Why seven layers?
Need a top and a bottom 2 Need to hide physical link; so need datalink 3 Need both end-to-end and hop-by-hop actions; so need at least the network and transport layers 5
Course outline
1 2 Introduction and Layering Data Link: Multi Access
3 4 5 6 7 8 9 10 11 12
Hubs, Bridges and Routers Scheduling and Buffer Management Switching Fabrics Routing Reliable Data Transfer End to End Window Based Protocols Flow Control Multimedia and QoS Network Security Distributed Algorithms