+ All Categories
Home > Documents > NetworksBasicsFinal.ppt

NetworksBasicsFinal.ppt

Date post: 20-Jan-2015
Category:
Upload: johnsondon
View: 1,333 times
Download: 1 times
Share this document with a friend
Description:
 
Popular Tags:
110
Networking Basics For : Level 1 – Networks and Computer Science Diploma Deanship of Community Services and Continuous Education - Imam University Based on : Cisco Networking Academy – Exploration 1 Instructor : Mahmoud Rabie
Transcript
Page 1: NetworksBasicsFinal.ppt

Networking Basics

For : Level 1 – Networks and Computer Science DiplomaDeanship of Community Services and Continuous Education - Imam University

Based on : Cisco Networking Academy – Exploration 1

Instructor : Mahmoud Rabie

Page 2: NetworksBasicsFinal.ppt

Grading 15 for Attendance and Participation 35 for the Take-Home Open-Book Exam 50 for the Final Exam

Page 3: NetworksBasicsFinal.ppt

Topics Introduction to Networking Networking Fundamentals Networking Media Communicating over the Network Application Layer Functionality and

Protocols Ethernet and Link Layer

Addressing

Page 4: NetworksBasicsFinal.ppt

Introduction to Networking

Objectives

Page 5: NetworksBasicsFinal.ppt

Requirements for Internet Connection

Page 6: NetworksBasicsFinal.ppt

Network Interface Card (NIC)

Page 7: NetworksBasicsFinal.ppt

TCP/IP Description and Configuration

Page 8: NetworksBasicsFinal.ppt

Testing Connectivity with Ping

Page 9: NetworksBasicsFinal.ppt

Web Browser and Plug-Ins

Page 10: NetworksBasicsFinal.ppt

Troubleshooting Internet Connections

Page 11: NetworksBasicsFinal.ppt

Network Math ISA will be covered well, by Dr.

Baha

Page 12: NetworksBasicsFinal.ppt

IP Addresses and Network Masks

Page 13: NetworksBasicsFinal.ppt

Networking Fundamentals

Objectives

Page 14: NetworksBasicsFinal.ppt

Data Networks

Page 15: NetworksBasicsFinal.ppt

Networking Devices

Page 16: NetworksBasicsFinal.ppt

Network Topology

Page 17: NetworksBasicsFinal.ppt

Network Protocols

Page 18: NetworksBasicsFinal.ppt

Local-area Networks (LANs)

Page 19: NetworksBasicsFinal.ppt

Wide-area Networks (WANs)

Page 20: NetworksBasicsFinal.ppt

Storage-Area Networks (SANS)

Page 21: NetworksBasicsFinal.ppt

Virtual Private Networks (VPNs)

Page 22: NetworksBasicsFinal.ppt

Importance of Bandwidth

Page 23: NetworksBasicsFinal.ppt

Bandwidth Pipe Analogy

Page 24: NetworksBasicsFinal.ppt

Bandwidth Highway Analogy

Page 25: NetworksBasicsFinal.ppt

Bandwidth Measurements

Page 26: NetworksBasicsFinal.ppt

Bandwidth Limitations

Page 27: NetworksBasicsFinal.ppt

Using Layers to Analyze Problems

Page 28: NetworksBasicsFinal.ppt

Using Layers to Describe Data Communication

Page 29: NetworksBasicsFinal.ppt

OSI Model

Page 30: NetworksBasicsFinal.ppt

OSI Layers

Page 31: NetworksBasicsFinal.ppt

OSI Layers

•Provides connectivity and path selection between two host

•Provides Logical address

•No error correction, best effort delivery.

Page 32: NetworksBasicsFinal.ppt

OSI Layers

Page 33: NetworksBasicsFinal.ppt

OSI Layers

Page 34: NetworksBasicsFinal.ppt

OSI Layers

Page 35: NetworksBasicsFinal.ppt

OSI Layers

Page 36: NetworksBasicsFinal.ppt

OSI Layers

Page 37: NetworksBasicsFinal.ppt

Peer-to-Peer Communication

Page 38: NetworksBasicsFinal.ppt

TCP/IP Model

Page 39: NetworksBasicsFinal.ppt

Networking Media

Objectives

Page 40: NetworksBasicsFinal.ppt

Voltage

Page 41: NetworksBasicsFinal.ppt

Resistance and Impedance

Page 42: NetworksBasicsFinal.ppt

Current Flow

Page 43: NetworksBasicsFinal.ppt

Circuits

Page 44: NetworksBasicsFinal.ppt

Coaxial Cable

Page 45: NetworksBasicsFinal.ppt

Shielded Twisted-Pair Cable (STP)

Page 46: NetworksBasicsFinal.ppt

Unshielded Twisted Pair (UTP)

Page 47: NetworksBasicsFinal.ppt

Unshielded Twisted Pair (UTP)

Page 48: NetworksBasicsFinal.ppt

Unshielded Twisted Pair (UTP)

Page 49: NetworksBasicsFinal.ppt

Single Mode Fiber

Page 50: NetworksBasicsFinal.ppt

Multimode Fiber

Page 51: NetworksBasicsFinal.ppt

Optical Media

Page 52: NetworksBasicsFinal.ppt

Wireless LAN Standards

Page 53: NetworksBasicsFinal.ppt

Internal Wireless NIC

Page 54: NetworksBasicsFinal.ppt

Wireless USB Adapter

Page 55: NetworksBasicsFinal.ppt

Modulation

Page 56: NetworksBasicsFinal.ppt

Communicating over the Network

Page 57: NetworksBasicsFinal.ppt

Network Structure Define the elements of communication

3 common elements of communication message source the channel message destination

Define a network data or information networks capable of carrying many

different types of communications

Page 58: NetworksBasicsFinal.ppt

Network Structure Describe how messages are communicated

Data is sent across a network in small “chunks” called segments

Multiplexing

Page 59: NetworksBasicsFinal.ppt

Network Structure Define the components of a network

Network components hardware software

Page 60: NetworksBasicsFinal.ppt

Network Structure End Devices and their Role in the Network

End devices form interface with human network & communications network

Role of end devices: client server both client and server

Page 61: NetworksBasicsFinal.ppt

Network Structure Identify the role of an intermediary

device in a data network and be able to contrast that role with the role of an end device Role of an intermediary device

provides connectivity and ensures data flows across network

Page 62: NetworksBasicsFinal.ppt

Network Structure

Define network media and criteria for making a network media choice

Network media this is the channel over which a message travels

Page 63: NetworksBasicsFinal.ppt

Network Types

Define Local Area Networks (LANs) - A network serving a home, building or

campus is considered a Local Area Network (LAN)

Page 64: NetworksBasicsFinal.ppt

Network Types Define Wide Area Networks (WANs)

LANs separated by geographic distance are connected by a network known as a Wide Area Network (WAN)

Page 65: NetworksBasicsFinal.ppt

Network Types

Define the Internet The internet is defined as a global mesh of interconnected networks

Page 66: NetworksBasicsFinal.ppt

Network Types Describe network representation symbols

Page 67: NetworksBasicsFinal.ppt

Function of Protocol in Network Communication

The importance of protocols and how they are used to facilitate communication over data networks

A protocol is a set of predetermined or formal rules

Page 68: NetworksBasicsFinal.ppt

Function of Protocol in Network Communication

Explain network protocolsNetwork protocols are usedto allow devices to communicate successfully

Page 69: NetworksBasicsFinal.ppt

Function of Protocol in Network Communication

Define different protocols and how they interact

Page 70: NetworksBasicsFinal.ppt

Function of Protocol in Network Communication

Technology independent Protocols -Many diverse types of devices can communicate using the

same sets of protocols. This is because protocols specify network functionality, not the underlying technology to support this functionality.

Page 71: NetworksBasicsFinal.ppt

Layers with TCP/IP and OSI Model

Explain the benefits of using a layered model– Benefits include

• assists in protocol design• fosters competition• changes in one layer do not affect other layers• provides a common language

Page 72: NetworksBasicsFinal.ppt

Layers with TCP/IP and OSI Model

Describe TCP/IP Model

Page 73: NetworksBasicsFinal.ppt

Layers with TCP/IP and OSI Model

Describe the Communication Process

Page 74: NetworksBasicsFinal.ppt

Layers with TCP/IP and OSI Model

Explain protocol data units (PDU) and encapsulation

Page 75: NetworksBasicsFinal.ppt

Layers with TCP/IP and OSI Model

Describe the process of sending and receiving messages

Page 76: NetworksBasicsFinal.ppt

Layers with TCP/IP and OSI Model

Explain protocol and reference models

A protocol model provides a

model that closely matches the structure of a particular

protocol suite.

A reference model provides a

common reference for maintaining consistency within all types of network protocols and services.

Page 77: NetworksBasicsFinal.ppt

Layers with TCP/IP and OSI Model

Define OSI

Page 78: NetworksBasicsFinal.ppt

Layers with TCP/IP and OSI Model

Compare OSI and TCP/IP model

Page 79: NetworksBasicsFinal.ppt

Addressing and Naming Schemes

Explain how labels in encapsulation headers are used to manage communication in data networks

Page 80: NetworksBasicsFinal.ppt

Addressing and Naming Schemes

Describe examples of Ethernet MAC Addresses, IP Addresses, and TCP/UDP Port numbers

Page 81: NetworksBasicsFinal.ppt

Addressing and Naming Schemes

Explain how labels in encapsulation headers are used to manage communication in data networks

Page 82: NetworksBasicsFinal.ppt

Application Layer Functionality and Protocols

Page 83: NetworksBasicsFinal.ppt

Applications – The Interface Between Human and Data Networks

Explain the role of applications, services and protocols in converting communication to data that can be transferred across the data network

Page 84: NetworksBasicsFinal.ppt

Applications – The Interface Between Human and Data Networks

Define the separate roles applications, services and protocols play in transporting data through networks

Page 85: NetworksBasicsFinal.ppt

Describe the role protocols play in networking and be able to identify several message properties that can be defined by a protocol

Applications – The Interface Between Human and Data Networks

Page 86: NetworksBasicsFinal.ppt

The Role of Protocols in Supporting Communication

Describe the roles of client and server processes in data networks

Page 87: NetworksBasicsFinal.ppt

The Role of Protocols in Supporting Communication

List common Application Layers services and protocols

Page 88: NetworksBasicsFinal.ppt

The Role of Protocols in Supporting Communication

Compare and contrast client server networking with peer-to-peer networking and peer-to-peer applications

Page 89: NetworksBasicsFinal.ppt

Features, Operation, and Use of TCP/IP Application Layer Services

Describe the features of the DNS protocol and how this protocol supports DNS services

Page 90: NetworksBasicsFinal.ppt

Describe the features of the HTTP protocol and how this protocol supports the delivery of web pages to the client

Features, Operation, and Use of TCP/IP Application Layer Services

Page 91: NetworksBasicsFinal.ppt

Link Layer Addressing

Page 92: NetworksBasicsFinal.ppt

MAC Addresses and ARP 32-bit IP address:

network-layer address used to get datagram to destination IP

subnet

MAC (or LAN or physical or Ethernet) address: used to get datagram from one interface to

another physically-connected interface (same network)

48 bit MAC address (for most LANs) burned in the adapter

Page 93: NetworksBasicsFinal.ppt

LAN Addresses and ARPEach adapter on LAN has unique LAN address

Broadcast address= FF-FF-FF-FF-FF-FF

=adapter

1A-2F-BB-76-09-AD

58-23-D7-FA-20-B0

0C-C4-11-6F-E3-98

71-65-F7-2B-08-53

LAN(wired or

wireless)

•MAC address allocation administered by IEEE•Manufacturer buys portion of MAC address space (to assure uniqueness)

Page 94: NetworksBasicsFinal.ppt

ARP: Address Resolution Protocol

Each IP node (Host, Router) on LAN has ARP table

ARP Table: IP/MAC address mappings for some LAN nodes

< IP address; MAC address; TTL>

TTL (Time To Live): time after which address mapping will be forgotten (typically 20 min)

Question: how to determineMAC address of Bknowing B’s IP address?

1A-2F-BB-76-09-AD

58-23-D7-FA-20-B0

0C-C4-11-6F-E3-98

LAN

237.196.7.23

237.196.7.78

237.196.7.14

237.196.7.88

Page 95: NetworksBasicsFinal.ppt

ARP protocol: Same LAN A wants to send datagram to B, and B’s MAC address not in A’s ARP

table.

A broadcasts ARP query packet, containing B's IP address Dest. MAC address = FF-FF-FF-FF-FF-FF all machines on LAN receive ARP query

B receives ARP packet, replies to A with its (B's) MAC address frame sent to A’s MAC address (unicast)

A caches (saves) IP-to-MAC address pair in its ARP table until information becomes old (times out)

soft state: information that times out (goes away) unless refreshed

ARP is “plug-and-play”: nodes create their ARP tables without intervention from net administrator

Page 96: NetworksBasicsFinal.ppt

Star topology Nowadays, star topology prevails (يسود) Connection choices: hub or switch

hub orswitch

Page 97: NetworksBasicsFinal.ppt

Ethernet Frame Structure

Sending adapter encapsulates IP datagram (or other network layer protocol packet) in Ethernet frame

Preamble: 7 bytes with pattern 10101010 followed

by one byte with pattern 10101011 used to synchronize receiver, sender

clock rates

Page 98: NetworksBasicsFinal.ppt

Ethernet Frame Structure – Cont.

Addresses: 6 bytes If adapter receives frame with matching destination

address, or with broadcast address (eg ARP packet), it passes data in frame to net-layer protocol

Otherwise, adapter discards frame

Type: indicates the higher layer protocol (mostly IP)

CRC: checked at receiver, if error is detected, the frame is simply dropped

Page 99: NetworksBasicsFinal.ppt

Hubs

Hubs are essentially physical-layer repeaters: bits coming from one link go out all

other links at the same rate no frame buffering Adapters not Hub detect collisions

hub

Page 100: NetworksBasicsFinal.ppt

Interconnecting with hubs Backbone hub interconnects LAN segments Extends max distance between nodes But individual segment collision domains

become one large collision domain

hub

hubhub

Backbone hub

Page 101: NetworksBasicsFinal.ppt

Switch Link layer device

stores and forwards Ethernet frames examines frame header and selectively

forwards frame based on MAC destination address

when frame is to be forwarded on segment, uses CSMA/CD to access segment

Transparent hosts are unaware of presence of switches

Plug-and-play, self-learning switches do not need to be configured

Page 102: NetworksBasicsFinal.ppt

Forwarding

• How do determine onto which LAN segment to forward frame?• Looks like a routing problem...

hub

hubhub

switch1

2 3

Page 103: NetworksBasicsFinal.ppt

Self Learning

A switch has a switch table Entry in switch table:

(MAC Address, Interface, Time Stamp) stale entries in table dropped (TTL can be

60 min) Switch learns which hosts can be reached

through which interfaces when frame received, switch “learns”

location of sender: incoming LAN segment records sender/location pair in switch table

Page 104: NetworksBasicsFinal.ppt

Filtering/ForwardingWhen switch receives a frame:

index switch table using MAC dest addressif entry found for destination

then{ if dest on segment from which frame arrived

then drop the frame else forward the frame on interface

indicated } else flood

forward on all but the interface on which the frame arrived

Page 105: NetworksBasicsFinal.ppt

Switch ExampleSuppose C sends frame to D

• Switch receives frame from from C– notes in bridge table that C is on interface 1

– because D is not in table, switch forwards frame into interfaces 2 and 3

• Frame received by D

address interface

ABEGC

11231

hub

hub hub

switch

A

B CD

EF

G H

I

12 3

Page 106: NetworksBasicsFinal.ppt

106

Switch ExampleSuppose D replies back with frame to C.

• Switch receives frame from from D– notes in bridge table that D is on interface 2

– because C is in table, switch forwards frame only to interface 1

• Frame received by C

hub

hub hub

switch

A

B CD

EF

G H

I

address interface

ABEGCD

112312

Page 107: NetworksBasicsFinal.ppt

107

Switch: Traffic Isolation Switch installation breaks subnet into LAN

segments Switch filters packets:

same-LAN-segment frames not usually forwarded onto other LAN segments

segments become separate collision domains

hub hub hub

switch

collision domain collision domain

collision domain

Page 108: NetworksBasicsFinal.ppt

108

Switches: Dedicated Access Switch with many

interfaces Hosts have direct

connection to switch No collisions; full

duplex

Switching: A-to-A’ and B-to-B’ simultaneously, no collisions

switch

A

A’

B

B’

C

C’

Page 109: NetworksBasicsFinal.ppt

109

Switches vs. Routers Both store-and-forward devices

routers: network layer devices (examine network layer headers)

switches are link layer devices Routers maintain routing tables, implement routing algorithms Switches maintain switch tables, implement filtering, learning

algorithms

Switch

Page 110: NetworksBasicsFinal.ppt

110

Summary Comparison

hubs routers switches

traffi c isolation

no yes yes

plug & play

yes

no

yes

optimal routing

no

yes

no