Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building a Network - Requirements

Similar presentations


Presentation on theme: "Building a Network - Requirements"— Presentation transcript:

1 Building a Network - Requirements

2 The University of Adelaide, School of Computer Science
13 April 2018 Requirements Application Programmer List the services that his application needs: delay bounded delivery of data Network Designer Design a cost-effective network with sharable resources Network Provider (usually called Service Provider, for the Inernet, it ISP) List the characteristics of a system that is easy to administer and manage. Add new clients and remove/isolate faulty nodes Chapter 2 — Instructions: Language of the Computer

3 Requirements Connectivity Cost-Effective Resource Sharing
Support for Common Services Reliability Manageability

4 Connectivity Need to understand the following terminologies
Scale: A system that is designed to support growth to an arbitrarily large size Link: Physical medium that connects nodes Node: a device (could be a computer, switch, etc) on the network Point-to-point: direct link between two nodes Multiple access: multiple nodes share the same link Point-to-point Multiple access

5 Connectivity Switched Network: a network that uses switches for forwarding Circuit Switched Telephone companies Dedicated/reserved when connection is established Less utilization of the resources Packet Switched Overwhelming majority of computer networks Messages are divided into pieces (discrete blocks) called packets No dedication is required More sharing, thus more utilization Store-and-forward: a switch stores the incoming traffic (packets) in its own buffers then forwards them.

6 Connectivity Cloud: used to represent any kind of network technology
Point-to-point, multiple-access, or switched network Hosts: nodes outside the cloud (usually computer or end users devices and use the network) Switches: nodes inside the cloud and implement the network (store and forward packets) Internetwork (or internet with small “i”): a set of independent interconnected networks (clouds) Internet (with big “I”): is the globally known network

7 Connectivity Router/gateway: connects two or more networks (plays much the same role as a switch—stores and forwards) Host-to-host connectivity: hosts can talk to hosts Address: the way to find nodes. It is a byte string that identifies a node. Routing: the process of determining systematically how to forward messages toward the destination node based on its address Unicast: send to single destination Broadcast: send to all nodes on the network Multicast: send to subset of nodes

8 Connectivity (a) (b) A switched network Interconnection of networks

9 Cost-Effective Resource Sharing
Resource: links and nodes How to share a link? Multiplexing Analogy to a timesharing computer system De-multiplexing Synchronous Time-division Multiplexing (STDM) Equal-sized quanta Round-robin fashion Time slots/data transmitted in predetermined slots Multiplexing multiple logical flows over a single physical link

10 Cost-Effective Resource Sharing
FDM: Frequency Division Multiplexing Diff. TV stations with diff. frequencies. Both STDM and FDM waste resources and hard to accommodate changes (fixed time slots and frequencies) Statistical Multiplexing Like STDM: sharing over time but data is transmitted based on demand rather than during a predetermined time slot

11 Statistical Multiplexing
Packets vs. Messages Fair decision: FIFO, Round-Robin, Priorities (Quality-of-Service (QoS) allocate bandwidth for a particular flows) A switch might run out of buffers because it receives data much faster than it can send on the shared link Congestion Start to drop packets A switch multiplexing packets from multiple sources onto one shared link

12 LAN, MAN, WAN, and SAN Characterize networks according to their size (they usually use diff. technologies): LAN: Local Area Network, typically less than 1km WAN: Wide Area Network, worldwide MAN: Metropolitan Area Network, tens of kilometers SAN: Systems/Storage Area Network, single room that has high-performance components (like leading-edge storage devices) connected together

13 Support for Common Services
Overly simplistic to think about network as simple delivering packets among a collection of computers But rather a means for application processes to communicate

14 Support for Common Services
One option would be for the app designers to build all that complicated functionality into each application. However, since many applications need common services, it is much more logical to build those common services once and let the app designers to use the services.

15 Support for Common Services
Process communicating over an abstract/logical channel

16 Support for Common Services
The challenge then is recognize what functionality the channel should provide to application programs: Reliable delivery?! Same order?! Eavesdropping parties?! In general, a network provides a variety of different types of channels An applications can choose the best that meets its needs

17 Common Communication Patterns
The University of Adelaide, School of Computer Science 13 April 2018 Common Communication Patterns Designing abstract channels involve Understanding representative collection of apps Extract the common needs Client/Server FTP (file transfer protocol), NFS (network file system), digital libraries like ACM Video conferencing Two-way traffic (or one-way with video on demand) No need to guarantee the delivery of ALL messages. Same order is required Might need multicast Chapter 2 — Instructions: Language of the Computer

18 Common Communication Patterns
Two types of common communication channels Request/Reply Channels Message Stream Channels It is dangerous to have too much abstractions Every application has to choose between the provided channels If you have a hammer then you might see everything looks like a nail,  Independent of exactly what functionality a given channel should provide is where this functionality should be implemented. On switches => dump hosts, like the telephone handsets On hosts => keep switches as simple as possible

19 The University of Adelaide, School of Computer Science
13 April 2018 Reliability Network should hide the errors Bits are lost Bit errors (1 to a 0, and vice versa) Burst errors – several consecutive errors Outside forces like: lightning strikes, microwave ovens, etc. Packets are lost (Congestion) Links and Node failures (crashes and misconfig.) Messages are delayed Messages are delivered out-of-order Third parties eavesdrop Chapter 2 — Instructions: Language of the Computer

20 Manageability Last requirement that is usually neglected
Making changes as the network grows to carry more traffic or reach more users Troubleshooting when something goes wrong or performance is not as desired Related to scalability Configuring new devices/routers is always problematic Needs more automation Great if it becomes plug-and-play (like home routers)

21 Requirements Summary A computer network must provide general, cost-effective, fair and robust connectivity among large number of computers. The network must be manageable by number of varying levels of skills

22 Network Architecture Example of a layered network system

23 Transmission Media

24 Overview Guided - wire Unguided - wireless
Characteristics and quality determined by medium and signal For guided, the medium is more important For unguided, the bandwidth produced by the antenna is more important Key concerns are data rate and distance

25 Design Factors Bandwidth Transmission impairments Interference
Higher bandwidth gives higher data rate Transmission impairments Attenuation Interference Number of receivers In guided media More receivers (multi-point) introduce more attenuation

26 Electromagnetic Spectrum

27 Guided Transmission Media
Twisted Pair Coaxial cable Optical fiber

28 Transmission Characteristics of Guided Media
Frequency Range Typical Attenuation Typical Delay Repeater Spacing Twisted pair (with loading) 0 to 3.5 kHz 0.2 1 kHz 50 µs/km 2 km Twisted pairs (multi-pair cables) 0 to 1 MHz 0.7 1 kHz 5 µs/km Coaxial cable 0 to 500 MHz 7 10 MHz 4 µs/km 1 to 9 km Optical fiber 186 to 370 THz 0.2 to 0.5 dB/km 40 km

29 Twisted Pair

30 Twisted Pair - Applications
Most common medium Telephone network Between house and local exchange (subscriber loop) Within buildings To private branch exchange (PBX) For local area networks (LAN) 10Mbps or 100Mbps

31 Twisted Pair - Pros and Cons
Cheap Easy to work with Low data rate Short range

32 Twisted Pair - Transmission Characteristics
Analog Amplifiers every 5km to 6km Digital Use either analog or digital signals repeater every 2km or 3km Limited distance Limited bandwidth (1MHz) Limited data rate (100MHz) Susceptible to interference and noise

33 Near End Crosstalk Coupling of signal from one pair to another
Coupling takes place when transmit signal entering the link couples back to receiving pair i.e. near transmitted signal is picked up by near receiving pair

34 Unshielded and Shielded TP
Unshielded Twisted Pair (UTP) Ordinary telephone wire Cheapest Easiest to install Suffers from external EM interference Shielded Twisted Pair (STP) Metal braid or sheathing that reduces interference More expensive Harder to handle (thick, heavy)

35 UTP Categories Cat 3 Cat 4 Cat 5 Cat 5E (Enhanced) –see tables Cat 6
up to 16MHz Voice grade found in most offices Twist length of 7.5 cm to 10 cm Cat 4 up to 20 MHz Cat 5 up to 100MHz Commonly pre-installed in new office buildings Twist length 0.6 cm to 0.85 cm Cat 5E (Enhanced) –see tables Cat 6 Cat 7

36 Comparison of Shielded and Unshielded Twisted Pair
Attenuation (dB per 100 m) Near-end Crosstalk (dB) Frequency (MHz) Category 3 UTP Category 5 UTP 150-ohm STP 1 2.6 2.0 1.1 41 62 58 4 5.6 4.1 2.2 32 53 16 13.1 8.2 4.4 23 44 50.4 25 10.4 6.2 47.5 100 22.0 12.3 38.5 300 21.4 31.3

37 Twisted Pair Categories and Classes
Category 3 Class C Category 5 Class D Category 5E Category 6 Class E Category 7 Class F Bandwidth 16 MHz 100 MHz 200 MHz 600 MHz Cable Type UTP UTP/FTP SSTP Link Cost (Cat 5 =1) 0.7 1 1.2 1.5 2.2

38 Coaxial Cable

39 Coaxial Cable Applications
Most versatile medium Television distribution Ariel to TV Cable TV Long distance telephone transmission Can carry 10,000 voice calls simultaneously Being replaced by fiber optic Short distance computer systems links Local area networks

40 Coaxial Cable - Transmission Characteristics
Analog Amplifiers every few km Closer if higher frequency Up to 500MHz Digital Repeater every 1km Closer for higher data rates

41 Optical Fiber

42 Optical Fiber - Benefits
Greater capacity Data rates of hundreds of Gbps Smaller size & weight Lower attenuation Electromagnetic isolation Greater repeater spacing 10s of km at least

43 Optical Fiber - Applications
Long-haul trunks Metropolitan trunks Rural exchange trunks Subscriber loops LANs

44 Optical Fiber - Transmission Characteristics
Act as wave guide for 1014 to 1015 Hz Portions of infrared and visible spectrum Light Emitting Diode (LED) Cheaper Wider operating temp range Last longer Injection Laser Diode (ILD) More efficient Greater data rate Wavelength Division Multiplexing

45 Optical Fiber Transmission Modes

46 Frequency Utilization for Fiber Applications
Wavelength (in vacuum) range (nm) Frequency range (THz) Band label Fiber type Application 820 to 900 366 to 333 Multimode LAN 1280 to 1350 234 to 222 S Single mode Various 1528 to 1561 196 to 192 C WDM 1561 to 1620 185 to 192 L

47 Attenuation in Guided Media

48 Wireless Transmission Frequencies
2GHz to 40GHz Microwave Highly directional Point to point Satellite 30MHz to 1GHz Omnidirectional Broadcast radio 3 x 1011 to 2 x 1014 Infrared Local

49 Antennas Electrical conductor (or system of..) used to radiate electromagnetic energy or collect electromagnetic energy Transmission Radio frequency energy from transmitter Converted to electromagnetic energy By antenna Radiated into surrounding environment Reception Electromagnetic energy impinging on antenna Converted to radio frequency electrical energy Fed to receiver Same antenna often used for both

50 Radiation Pattern Power radiated in all directions
Not same performance in all directions Isotropic antenna is (theoretical) point in space Radiates in all directions equally Gives spherical radiation pattern

51 Parabolic Reflective Antenna
Used for terrestrial and satellite microwave Parabola is locus of point equidistant from a line and a point not on that line Fixed point is focus Line is directrix Revolve parabola about axis to get paraboloid Cross section parallel to axis gives parabola Cross section perpendicular to axis gives circle Source placed at focus will produce waves reflected from parabola in parallel to axis Creates (theoretical) parallel beam of light/sound/radio On reception, signal is concentrated at focus, where detector is placed

52 Parabolic Reflective Antenna

53 Antenna Gain Measure of directionality of antenna
Power output in particular direction compared with that produced by isotropic antenna Measured in decibels (dB) Results in loss in power in another direction Effective area relates to size and shape Related to gain

54 Terrestrial Microwave
Parabolic dish Focused beam Line of sight Long haul telecommunications Higher frequencies give higher data rates

55 Satellite Microwave Satellite is relay station
Satellite receives on one frequency, amplifies or repeats signal and transmits on another frequency Requires geo-stationary orbit Height of 35,784km Television Long distance telephone Private business networks

56 Satellite Point to Point Link

57 Satellite Broadcast Link

58 Broadcast Radio Omnidirectional FM radio UHF and VHF television
Line of sight Suffers from multipath interference Reflections

59 Infrared Modulate noncoherent infrared light
Line of sight (or reflection) Blocked by walls e.g. TV remote control, IRD port

60 Wireless Propagation Signal travels along three routes Ground wave
Follows contour of earth Up to 2MHz AM radio Sky wave Amateur radio, BBC world service, Voice of America Signal reflected from ionosphere layer of upper atmosphere (Actually refracted) Line of sight Above 30Mhz May be further than optical line of sight due to refraction More later…

61 Ground Wave Propagation

62 Sky Wave Propagation

63 Line of Sight Propagation

64 Refraction Velocity of electromagnetic wave is a function of density of material ~3 x 108 m/s in vacuum, less in anything else As wave moves from one medium to another, its speed changes Causes bending of direction of wave at boundary Towards more dense medium Index of refraction (refractive index) is Sin(angle of incidence)/sin(angle of refraction) Varies with wavelength May cause sudden change of direction at transition between media May cause gradual bending if medium density is varying Density of atmosphere decreases with height Results in bending towards earth of radio waves

65 Optical and Radio Horizons

66 Line of Sight Transmission
Free space loss Signal disperses with distance Greater for lower frequencies (longer wavelengths) Atmospheric Absorption Water vapour and oxygen absorb radio signals Water greatest at 22GHz, less below 15GHz Oxygen greater at 60GHz, less below 30GHz Rain and fog scatter radio waves Multipath Better to get line of sight if possible Signal can be reflected causing multiple copies to be received May be no direct signal at all May reinforce or cancel direct signal Refraction May result in partial or total loss of signal at receiver

67 Free Space Loss

68 Multipath Interference


Download ppt "Building a Network - Requirements"

Similar presentations


Ads by Google