service providers & data link & physical layers week 4 lecture 1

23
Service Providers & Data Link & Physical layers Week 4 Lecture 1

Post on 21-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Service Providers &Data Link & Physical layers

Week 4 Lecture 1

Page 2: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Internet Architecture

Application layer – HTTP, SMTP etc

Transport layer – TCP, UDP

Network layer - IP

Data link & Physical layers – the territory of the Lan & Telcos

W3C

IETF

ITUIEEE

Page 3: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Local Area Networks (LAN)

• Nearly all organisation have a LAN in each office

• All devices are connected to the LAN

• LANs are then connected to the WAN via a router and firewall

• LANs provide file and print services, and application and database servers

Page 4: Service Providers & Data Link & Physical layers Week 4 Lecture 1

WAN

Workstations

Router &Firewall

File server

Application & Database Servers

Printers

Page 5: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Main characteristics

• Owned & Operated by the Organisation

• Single geographic area, usually a building

• Relatively fast media

• Most common protocol is Ethernet using CSMA-CD

Page 6: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Bus topology using Co-axial cable

Page 7: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Hub topology using UTP

Page 8: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Floor 15

Floor 14

Floor 13

Machine roomRouter

Servers

WAN

All wires would be100mbps UTP Cat 5

Backbone could be Optic fibre

Page 9: Service Providers & Data Link & Physical layers Week 4 Lecture 1

LAN Protocols• Most likely to be CSMA/CD at the data link layer• Carrier Sense Multiple Access/Collision Detection• Adaptor listens to see if other devices are transmitting – if

not, it sends• Adaptors looks for own packets and accepts• If a collision occurs (propagation delay), the sending

adaptors back-off for a random amount of time and then re-transmits

• CSMA/CD is a connectionless, unreliable service• The IP address is converted to the adaptor address by the

Address Resolution Protocol module on each Internet host and Router

Page 10: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Ethernet speeds

• Ethernet - 10mb

• Fast Ethernet - 100mb

• Gigabit Ethernet - 1000mb

• 10 Gigabit Ethernet - 10000mb

Page 11: Service Providers & Data Link & Physical layers Week 4 Lecture 1

TCP/IP

Frame Relay/ATM

ATM/Fibre

CSMA/CD CSMA/CD

Routers

Local ISP POP

City carrier hubs

Page 12: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Devices in the network

• Network Adaptors

• Hubs

• Bridges

• Switches

• Routers

• Firewalls

Page 13: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Network adaptors

• Adaptor, NIC or PCMCIA card – connects the device to the network– Implements the data link layer and physical

layer in hardware– Chip set makes adaptors relatively cheap– It is semi-autonomous - accepts and hands over

IP packets – full responsibility for transmission & error control

– Each adaptor has a unique 6 byte address. IEEE allocates address ranges to manufacturers

Page 14: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Hubs

• Essentially a repeater – when it receives a bit it sends it down the other links to other adaptors and hubs – thus includes all devices in the one collision zone

• Physical layer devices

• Carries out some network management functions – if an adaptor malfunctions and floods the Ethernet it can internally disconnect the link – collects some statistics

• Extends the length of the LAN as each link has a discrete limit - 200 metres

Page 15: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Bridges & Switches

• They operate on Ethernet frames and are layer 2 devices– they are store and forward devices but use LAN addresses – LAN

devices

• Acts as a switch and only sends frames down a link on which the destination address is. Thus it can break a LAN into discrete collision zones – single tree

• Uses MAC addresses• It also connects links at different bandwidths i.e. 10mbps and

100mbps• They are plug & play devices and self learn what devices are

on what links. • But if there are multiple paths they could generate duplicate

packets, so they disable duplicate paths.

Page 16: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Floor 15

Floor 14

Floor 13

Machine roomRouter

Servers

WAN

All wires would be100mbps UTP Cat 5

Optic fibre

Page 17: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Network Devices

Application

Transport

Network

Link

Physical

Link

Physical

Network

Link

Physical

Application

Transport

Network

Link

Physical

Host Bridge orSwitch

Router Host

Physical

Hub

Page 18: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Routers

• Routers send packets on best path to the destination. This is necessary for path redundancy

• Because they operate at layer 3 they are inherently slower than bridges but more complex technologies are compensating – Route on IP addresses can use different paths

• They maintain separate network segments• LAN or WAN devices• Can be used as simple firewalls by filtering out packets

within an organisation• Vary between core trunk routers to SOHO routers for less that

$1500.

Page 19: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Router design

• Bus with CPU software switching• Bus with intelligent line cards• Non blocking cross bar switching with up to

5 TBPS switching. Cisco 12000 series is an example. Juniper Networks, Avici and Lucent have similar capacity routers

• Switching decisions on 100m packets per second

Page 20: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Application ApplicationProcess

Application layer

Message

Page 21: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Application ApplicationProcess

Transport layer

Message

Transport TransportSegmentHost

Page 22: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Application ApplicationProcess

Network layer

Message

Transport TransportSegmentHost

Network Network NetworkHost & Router

Datagram Datagram

Page 23: Service Providers & Data Link & Physical layers Week 4 Lecture 1

Application ApplicationProcess

Link layer

Message

Transport TransportSegmentHost

Network NetworkHost & Router

Datagram Datagram

Link Link

Host, router& switch

Frame Frame

LinkLink LinkLink

LinkNetwork