Objectives: Chapter 1: Introduction Types of Networks OSI Reference Model (7 Layers) TCP/IP Model...

38
Objectives: Chapter 1: Introduction Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies

Transcript of Objectives: Chapter 1: Introduction Types of Networks OSI Reference Model (7 Layers) TCP/IP Model...

Page 1: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Objectives:

Chapter 1: Introduction

Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies

Page 2: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Business Applications of Networks

A network with two clients and one server.

Page 3: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Business Applications of Networks (2)

The client-server model involves requests and replies.

Page 4: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Client/Server

In a client/server arrangement, network services are located on a dedicated computer called a server. The server responds to the requests of clients.

The client/server model of networking can be used to overcome the limitations of the peer-to-peer network.

Page 5: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Home Network Applications (2)

In peer-to-peer system there are no fixed clients and servers.

Page 6: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Peer-to-Peer Networks

In a peer-to-peer network, networked computers act as equal partners, or peers.

In a peer-to-peer network, individual users control their own resources.

The users may decide to share certain files with other users.

The users may also require passwords before allowing others to access their resources.

Page 7: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Network Hardware

• Local Area Networks

• Metropolitan Area Networks

• Wide Area Networks

• Wireless Networks

• Home Networks

Page 8: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Broadcast Networks (2)

Classification of interconnected processors by scale.

Page 9: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Network Types

- Local area networks (LANs), which connect over a relatively small geographical area, typically connecting computers within a single office or building. In most cases they connect to a common electronic connection – commonly known as a network backbone. LANs can connect to other networks either directly or through a WAN or MAN.

- Metropolitan area networks (MANs), which normally connect networks around a town or city based on cable TV. It is smaller than a WAN, but larger than a LAN.

- Wide area networks (WANs), which connect networks over a large geographical area, such as between different buildings, towns or even countries.

Page 10: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Local Area Networks

Two broadcast networks(a) Bus(b) Ring

Page 11: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Metropolitan Area Networks

A metropolitan area network based on cable TV.

Page 12: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Wide Area Networks

Relation between hosts on LANs and the subnet.

Page 13: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Wireless Networks

Categories of wireless networks:

• System interconnection

• Wireless LANs

• Wireless WANs

Page 14: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Network Software

• Protocol Hierarchies• Design Issues for the Layers• Connection-Oriented and Connectionless Services• Service Primitives• The Relationship of Services to Protocols

Page 15: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Protocol Hierarchies (2)

The philosopher-translator-secretary architecture.

Page 16: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Design Issues for the Layers

• Addressing• Error Control• Flow Control• Multiplexing• Routing

Page 17: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Connection-Oriented and Connectionless Services

Six different types of service.

• Flow Control

• Error checking and correction

Page 18: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Service Primitives

Five service primitives for implementing a simple connection-oriented service.

Page 19: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Service Primitives (2)

Packets sent in a simple client-server interaction on a connection-oriented network.

Page 20: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Services to Protocols Relationship

The relationship between a service and a protocol.

Page 21: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Reference Models

• The OSI Reference Model

• The TCP/IP Reference Model

• A Comparison of OSI and TCP/IP

• A Critique of the OSI Model and Protocols

• A Critique of the TCP/IP Reference Model

Page 22: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

PhysicalPhysical

Data linkData link

NetworkNetwork

TransportTransport

SessionSession

PresentationPresentation

ApplicationApplication

PhysicalPhysical

Data linkData link

NetworkNetwork

TransportTransport

SessionSession

PresentationPresentation

ApplicationApplicationA

A

A

A

A

A

P

P

P

P

P

S

S

S

S

T

T

T

N

ND D

Virtualdata flow

Actual data flow

Sender Receiver

OSI Model

Page 23: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

PhysicalPhysical

Data linkData link

NetworkNetwork

TransportTransport

SessionSession

PresentationPresentation

ApplicationApplication

PhysicalPhysical

Data linkData link

NetworkNetwork

TransportTransport

SessionSession

PresentationPresentation

ApplicationApplicationA

A

A

A

A

A

P

P

P

P

P

S

S

S

S

T

T

T

N

ND D

Virtualdata flow

Actual data flow

Sender Receiver

PhysicalPhysical

Data linkData link

NetworkNetwork

TransportTransport

SessionSession

PresentationPresentation

ApplicationApplication

PhysicalPhysical

Data linkData link

NetworkNetwork

TransportTransport

SessionSession

PresentationPresentation

ApplicationApplication

PhysicalPhysical

Data linkData link

NetworkNetwork

TransportTransport

SessionSession

PresentationPresentation

ApplicationApplicationA

A

A

A

A

A

P

P

P

P

P

S

S

S

S

T

T

T

N

ND D

Virtualdata flow

Actual data flow

Sender Receiver

OSI 7-layered Model

OSI 7-layer Model (International Standards Organisation)Allow manufacturers of different systems to interconnect their equipment through standard interfaces. Allow software and hardware to integrate well and be portable on differing systems.Create a model which all the countries of the world use.

OSI 7-layer Model (International Standards Organisation)Allow manufacturers of different systems to interconnect their equipment through standard interfaces. Allow software and hardware to integrate well and be portable on differing systems.Create a model which all the countries of the world use.

Example layersPhysical/Data Link: Ethernet/FDDI/ISDN/etcNetwork: IP (Internet) or IPX (NetWare)Transport: TCP (Internet) or SPX (NetWare)Session-Application: HTTP/FTP/TELNET/SMTP/etc

Example layersPhysical/Data Link: Ethernet/FDDI/ISDN/etcNetwork: IP (Internet) or IPX (NetWare)Transport: TCP (Internet) or SPX (NetWare)Session-Application: HTTP/FTP/TELNET/SMTP/etc

Page 24: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

OSI Layers

Transport. Provides for reliable end-to-end error and flow control. The network layer does not validate that the data packet has been successfully received, thus it is up to the transport layer to provide for error and flow control.Network. Defines the protocols that are responsible for delivering the data to the required destination.Data link. Provides for the access to the network media and thus builds on the physical layer. It takes data packets from the upper level and frames it so that it can be transmitted from one node to another. Physical. Defines the electrical characteristics of the communications channel and the transmitted signals, such as voltage levels, connector types, cabling, and so on.

Transport. Provides for reliable end-to-end error and flow control. The network layer does not validate that the data packet has been successfully received, thus it is up to the transport layer to provide for error and flow control.Network. Defines the protocols that are responsible for delivering the data to the required destination.Data link. Provides for the access to the network media and thus builds on the physical layer. It takes data packets from the upper level and frames it so that it can be transmitted from one node to another. Physical. Defines the electrical characteristics of the communications channel and the transmitted signals, such as voltage levels, connector types, cabling, and so on.

Application. Provides application pro grams, such as file transfer, print access and electronic mail.Presentation. Transforms the data into a form which the session layer and the application layer expect. It can perform encryption, translating character sets (such as converting binary values into text for transmitting a binary program over a text-based system), data compression and network redirections.Session. Setting up, maintaining and closing down of a session. It should not depend on any specific transport or network layer, and should be able to communicate as if the session was created on a stand-alone computer (that is, the network is transparent to the session layer).

Application. Provides application pro grams, such as file transfer, print access and electronic mail.Presentation. Transforms the data into a form which the session layer and the application layer expect. It can perform encryption, translating character sets (such as converting binary values into text for transmitting a binary program over a text-based system), data compression and network redirections.Session. Setting up, maintaining and closing down of a session. It should not depend on any specific transport or network layer, and should be able to communicate as if the session was created on a stand-alone computer (that is, the network is transparent to the session layer).

PhysicalPhysical

Data linkData link

NetworkNetwork

TransportTransport

SessionSession - Application

Data linkEthernet/ATM/FDDI

NetworkIP/IPX

TransportTCP/SPX

SessionHTTP/FTP

Page 25: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

RouterRouter

RouterRouter

Data linklayer

Networklayer

Data stream

Transportlayer

ApplicationApplicationApplicationApplication

ApplicationApplication

ApplicationApplicationApplicationApplication

ApplicationApplication

MACaddressin NIC Network

address

Socket

Physicallayer

OSI Layers

Page 26: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Reference Models

The OSI reference model.

PDU: Protocol Data Unit

Page 27: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

TCP/IP Model

The TCP/IP reference model.

Page 28: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Reference Models (3)

Protocols and networks in the TCP/IP model initially.

Page 29: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Architecture of the Internet

Overview of the Internet.

Page 30: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

IEEE 802 Standards

The 802 working groups. The important ones are marked with *. The ones marked with are hibernating. The one marked with † gave up.

Page 31: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

OSI Layer Devices

Page 32: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

RepeaterRepeater

Network segment (repeater extends the network segment)

RouterRouter

Bridge only forwards if thestation (or MAC) address is not on the connected network segment that it originated from. Broadcasts are also passed over.

BridgeBridge

Router only forwards if the network address is on anothernetwork. It does not forward broadcasts.

Network segment bounded by a router or a bridge

Repeaters, bridges, Switches and routers

Page 33: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Network TypesRouter

NetworkNetwork

Data LinkData Link

PhysicalPhysical A router routes with the network address (such as the IP address)

Data LinkData Link

PhysicalPhysical A bridge routes withthe MAC address

PhysicalPhysical A repeater boosts thesignal

Repeater

Bridge

Page 34: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Network / Physical topologies

Page 35: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Star Network

Centralserver

Star NetworkAdvantages:Since the data rate is relatively low between central server and the node, a low-specification twisted-pair cable can be used connect the nodes to the server. A fault on one of the nodes will not affect the rest of the network. Typically, mainframe computers use a central server with terminals connected to it.Disadvantages:Network is highly dependent upon the operation of the central server. If it were to slow significantly then the network becomes slow. In addition, if it were to become un-operational then the complete network would shut down.

Star NetworkAdvantages:Since the data rate is relatively low between central server and the node, a low-specification twisted-pair cable can be used connect the nodes to the server. A fault on one of the nodes will not affect the rest of the network. Typically, mainframe computers use a central server with terminals connected to it.Disadvantages:Network is highly dependent upon the operation of the central server. If it were to slow significantly then the network becomes slow. In addition, if it were to become un-operational then the complete network would shut down.

Page 36: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Bus network

Common bus

All computers have access toa common bus at the same time

Ethernet hub

Bus networkUses a multi-drop transmission medium.All nodes on the network share a common bus and all share communications. This allows only one device to communicate at a time. A distributed medium access protocol determines which station is to transmit. data frames contain source and destination addresses, where each station monitors the bus and copies frames addressed to itself.

Twisted-pair cables give data rates up to 100Mbps, whereas, coaxial and fibre optic cables give higher bit rates and longer transmission distances. Gigabit Ethernet is now available (1Gbps).

A typical bus network is Ethernet 2.0.

Bus networkUses a multi-drop transmission medium.All nodes on the network share a common bus and all share communications. This allows only one device to communicate at a time. A distributed medium access protocol determines which station is to transmit. data frames contain source and destination addresses, where each station monitors the bus and copies frames addressed to itself.

Twisted-pair cables give data rates up to 100Mbps, whereas, coaxial and fibre optic cables give higher bit rates and longer transmission distances. Gigabit Ethernet is now available (1Gbps).

A typical bus network is Ethernet 2.0.Advantages:Good compromise over the other two topologies as it allows relatively high data rates. If a node goes down, it does not affect the rest of the network.

Disadvantages:Requires a network protocol to detect when two nodes are transmitting at the same time. Does not cope well with heavy traffic rates.

Advantages:Good compromise over the other two topologies as it allows relatively high data rates. If a node goes down, it does not affect the rest of the network.

Disadvantages:Requires a network protocol to detect when two nodes are transmitting at the same time. Does not cope well with heavy traffic rates.

Page 37: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Token Ring (example data exchange)

ControlToken(a)

DataFrame(b)

ControlToken

(d)

Ack.A

D

C

B

(c)

Token RingControl token rotates round the ring.Node wishing to transmit data captures the token.Node captures token and transmits a data frame.Data frame rotates round network.All nodes read the frame and determine if the data is for them.Destination node reads the data, and sets an acknowledgement flag.Data frame continues round the network, until the source node receives it.Source node puts the control token back on the ring.

Token RingControl token rotates round the ring.Node wishing to transmit data captures the token.Node captures token and transmits a data frame.Data frame rotates round network.All nodes read the frame and determine if the data is for them.Destination node reads the data, and sets an acknowledgement flag.Data frame continues round the network, until the source node receives it.Source node puts the control token back on the ring.

Page 38: Objectives: Chapter 1: Introduction  Types of Networks OSI Reference Model (7 Layers) TCP/IP Model Network Devices Network Topologies.

Concentrator (or hub)

Concentrator (or hub)

Network backbone

Tree topology Tree topologyResources should be grouped logically when attached to hubs, such as local file servers, printers, and so on.

Advantages:Nodes local to a hub can communicate with each other without the data traffic going onto other network segments.A fault on a single computer or a hub does not bring the whole network down.Communication between the hub and the computer has relatively low data transfers, as opposed to the transfer connected hubs to hubs.Easy to connect and disconnect to.

Disadvantages:Network may suffer from slow data transfer if the network is not planned to reflect tree topology. Typically network is created with workgroups.

Most networking technologies now use hubs to connect to.Typically for Ethernet and Token Ring networks.

Tree topologyResources should be grouped logically when attached to hubs, such as local file servers, printers, and so on.

Advantages:Nodes local to a hub can communicate with each other without the data traffic going onto other network segments.A fault on a single computer or a hub does not bring the whole network down.Communication between the hub and the computer has relatively low data transfers, as opposed to the transfer connected hubs to hubs.Easy to connect and disconnect to.

Disadvantages:Network may suffer from slow data transfer if the network is not planned to reflect tree topology. Typically network is created with workgroups.

Most networking technologies now use hubs to connect to.Typically for Ethernet and Token Ring networks.

Workgroup- with printer- file server- etc