NETWORKS

84
NETWORKS Covering High speed switching fabrics Twisted pair Mediums Fiber optics Radio Ethernet Coax

description

NETWORKS. Covering High speed switching fabrics Twisted pair Mediums Fiber optics Radio Ethernet Coax. NETWORKS. Logarithms Channel capacity Hartley-Shannon Law Review of the Layers Things you need to get started on a LAN. High Speed Switching Fabrics. - PowerPoint PPT Presentation

Transcript of NETWORKS

Page 1: NETWORKS

NETWORKS

• Covering– High speed switching fabrics

– Twisted pair

– Mediums

– Fiber optics

– Radio

– Ethernet Coax

Page 2: NETWORKS

NETWORKS

– Logarithms

– Channel capacity

– Hartley-Shannon Law

– Review of the Layers

– Things you need to get started on a LAN

Page 3: NETWORKS

High Speed Switching Fabrics

• Aside from the Bus topologies, there are many others, with higher throughput, like

• ring

• Transputer Topology

• Torus Topology

• Cray T3D

Page 4: NETWORKS

The Transputer Topology

4 way connectivity

Page 5: NETWORKS

The Torus Topology

4 way connectivity

Page 6: NETWORKS

Torus Topology

5 way connectivity

Page 7: NETWORKS

Cray T3D, Torus Topology

6 way connectivity

Page 8: NETWORKS

MacRadioModemASYNC

SerialSYNC Serial

CPU Memory

TNC

We left out the redundant curcuitry in the gray box to make poor mans packet

Diagram of a typical packet radio setup

Page 9: NETWORKS

Twisted Pair• Typically a balanced digital line

• 2 conductor insulated wire

• Twisting the wire minimizes the electromagnetic interference

• A primary medium for voice traffic

• used as serial cable to hookup networks

Page 10: NETWORKS

Twisted Pair

• The repeat coil (transformer) or Op-Amp can be used

S

-S

I

S+I

-S+I

+-

S+I-(-S+I)=2S

Page 11: NETWORKS

Twisted Pair

• In telephone modem terms this is known as a DAA (Data Access Arrangement).

Page 12: NETWORKS

Mediums

• UTP (unshielded twisted pair)– typical voice line

– Generally good for star LAN short haul 10 Mbps

• STP (shielded twisted pair)– level 5 data grade (100 Mbps)

• RS-422 – balanced serial data communications

• RS-232 – unbalanced serial data communications

Page 13: NETWORKS

Mediums

• Coax– CATV (community antenna TV)

– telephone long line via FDM carries 10,000 voices

– LAN-WAN

– cable TV

Page 14: NETWORKS

Mediums

• Fiber Optics– use total internal reflection

– This occurs in a transparent medium whose index of refraction is higher that surrounding medium

– optic fiber is a wave guide in the 10 raised 14 to 10 raised 15 hz range

Page 15: NETWORKS

Fiber Optics

• multimode– different rays have different path lengths,

loss occurs

• multimode-graded index– variable core index, focuses rays more

efficiently that multimode

• single mode – only the axial ray passes, most efficient.

Page 16: NETWORKS

Fiber Optics

• LED (light emmiting diode)– inexpensive

• ILD (injection laser diode ) – more expensive (more efficient and higher

bandwidth that LED).

• Detectors– Photo Diodes

Page 17: NETWORKS

Fiber Optics

• light propagates best at 850, 1300 and 1500 nm

• 640 nm = wavelength of HE-NE red = .64 micro meters

• ultra pure fused silica is best, plastic is cheapest and worst

Page 18: NETWORKS

Fiber Optics– bandwidth - 2 Gbps (typical)

– smaller size and weight than copper

– lower attenuation than coax

– electromagnetically isolated

– greater repeater spacing, 5 Gbs over 111 km w/o repeater

– phasing out cable.

Jacketcladding, one for each fiber

core, one or more strands

Page 19: NETWORKS

Radio

• Microwave– line-of-sight

– parabolic dishd 7.14 kh distance to horizon

d in meters

h height of antenna in meters

k adjustment factor, microwaves bend with the curature of the earth

Page 20: NETWORKS

Ethernet Coax

• For Ethernet coax – ASIC’s which give a digital interface to a

bus topology LAN

– For example, the Crystal Semiconductor Corporation CS83C92 is a Coaxial Transceiver Interface on a chip

Page 21: NETWORKS

Ethernet Coax

RXICDSTXOGND

RX+RX-CD+CD-TX+TX-

CS83C92

Shield

Page 22: NETWORKS

Ethernet Coax

• CS83C92– Balanced serial inputs

– Uses Manchester codes

– All operations with IEEE 802.3 of the 10Base5 (Ethernet) and 10Base2 (Cheapernet) standard

Page 23: NETWORKS

Ethernet Coax

• CS83C92 have– equalizers

– amplifiers

– idle detectors, receiver squelch circuits

– collision testers

– oscillators

– differential line drivers

– (with other stuff too!!!)

• A manchester code convert chip is also needed

Page 24: NETWORKS

Logarithms

• Log Review

if x ay then y loga x

so

if x 210 then 10 log2 x

Page 25: NETWORKS

Logarithms

• For example

find log2 4096

4096 2y

ln 4096 y ln 2

ln 4096ln 2

y12

Page 26: NETWORKS

Logarithms

so

log2 x ln xln 2

if base = B then

logB x ln xln B

log10 xlog10 B

Page 27: NETWORKS

Logarithms

• Laws of Logarithms

loga (xy) loga x loga y

loga (x / y) loga x loga y

loga xn n loga x

Page 28: NETWORKS

• Intermodulation noise– results when signals at different

frequencies share the same transmission medium

Page 29: NETWORKS

• the effect is to create harmonic interface at

f1 f 2 and / or f1 f 2

f1 frequency of signal 1

f2 frequency of signal 2

Page 30: NETWORKS

• cause– transmitter, receiver of intervening

transmission system nonlinearity

Page 31: NETWORKS

• Crosstalk– an unwanted coupling between signal

paths. i.e hearing another conversation on the phone

• Cause– electrical coupling

Page 32: NETWORKS

• Impluse noise– spikes, irregular pulses

• Cause– lightning can severely alter data

Page 33: NETWORKS

Channel Capacity

• Channel Capacity– transmission data rate of a channel (bps)

• Bandwidth– bandwidth of the transmitted signal (Hz)

• Noise– average noise over the channel

• Error rate– symbol alteration rate. i.e. 1-> 0

Page 34: NETWORKS

Channel Capacity

• if channel is noise free and of bandwidth W, then maximum rate of signal transmission is 2W

• This is due to intersymbol interface

Page 35: NETWORKS

Channel Capacity

• Example

w=3100 Hz

C=capacity of the channel

c=2W=6200 bps (for binary transmission)

m = # of discrete symbols

C = 2Wlog2m

Page 36: NETWORKS

Channel Capacity

• doubling bandwidth doubles the data rate

if m=8c 2(3100 hz)log2 8 18,600 bps

Page 37: NETWORKS

Channel Capacity

• doubling the number of bits per symbol also doubles the data rate (assuming an error free channel)

(S/N):-signal to noise ratio

(S / N)dB 10logsignal powernoise power

Page 38: NETWORKS

Hartley-Shannon Law

• Due to information theory developed by C.E. Shannon (1948)

C:- max channel capacity in bits/second

C w log2 (1SN

)

w:= channel bandwidth in Hz

Page 39: NETWORKS

Hartley-Shannon Law

• Example

W=3,100 Hz for voice grade telco lines

S/N = 30 dB (typically)

30 dB = 10 logPsPn

Page 40: NETWORKS

Hartley-Shannon Law

3 logPsPn

log10

PsPn

3

103 PsPn

1000

C 3100 log2 (11000) 30,898 bps

Page 41: NETWORKS

Hartley-Shannon Law

• Represents the theoretical maximum that can be achieved

• They assume that we have AWGN on a channel

Page 42: NETWORKS

Hartley-Shannon Law

C/W = efficiency of channel utilization

bps/Hz

Let R= bit rate of transmission

1 watt = 1 J / sec

Eb=enengy per bit in a signal

Page 43: NETWORKS

Hartley-Shannon Law

S = signal power (watts)Tb the time required to send a bit

R =1

T b

Eb STb

EbN0

energy per noise power density per hertz

Page 44: NETWORKS

Hartley-Shannon Law

EbN0

S / RN0

SkTR

k=boltzman’s constantby

Eb STb

S EbTb

S / R Eb

N0 kTR

Page 45: NETWORKS

Hartley-Shannon Law

assuming R=W=bandwidth in HzIn Decibel Notation:EbN0

S 10 log R 228.6dbW 10 logT

Page 46: NETWORKS

Hartley-Shannon Law

S=signal powerR= transmission rate and -10logk=228.6So, bit rate error (BER) for digital data is a decreasing function of Eb

N0

For a given , S must increase if R increases

EbN0

Page 47: NETWORKS

Hartley-Shannon Law

• Example

For binary phase-shift keying =8.4 dB is needed for a bit error rate of

EbN0 10 4

let T= k = noise temperature = C, R=2400 bps & Pe 10 4 BER

Page 48: NETWORKS

Hartley-Shannon Law

• Find S

S EbN0

10 logR 228.6dbW 10logT

S 8.4 10 log2400 228.6dbW 10 log 290

S=-161.8 dbw

Page 49: NETWORKS

ADC’s

• typically are related at a convention rate, the number of bits (n) and an accuracy (+- flsb)

• for example– an 8 bit adc may be related to +- 1/2 lsb

• In general an n bit ADC is related to +- 1/2 lsb

Page 50: NETWORKS

ADC’s

• The SNR in (dB) is therefore

SNRdB 10 log10SN

whereS 2n

N 12

2 n 2 n 1

SNRdB 10 log10 22n1 (20n 10)log10 2

SNRdB 6n 3about

Page 51: NETWORKS

Review of the Layers

• Physical Layer (bits)

• The Link Layer (frames)

• The Network Layer (packets)

• The Transport Layer

• Session Layer

• The Presentation Layer

• The Application Layer

Page 52: NETWORKS

Physical Layer

• The function is to send & receive bits (marks & spaces)

• deals with– Physical connections (duplex or half

duplex)

– Physical service data units (PSDU’s) one bit in serial xmission, nbits in parallel xmission

Page 53: NETWORKS

Physical Layer

– circuit identification

– bit sequencing

– notification of false conditions

– deriving quality of service parameters

– modulation and demodulation

– signaling speed

Page 54: NETWORKS

Physical Layer

– transmission of data and handshaking signals

– characterization of communication media

– maintains an actual electrical connection with its peers. Other layers uses virtual connections

Page 55: NETWORKS

The Link Layer

• The Link Layer of data link control arranges the bits into frames

• Most common protocol is ISO high-level Data Link Control Procedures (ISO 3309)

Page 56: NETWORKS

The Link Layer

• This layer– Establishes and releases one or more link

connections

– exchanges data-link service data units (DLSDUs)-frames

– identifies end-points

– keeps DLSDUs / frames in proper sequence

Page 57: NETWORKS

The Link Layer

– notifies the network layer when errors are detected

– controls data flow

– selects optional qualityof service parameters

Page 58: NETWORKS

The Network Layer

• Arranges data into packets– Adds the network information to the

frames to form packets

• SLIP– Serial Line Internet Protocol is network

layer protocol

– uses the EIA-232 Physical layer

– Internet protocol is a network layer protocol

Page 59: NETWORKS

The Network Layer

– keep track of the network node address while routing outgoing packets and recognizing packets that are intended for the local node

Page 60: NETWORKS

The Network Layer

• ARP– Address Resolution Protocol provides

addresses form required by IP

– User may specify the datagram route

– APR will stay aware of manually generated routing tables for the datagram routing function

Page 61: NETWORKS

The Network Layer

•in CCITT x.25 protocol the network layer is called the packet layer.

Page 62: NETWORKS

The Network Layer

• The function provided by the network layer are

– network addressing and identifiers

– network connections and release

– transmission of network service data units NSDU’s (packets)

– quality of service parameters

Page 63: NETWORKS

The Network Layer

– notifies the transport layer of errors

– flow control

– expedited service network

– may provide sequenced delivery

Page 64: NETWORKS

The Network Layer

• Two types of network layer protocols

– connection oriented

– connectionless

Page 65: NETWORKS

Connection Protocol

• set up a virtual circuit (VC) between two end points

• Advantage is that since each packet does not contain complete addressing information, the overhead is lower

Page 66: NETWORKS

Connectionless Protocol

• Uses a datagram (DG) which contains complete addressing information in each packet so that it can use any variable route through the network

Page 67: NETWORKS

Connectionless Protocol

• The advantage is that packets may freely choose the best available routes for the transfer rather than being stuck on a VC with variable quality

Page 68: NETWORKS

The Transport Layer

• uses transport protocol data units (TPDU)

• TPDU = packets + transport layer data

• TCP = transmission control protocol

Page 69: NETWORKS

The Transport Layer

• This layer ensures that– all data send is received completely

– is sequenced

– transmission of TPDU messages

– multiplexing and demultiplexing to share a net connection between two or more Xport connections

Page 70: NETWORKS

The Transport Layer

– error detection

– error recovery

– connection establishment

– data xfer

– release of connections

Page 71: NETWORKS

The Transport Layer

• CCITT transport protocol in X.224 says there are 5 classes of transport classes

– 0. simple class

– 1. error recovery

– 2. multiplexing

– 3. error recovery and multiplexing

– 4. error detection and recovery class

Page 72: NETWORKS

The Transport Layer

• The amount of work done is dependent on the protocol (VC or datagram) used at the network layer

Page 73: NETWORKS

The Transport Layer

• Datagrams may arrive out of sequence, in a connectionless net, and buffers may be needed to resequence

• connection nets allow a leaner transport layer

Page 74: NETWORKS

Session Layer

• Organizes data into SPDU (session protocol data units)

Page 75: NETWORKS

Session Layer

• This layer does– dialog management

– Data flow control

– mapping address with name (domain name service)

– graceful or abrupt disconnection

– buffering data until delivery time

Page 76: NETWORKS

Session Layer

• has phases of service– connection establishment

– data xfer

– connection release

Page 77: NETWORKS

Presentation Layer

• responsible for the terminal management

• Performs – transfer of syntax for character sets, text

strings data display format, graphics file organization and data types

Page 78: NETWORKS

Presentation Layer

– data encoding, decoding and compacting

– interpret character sets ( i.e. ASCII)

– code conversion

Page 79: NETWORKS

Application Layer

• The only layer which does not interface with a higher one

• It does– log in identification of communication

partners

– password checking and authority to communicate

Page 80: NETWORKS

Application Layer

– determine adequacy of resources

– determine acceptable quality of service

– synchronization of application programs

– selecting the dialog procedures

– agreement on error-recovery responsibility

– procedures for control of data integrity

– identifying data syntax constraints

Page 81: NETWORKS

Application Layer

• has 5 groups– 1. System management protocols

– 2. Application management protocols

– 3. System protocols

– 4. Industry specific protocols

– 5. Enterprise protocols

Page 82: NETWORKS

Things you need to get started on a LAN

• IP ADDRESS– this a 32 bit number issued by your local IP

coordinator

– it is expressed as 4 numbers separated by periods

– looks like 44.112.0.200.

Page 83: NETWORKS

Things you need to get started on a LAN

• HOST TABLE– A file that list all the folks around you that

also have IP addresses

– It must have your IP address and hostname (call sign) at least

Page 84: NETWORKS

Things you need to get started on a LAN

• HOST TABLE– you can get this from your coordinator

– It looks like this

44.112.0.1 unix.n3cv1

44.112.0.2 w3vc

44.112.0.3 darth.wa3yoa