Isp 8 th recitation
Download
1 / 17

Recitation slides - PowerPoint PPT Presentation


  • 177 Views
  • Uploaded on

ISP – 8 th Recitation. 3 rd exercise review Computer networks - Introduction. What is it good for?. Communicating and sharing resources around the world. Common applications: Web / FTP / Data Transfer E-Mail / IM / VOIP / Human Communication “Internet”.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Recitation slides' - mike_john


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Isp 8 th recitation l.jpg
ISP – 8th Recitation

  • 3rd exercise review

  • Computer networks - Introduction


What is it good for l.jpg
What is it good for?

  • Communicating and sharing resources around the world.

  • Common applications:

  • Web / FTP / Data Transfer

  • E-Mail / IM / VOIP / Human Communication

  • “Internet”

In general, a collection of bytes (packet) is sent from one computer to another


How does it work l.jpg
How does it work

  • Computer networking is based on layers of different protocols.

  • Layer = Additional bytes in the beginning/(end) of a message.

  • The “holy grail” of computer networking is the 7 layers model of OSI (half obsolete)

  • In reality, fewer layers are being used and it’s sometimes hard to distinguish between layers.


Basic layers l.jpg
Basic Layers

  • Physical layer – Signals and cables

  • Data-link layer – Local communication

  • Network layer – End to end communication

  • Transport layer – Reliability/Flow control

  • Higher layers – Application based



Physical layer l.jpg
Physical Layer

  • How to physically connect the computer to the network (cables/connectors)

  • Signals running through the cables (voltages/encodings)

  • Examples : RS232/10BASE-T/802.11(x)


Datalink layer l.jpg
Datalink Layer

  • How two adjacent computers “talk” to one another.

  • Tied closely to the physical layer.

  • Detection and correction of errors.

  • Examples : Ethernet, Token-Ring, 802.11(x).


Network layer l.jpg
Network Layer

  • Allows transfer of data between far away computers.

  • Deals with addressing and routing.

  • Unreliable - data can get lost and come in the wrong order.

  • Examples : IP (very few others).


Transport layer l.jpg
Transport Layer

  • Provides a transparent mean for sending data.

  • Can provide reliability, order and flow control.

  • Provides virtual “ports” to set apart different data.

  • Often, closely tied to the network layer (TCP/IP)

  • Examples : TCP/UDP (and more)


Higher layers l.jpg
Higher Layers

  • Application based.

  • Endless variety...

  • Examples : (HTTP/POP3/SMTP/FTP/RPC…)


Relevant concepts l.jpg
Relevant Concepts

  • Most programmers don’t care much about the physical and data-link layers - Too down in hierarchy and transparent otherwise.

  • Network and transport layers are relevant and important to understand.

  • Higher layers are program specific:

    • Interface an existing program using its protocol.

    • Create a new program using a self made protocol.


Relevant concepts12 l.jpg
Relevant Concepts

  • IP Address - 32 bits long, unique to each internet node. 192.168.10.11

  • Subnet mask – 32 bit long. Tells which part of the IP address designate the same “physical” network. 255.255.255.0

  • Router/Gateway – A computer that’s connected to two or more “physical” networks and moves data between the two based.

  • Port – a 16bit long number which helps map network data to specific applications.


How data travels l.jpg
How data travels

  • Addressing

  • Routing

  • Ports

192.168.1.20

255.255.255.0

192.168.0.1

255.255.255.0

192.168.0.11

255.255.255.0

192.168.5.1

255.255.255.0

192.168.0.15

255.255.255.0


Bu bu but l.jpg
Bu..Bu..But

  • “I’ve been using the internet for decades and never ever set my computer’s IP address or subnet mask, never seen a router/default gateway address and never ever contacted a web page using 4 (darn) numbers.”


Dynamic host configuration protocol dhcp l.jpg
Dynamic Host Configuration Protocol (DHCP)

  • As we just saw, each network interface requires some network specific IP settings like a unique IP address, subnet mask, default gateway and DNS servers.

  • DHCP servers can sit at each local network and simplify the configuration process by allocating each network node with all its relevant IP settings.

  • DHCP servers allow us to easily connect to wireless hotspots and ISPs.


Domain name server dns l.jpg
Domain Name Server (DNS)

  • It’s hard to remember numbers so we don’t normally use IP addresses…

  • DNS servers are catalogs which map IP addresses to names that are easier to remember.www.google.com instead of 74.125.53.100.

  • The internet contains a hierarchy of DNS servers, each responsible for different names spaces. (.com, .il, .ac.il, google.com, tau.ac.il, . – root )

  • Addresses and name spaces are globally controlled by ICANN / IANA


Interesting applications l.jpg
Interesting Applications

  • Ipconfig

  • Ping

  • Nslookup

  • Tracert

  • Telnet


ad