![Page 1: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/1.jpg)
Introduction to NetworkingChapters 1 and 2
www.classdemo.com
![Page 2: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/2.jpg)
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
![Page 3: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/3.jpg)
Computer Network Fundamentals
• The Purpose of Networks• …is to make connections
• File sharing between two computers
• Voice over IP (VoIP), to replace traditional telephony systems
www.classdemo.com
![Page 4: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/4.jpg)
Sample Computer Network
www.classdemo.com
![Page 5: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/5.jpg)
Networks Defined by Geography
• LAN: Local-Area Network
• WAN: Wide-Area Network
www.classdemo.com
![Page 6: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/6.jpg)
LAN
802.3
802.11x
www.classdemo.com
![Page 7: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/7.jpg)
WAN
Two geographically dispersed locations
MPLS
ATM
Frame Relay
www.classdemo.com
![Page 8: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/8.jpg)
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.
![Page 9: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/9.jpg)
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
![Page 10: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/10.jpg)
Physical Star
The computers are physically connect to a centralized device (MAU)
www.classdemo.com
1
2
34
5
![Page 11: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/11.jpg)
Logical Ring
The traffic flow actually loops round-and-round the network.
www.classdemo.com
1
2
34
5
![Page 12: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/12.jpg)
T-connectorTerminator
Nodes are arranged in a
linear format
Physical Bus
www.classdemo.com
31 2
![Page 13: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/13.jpg)
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
![Page 14: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/14.jpg)
Logical Bus
www.classdemo.com
Hub
![Page 15: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/15.jpg)
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
![Page 16: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/16.jpg)
Full Mesh
Directly connects every site to every other site.
Highly fault tolerant
n(n-1)/2
www.classdemo.com
![Page 17: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/17.jpg)
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
![Page 18: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/18.jpg)
Networks Defined by Resource Location
• Centralized
• Client/Server
• Peer-to-Peer
www.classdemo.com
![Page 19: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/19.jpg)
Centralized
Hosts
Terminals
www.classdemo.com
Connect to the host via
terminals or terminal emulators
![Page 20: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/20.jpg)
Client/Server
Commonly used by businesses.
Administration is easier.
www.classdemo.com
![Page 21: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/21.jpg)
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
![Page 22: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/22.jpg)
OSI Reference Model
www.classdemo.com
Please Do Not Throw Sausage Pizza Away
Application
Presentation
Session
Transport
Network
Data link
Physical
Sender Receiver
![Page 23: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/23.jpg)
OSI 7 Layer Model (encapsulation)
www.classdemo.com
![Page 24: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/24.jpg)
OSI 7 Layer Model (encapsulation)
www.classdemo.com
![Page 25: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/25.jpg)
Application
www.classdemo.com
• To provide services and utilities so that applications can access the network.
![Page 26: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/26.jpg)
Presentation
Encode (Format)
Compress (LZMA)
Encrypt (SSL, TLS)
www.classdemo.com
![Page 27: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/27.jpg)
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.
![Page 28: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/28.jpg)
Session
netstat -a
www.classdemo.com
![Page 29: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/29.jpg)
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)
![Page 30: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/30.jpg)
Transport
• TCP
• Connection
• Sequential Numbering
• Windows
• ACK
• UDP
• Connectionless
• Single Segments
• Streaming
• No ACK
www.classdemo.com
![Page 31: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/31.jpg)
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.
![Page 32: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/32.jpg)
TCP Header
www.classdemo.com
![Page 33: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/33.jpg)
UDP Header
www.classdemo.com
![Page 34: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/34.jpg)
Network
www.classdemo.com
• Primarily concerned with forwarding data based on logical addresses.
![Page 35: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/35.jpg)
Packet Header
www.classdemo.com
![Page 36: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/36.jpg)
Data Link
www.classdemo.com
• Concerned with packaging data into frames and transmitting those frames on the network.
![Page 37: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/37.jpg)
Frame Header
www.classdemo.com
![Page 38: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/38.jpg)
Physical
Concerned with the transmission of bits on the network along with the physical and electrical characteristics of the network.
www.classdemo.com
![Page 39: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/39.jpg)
Physical - Current State Modulation
www.classdemo.com
![Page 40: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/40.jpg)
Physical - Transition Modulation
www.classdemo.com
![Page 41: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/41.jpg)
Physical - Wiring Connectors
www.classdemo.com
![Page 42: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/42.jpg)
Bandwidth Usage
BROADBAND - ANALOG
• Divides the bandwidth into different channels
BASEBAND - DIGITAL
• Uses all available frequencies
www.classdemo.com
![Page 43: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/43.jpg)
Multiplexing Strategy
Time-division multiplexing (TDM)
www.classdemo.com
![Page 44: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/44.jpg)
Multiplexing Strategy
www.classdemo.com
Statistical time-division multiplexing
![Page 45: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/45.jpg)
Multiplexing Strategy • Frequency division multiplexing
www.classdemo.com
![Page 46: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/46.jpg)
OSI – TCP/IP
www.classdemo.com
![Page 47: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/47.jpg)
Port Numbers
www.classdemo.com
![Page 48: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/48.jpg)
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
![Page 49: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/49.jpg)
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
![Page 50: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/50.jpg)
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
![Page 51: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/51.jpg)
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
![Page 52: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/52.jpg)
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
![Page 53: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/53.jpg)
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
![Page 54: Introduction to Networking.… · Presentation Session Transport Network Data link Physical ... server (for example, a video server) and controls the playback of the server’s media](https://reader031.vdocument.in/reader031/viewer/2022021900/5b68d1567f8b9ab0128d31f8/html5/thumbnails/54.jpg)
Introduction to NetworkingChapters 1 and 2
www.classdemo.com