introduction to networking.… · presentation session transport network data link physical ......

Post on 07-Aug-2018

226 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Introduction to NetworkingChapters 1 and 2

www.classdemo.com

Outline

• Computer Network Fundamentals• Defining a Network

• Networks Defined by Geography

• Networks Defined by Topology

• Networks Defined by Resource Location

OSI Reference Model

• The TCP/IP Stack

• Common Application Protocols

www.classdemo.com

Computer Network Fundamentals

• The Purpose of Networks• …is to make connections

• File sharing between two computers

• E-mail

• Voice over IP (VoIP), to replace traditional telephony systems

www.classdemo.com

Sample Computer Network

www.classdemo.com

Networks Defined by Geography

• LAN: Local-Area Network

• WAN: Wide-Area Network

www.classdemo.com

LAN

802.3

802.11x

www.classdemo.com

WAN

Two geographically dispersed locations

MPLS

ATM

Frame Relay

www.classdemo.com

Networks Defined by Geography

www.classdemo.com

Network Category Description

MAN Covers an area equivalent to a city or other municipality.

CANCovers an area equivalent to an academic campus or business

park. A CAN is typically owned or used exclusively by an entity.

PANConnects two to three computers with cables and is most often

seen in small or home offices.

WPAN

Connects wireless devices in very close proximity but not through

a Wireless Access Point (WAP).

Infrared and Bluetooth are some technologies used for connecting

devices in a WPAN.

Networks Defined by Topology

• Physical VS. Logical • The way components are physically interconnected determines the physical topology.

• The actual traffic flow determines the logical topology.

www.classdemo.com

Physical Star

The computers are physically connect to a centralized device (MAU)

www.classdemo.com

1

2

34

5

Logical Ring

The traffic flow actually loops round-and-round the network.

www.classdemo.com

1

2

34

5

T-connectorTerminator

Nodes are arranged in a

linear format

Physical Bus

www.classdemo.com

31 2

Physical Ring

Traffic flows in a circular fashion around a closed network loop (that is, a ring).

www.classdemo.com

1

2

34

5

Flow of data is unidirectional

to avoid collisions

Has upstream and

downstream neighbors

Logical Bus

www.classdemo.com

Hub

Hub and SpokeA WAN link from each remote site (that is, a spoke site ) to the main site (that is, the hub site.

www.classdemo.com

Full Mesh

Directly connects every site to every other site.

Highly fault tolerant

n(n-1)/2

www.classdemo.com

Partial -MeshHybrid of the previously described hub-and-spoke topology and full-mesh topology.

Designed to provide an optimal route between selected sites, while avoiding the expense of interconnecting every site to every other site.

www.classdemo.com

Networks Defined by Resource Location

• Centralized

• Client/Server

• Peer-to-Peer

www.classdemo.com

Centralized

Hosts

Terminals

www.classdemo.com

Connect to the host via

terminals or terminal emulators

Client/Server

Commonly used by businesses.

Administration is easier.

www.classdemo.com

Peer – to –Peer Allow interconnected devices (for example, PCs) to share their resources with one another.

Commonly seen in smaller businesses and in homes

www.classdemo.com

OSI Reference Model

www.classdemo.com

Please Do Not Throw Sausage Pizza Away

Application

Presentation

Session

Transport

Network

Data link

Physical

Sender Receiver

OSI 7 Layer Model (encapsulation)

www.classdemo.com

OSI 7 Layer Model (encapsulation)

www.classdemo.com

Application

www.classdemo.com

• To provide services and utilities so that applications can access the network.

Presentation

Encode (Format)

Compress (LZMA)

Encrypt (SSL, TLS)

www.classdemo.com

Session

www.classdemo.com

• A session can be thought of as a conversation that needs to be treated separately from other sessions to avoid intermingling of data from different conversations.

Session

netstat -a

www.classdemo.com

Transport

www.classdemo.com

• Messages are taken from upper layers (Layers 5–7) and are encapsulated into segments for transmission to the lower layers (1–3)

Transport

• TCP

• Connection

• Sequential Numbering

• Windows

• ACK

• UDP

• Connectionless

• Single Segments

• Streaming

• No ACK

www.classdemo.com

TCP – Windowing/Buffering

www.classdemo.com

• One or more segments are sent at one time, and a receiver can acknowledge the receipt of all the segments in a window with a single acknowledgment.

TCP Header

www.classdemo.com

UDP Header

www.classdemo.com

Network

www.classdemo.com

• Primarily concerned with forwarding data based on logical addresses.

Packet Header

www.classdemo.com

Data Link

www.classdemo.com

• Concerned with packaging data into frames and transmitting those frames on the network.

Frame Header

www.classdemo.com

Physical

Concerned with the transmission of bits on the network along with the physical and electrical characteristics of the network.

www.classdemo.com

Physical - Current State Modulation

www.classdemo.com

Physical - Transition Modulation

www.classdemo.com

Physical - Wiring Connectors

www.classdemo.com

Bandwidth Usage

BROADBAND - ANALOG

• Divides the bandwidth into different channels

BASEBAND - DIGITAL

• Uses all available frequencies

www.classdemo.com

Multiplexing Strategy

Time-division multiplexing (TDM)

www.classdemo.com

Multiplexing Strategy

www.classdemo.com

Statistical time-division multiplexing

Multiplexing Strategy • Frequency division multiplexing

www.classdemo.com

OSI – TCP/IP

www.classdemo.com

Port Numbers

www.classdemo.com

Application Layer Protocols – Pt 1

Protocol Description TCP Port UDP Port

FTP File Transfer Protocol: Transfers files with a remote host (typically requires authentication of user credentials)

20 and 21

SSH Secure Shell: Securely connect to a remote host (typically via a terminal emulator)

22

SFTP Secure FTP: Provides FTP file-transfer service over a SSH connection

22

SCP Secure Copy: Provides a secure file-transfer service over a SSH connection and offers a file’s original date and time information, which is not available with FTP

22

Telnet Telnet: Used to connect to a remote host (typically via a terminal emulator)

23

www.classdemo.com

Application Layer Protocols – Pt 2

Protocol Description TCP Port UDP Port

rsh Remote Shell: Allows commands to be executed on a computer from a remote user

514

DNS Domain Name System: Resolves domain names to corresponding IP addresses

53 53

NetBIOS Network Basic Input/Output System: Provides network communication services for LANs that use NetBIOS

139 137, 138

SMB Server Message Block: used to share files, printers, and other network resources

445

TFTP Trivial File Transfer Protocol: Transfers files with a remote host (does not require authentication of user credentials)

69

www.classdemo.com

Application Layer Protocols – Pt 3

Protocol Description TCP Port UDP Port

DHCP Dynamic Host Configuration Protocol: Dynamically assigns IP address information (for example, IP address, subnet mask, DNS server’s IP address, and default gateway’s IP address) to a network device

67, 68

HTTP Hypertext Transfer Protocol: Retrieves content from a web server 80

HTTPS Hypertext Transfer Protocol Secure: Used to securely retrieve content from a web server

443

SMTP Simple Mail Transfer Protocol: Used for sending e-mail 25

POP3 Post Office Protocol Version 3: Retrieves e-mail from an e-mail server

110

www.classdemo.com

Application Layer Protocols – Pt 4

Protocol Description TCP Port UDP Port

IMAP4 Internet Message Access Protocol Version 4: Retrieves e-mail from an e-mail server

143

NNTP Network News Transport Protocol: Supports the posting and reading of articles on Usenet news servers

119

NTP Network Time Protocol: Used by a network device to synchronize its clock with a time server (NTP server)

123

LDAP Lightweight Directory Access Protocol: Provides directory services (for example, a user directory— including username, password, e-mail, and phone number information) to network clients

389

RTSP Real Time Streaming Protocol: Communicates with a media server (for example, a video server) and controls the playback of the server’s media files

554 554

www.classdemo.com

Application Layer Protocols – Pt 5

Protocol Description TCP Port UDP Port

RDP Remote Desktop Protocol: A Microsoft protocol that allows a user to view and control the desktop of a remote computer

3389

SNMP Simple Network Management Protocol: Used to monitor and manage network devices

161

SIP Session Initiation Protocol: Used to create and end sessions for one or more media connections, including Voice over IP calls

5061 5060

MGCP Media Gateway Control Protocol: Used as a call control and communication protocol for Voice over IP networks

2427, 2727

H.323 H.323 is a signaling protocol that provides multimedia communications over a network

1720

RTP Real-time Transport Protocol: Used for delivering media-based data over networks, such as Voice over IP

5004, 5005 5004, 5005

www.classdemo.com

Analyze a scenario and determine the corresponding OSI layer

Layer Function Hardware / Other PDU

7. Application To provide utilities so that applications can access the network.

Content Switches, Proxy Servers

6. Presentation Encode, Compress, Encrypt PDF, jpg, ASCII, TIFF

5. Session Establish and maintain communications Sockets

4. Transport Ensure reliable delivery of data Gateway / TCP, UDP Segment

3. Network Find the best route Routers / RIP, OSPF, EIGRP, BGP Packet

2. Data Link Addressing, Error Detection, Carrier Sense Switches / Vlans / STP, VTP Frame

1. Physical The electrical characteristics or voltage Hubs, Media Bits

www.classdemo.com

Introduction to NetworkingChapters 1 and 2

www.classdemo.com

top related