Top Banner
What is the Network ? Two or more connected computers that can Share resources such as : • Data • Printer • Application
82

What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Dec 26, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

What is the Network?

Two or more connected computers that can

Share resources such as :

• Data

• Printer

• Application

Page 2: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Network types ( LAN , MAN , WAN )

– Three main networking technologies are used to connect computers and networks together:• Local area network (LAN)• Metropolitan area network (MAN)• Wide area network (WAN)

Page 3: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

LAN

Used to network computers located in a limited geographical area such as a room, floor, or building .

Speed : 1Mbps , 100Mbps , 1Gbps , 10Gbps

Page 4: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

MAN

A MAN is used to interconnect networks that are larger than a LAN but smaller than a WAN.

Page 5: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

EXAMPLE OF A MAN

Page 6: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

WAN

• Spans a large geographic area

• Defined as an internetwork that connects many LANs using service provider.

• Examples of WANs– The Internet

Page 7: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

EXAMPLE OF A WAN

Page 8: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Topologies

Bus : physical

Star : physical

Ring : logical

Mesh : physical

Page 9: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.
Page 10: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Cable 10BASE-T/100BASE-TX Straight-Through

Pin Label Pin Label

1

2

3

4

5

6

7

8

TX+

TX-

RX+

NC

NC

RX-

NC

NC

1

2

3

4

5

6

7

8

TX+

TX-

RX+

NC

NC

RX-

NC

NC

Straight-Through Cable

Wires on cable endsare in same order.

UTP Implementation (Straight-Through)

Page 11: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Cable 10BASE-T or100BASE-TX Straight-Through Crossover Cable

Some wires on cableends are crossed.

Pin Label Pin Label

1

2

3

4

5

6

7

8

TX+

TX-

RX+

NC

NC

RX-

NC

NC

1

2

3

4

5

6

7

8

TX+

TX-

RX+

NC

NC

RX-

NC

NC

EIA/TIA T568A EIA/TIA T568B

UTP Implementation (Crossover)

Page 12: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Repeater

Page 13: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

A repeater

• is a device that regenerates and amplifies a signal, to counteract the effects of attenuation

Page 14: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

HUB

Page 15: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

HUB• is a device used to connect all of the

computers on a star network. • From the outside, a hub looks like nothing

more than a box with a series of cable connectors and LEDs in it

• Two Types: Active and Passive• Active :amplifies the signals and immediately

transmits them through all of the other ports. • Passive: transmits the signals through all of

the other ports .

Page 16: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Bridges

• Operate at Layer 2 of the OSI model

• Forward, filter, or flood frames

• Few ports

• Slow

Page 17: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Layer 2 devices

• A layer 2 device is a device that understand MAC, for example:

NIC (Network Interface Card) Bridge : - address learning - forwarding decisions are based on software - bridge is used for LAN segmentation - max. 16 port. Switch: - a multi-port bridge up to 567 port - forwarding decisions are based on hardware ASIC (faster than bridge)

Page 18: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

functions of a switch

- Address learning

- Forward/filter decision

- Loop avoidance ( Loop free )

Page 19: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

– Redundant topology eliminates single points of failure.– Redundant topology causes broadcast storms, multiple frame copies, and MAC address

table instability problems.

Redundant Topology

Page 20: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

• Provides a loop-free (Loop Avoidance) redundant network topology by placing certain ports in the blocking state

Spanning Tree Protocol

Block

Page 21: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Router

Page 22: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

functions of a router

-connect between networks

-Select best path

-Divide broadcast domain

-Packet forwarding

Page 23: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Identify Collision and Broadcast Domains

Collision domain =3 and Broadcast Domains=3

Page 24: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Identifying Collision and Broadcast Domains

Collision domain =8 and Broadcast Domains=5

Page 25: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Comparison

Connection-orientedConnectionless

SequencingFast delivery

AcknowledgementLimited error checking

Reliable deliveryUnreliable delivery

Session establishment

Data recovery

TCPUDP

Page 26: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Comparison

ClientsServers

Any device that requests services from a remote application

Any device that provides access to resources

))offer services

Page 27: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

• Static Routing– Uses a route that a

network administrator enters into the router manually

•Dynamic Routing–Uses a route that a

network routing protocol adjusts automatically for topology or traffic changes

Identifying Static and Dynamic Routing

Page 28: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Comparison

BRIPRI

2B+D23B+D

128Kbps1.544Mbps

PSTNT1 Lines

Page 29: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

OSI 7 layer

• OSI Open System Interconnection

We want the system to be standard to can any one use it

• ISO International Standard Organization

Make standarization to main task for operation ( IEEE)

Page 30: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

30

OSI Model OverviewOSI Model Overview

Data Flow Layers

Transport Layer

Data Link

Network Layer

Physical

Application (Upper) Layers

Session

Presentation

Application

Page 31: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Layer 7 - The Application Layer•It’s the S\w on our pcs that is used to represent a user interface to the network & so aids the user to make applications.

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Page 32: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

7- Application Layer

• HTTP : Browsing protocol• FTP : File Transfer Protocol • TFTP : Trivial FTP• Telnet : Remote access protocol• SMTP : Simple Mail Transfer protocol • SNMP : Simple Network Management Protocol• DNS : Domain Name System• DHCP : Dynamic Host Configuration Protocol

Page 33: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Layer 6 - The Presentation Layer

This layer is responsible for presenting the data in the proper format .

- Compression & decompression of data

Examples:AVI,JPG,….

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Page 34: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Layer 5 - The Session Layer•Give orders for: establishment, management, and termination of the session between different application. •Specifies communication mode ( Half duplex – full duplex )

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Page 35: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Layer 4 - The Transport Layer• Responsible for actual

mechanism of:1. Establishment of connection.2. Management of connection: 2.1) segmentation. 2.2) sequencing. 2.4) error detection &correction. 2.5) flow control.3. Termination of connection.

Examples:• TCP (transmission control

protocol).• UDP (User Datagram Protocol).

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Page 36: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Flow control

Pc1 Pc2

stop

Go on

BufferingCongestion avoidence

Page 37: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Layer 3 - The Network Layer

Responsible for:1.End-to-end delivery.2.Logical addressing .EX:

IPv4,IPv6,IPX,APPLETALK

3. Routing (choose the best path to destination.)

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Page 38: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Layer 2 - The Data Link Layer

Responsible for:

1.Arbitration : find the best time to send the data

( CSMA/CD & taken) 2.Hop-to hop data delivery.3.Hop-to-hop addressing (MAC

Address in Ethernet).4. error detection 4.1- parity check : but very week 4.2-CRC : Depend on mathematical

equation

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Page 39: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Layer 2 - The Data Link LayerData link sub-layers :LLC : (logical link control) places information in the frame that identifies which Network layer protocol is being used for the frame. MAC : (media access control) provide physical addressing and and delimiting of data according to the type of Data Link layer protocol in use.

•IEEE version ( IEEE 802.3 (MAC sub-layer) “Interact with physical layer” + IEEE 802.2 (LLC sub-layer) “Interact with Internet layer” )

Physical Layer

IEEE 802.2Logical Link

Control sub-layer

IEEE 802.3Media Access

Control sub-layer

IEEE 802.3Physical Layer

Data-LinkLayer

Eth

ern

et II

Page 40: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Layer 1 - The Physical Layer

It’s responsible for all Physical properties of the network :

1. Cable length.2. Cable type.3. Bit rate.4. Voltage levels.5. H/W interface types.

7 Application

6 Presentation

5 Session

4 Transport

3 Network

2 Data Link

1 Physical

Page 41: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Encapsulating DataEncapsulating Data

Transport

Data Link

Physical

Network

Upper Layer Data

Upper Layer DataTCP Header

DataIP Header

DataLLC Header

0101110101001000010

DataMAC Header

Presentation

Application

Session

Segment

Packet

Bits

Frame

FCS

FCS

Protocol Data Unit (PDUProtocol Data Unit (PDU))

Page 42: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Upper Layer Data

De-encapsulating DataDe-encapsulating Data

LLC Hdr + IP + TCP + Upper Layer Data

MAC Header

IP + TCP + Upper Layer Data

LLC Header

TCP+ Upper Layer Data

IP Header

Upper Layer Data

TCP Header

0101110101001000010

Transport

Data Link

Physical

Network

Presentation

Application

Session

Page 43: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Protocols

• Ethernet • IP• IPX• TCP• UDP• TFTP• FTP• TELNET• SNMP• DHCP• DNS• SMTP

• PPP• Frame relay• ATM• HDLC• X.25

Page 44: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Commands

• Ipconfig/all

• Ipconfig/release

• Ipconfig/renew

• Ping

• Tracert

• nslookup

Page 45: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Port NumbersPort Numbers

TCP

Port Numbers

FTP

TransportLayer

TELNET

DNS

SNMP

TFTP

SMTP

UDP

ApplicationLayer

2121 2323 2525 5353 6969 161161

RIP

520520

Page 46: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Send SYN (seq=100 ctl=SYN)

SYN received

Send SYN, ACK (seq=300 ack=101 ctl=syn,ack)

Established(seq=101 ack=301 ctl=ack)

Host A Host B

1

2

3

SYN received

TCP Three Way Handshake/Open Connection

TCP Three Way Handshake/Open Connection

Page 47: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Address Resolution ProtocolAddress Resolution Protocol

• Map IP Ethernet

• Local ARP

172.16.3.1

IP: 172.16.3.2 Ethernet: 0800.0020.1111 IP: 172.16.3.2 Ethernet: 0800.0020.1111

172.16.3.2

IP: 172.16.3.2 = ???IP: 172.16.3.2 = ???

I heard that broadcast. The message is for me. Here is my Ethernet address.

I need the Ethernet address of 176.16.3.2.

Page 48: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Reverse ARPReverse ARP

• Map Ethernet IP

Ethernet: 0800.0020.1111IP: 172.16.3.25

Ethernet: 0800.0020.1111IP: 172.16.3.25

Ethernet: 0800.0020.1111 IP = ???Ethernet: 0800.0020.1111 IP = ???

What is my IP address?

I heard that broadcast. Your IP address is 172.16.3.25.

Page 49: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

• IPv4 : 32 bit in decimal format

• IPv6 : 128 bit in hexadecimal format

• DLCI:10 bit

• MAC address:48 bit

Page 50: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

IP Address classes

Page 51: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Private IP Addresses

Page 52: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Subnetting

• What is the subnetwork address for a host with the IP address 200.10.5.68/28?

• A. 200.10.5.56

• B. 200.10.5.32

• C. 200.10.5.64

• D. 200.10.5.0

Page 53: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Subnetting

• What is the broadcast address for a host with the IP address 192.168.221.37 255.255.255.248?

• A. 192.168.221.40

• B. 192.168.221.33

• C. 192.168.221.36

• D. 192.168.221.39

Page 54: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

VLAN = Broadcast Domain = Logical Network (Subnet)

VLAN Overview

• Segmentation

• Flexibility

• Security

Page 55: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

• Each logical VLAN is like a separate physical bridge.

• VLANs can span across multiple switches.

• Trunks carry traffic for multiple VLANs.

• Trunks use special encapsulation to distinguish between different VLANs.

VLAN Operation

Page 56: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

802.1Q Frame

Page 57: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

WIRELESS LANS

• IEEE standard 802.11 defines the specifications for wireless LANs (WLANs).

– Support ad hoc or infrastructure topologies

Page 58: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

AD HOC WLAN

consists of two or more wireless devices communicating directly with each other

Page 59: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

INFRASTRUCTURE WIRELESS

uses a wireless device called an access point between wireless devices and a standard cabled network.

Page 60: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

FIREWALL SECURITY

• Firewalls protect a network from unauthorized access.

• Firewalls use several methods to examine network traffic for potential threats:

– Packet filtering– Port filtering

Page 61: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

NAT

• NAT is a routing technique that enables computers with private IP addresses to connect to the Internet.

• The NAT router maps private to public addresses and vice versa.

• Security feature of NAT– Hides hosts on private networks

Page 62: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

NAT MAPPING METHODS

• NAT routers can map private and public addresses using one of three methods:– Static

• One-to-one mapping (registered to unregistered), requiring many registered IP addresses

– Dynamic• Many unregistered addresses mapped to one or

more registered addresses– Overload

• Many unregistered addresses to one or more registered addresses using ports to differentiate connections

Page 63: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

STATIC NAT

Page 64: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

DYNAMIC NAT

Page 65: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Overload

Page 66: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

PHYSICAL LAYER WAN CONNECTIONS

• Physical layer WAN connections use the following technologies:

– Leased lines

– Circuit switching

– Packet/cell switching

Page 67: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

WAN Connection Types

Point to Point or dedicated connection

Benefits:

•High speed up to 45 Mbps• Secure

Disadvantages:

•High expensive•Limited availability

Page 68: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

WAN Connection Types

Dedicated circuit path must exist between sender and receiver for the duration of the call.

Examples:

•Dial up•ISDN

Page 69: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Dial up

Benefits: Low costDisadvantages: Low speed (56Kpbs)

Page 70: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

ISDN

Page 71: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

ISDN

• The Integrated Services Digital Network (ISDN) uses the PSTN network.

• Uses circuit switching technology.

• Two main types of ISDN services: • Basic Rate Interface (BRI) • Primary Rate Interface (PRI)

Page 72: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

BRI

• The ISDN BRI is referred to as 2B + 1D.

• BRI has– 2 channels for data, known as B channels– 1 channel for control (out-of-band signaling),

known as a D channel

• Each 64-Kbps B channel can operate independently or can be combined to offer a 128-Kbps transmission rate.

Page 73: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

PRI

• The ISDN PRI service consists of– 23 channels for data, known as B channels– 1 channel for control (out-of-band signaling),

known as a D channel

Page 74: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

PACKET SWITCHED WAN

Benefits: High speed up to 45 Mbps Not SecuredDisadvantages: Low cost High availability

Examples:•X.25•Frame relay

Page 75: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

FRAME RELAY

• Frame relay is a data-link layer protocol that

– Uses Permanent Virtual Circuit (PVC) and Switched Virtual Circuit (SVC) connections

– Uses Data Link Control Identifier (DLCI) values to identify connections

– Supports data rates from 56 Kbps up to 45Mbps

Page 76: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

cell switching WAN technology

• Asynchronous Transfer Mode (ATM) is a cell switching WAN technology.

• It is designed to carry voice, data, and video traffic.

• ATM uses fixed 53-byte cells.

• It supports data rates from 56 Kbps up to 45Mbps

Page 77: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Broad band Technologies

• DSL

• CATV

• satellite

Page 78: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

DSL• Digital Subscriber Line (DSL) technology offers

higher transfer rates over standard telephone lines.

• DSL achieves higher data rates by using higher frequency ranges.

• Two types: ADSL :Asymmetric Digital Subscriber Line Download speed more faster than upload speed SDSL:symmetric Digital Subscriber Line Download speed equal upload speed

Page 79: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

CATV

• Cable television (CATV) networks use broadband signaling.

• Multiple channels occupy a single cable.

• CATV uses asymmetrical transmission.

Page 80: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

CATV CONNECTION

Page 81: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

Satellite

• Satellite uses asymmetrical transmission.

• Upload speed 512Kbps

• Download speed 2.048Mbps

• Two methods:

• One way• Two way

Page 82: What is the Network ? Two or more connected computers that can Share resources such as : Data Printer Application.

WAN Encapsulation protocols

• Leased line: PPP , HDLC

• Circuit switched : PPP , HDLC

• Packet switched : X.25 , Frame relay

• Cell switched : ATM