COM211 Communications and Networks CDA College Theodoros Christophides Email:...
-
Upload
juliana-mason -
Category
Documents
-
view
217 -
download
0
Transcript of COM211 Communications and Networks CDA College Theodoros Christophides Email:...
![Page 1: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/1.jpg)
COM211 Communications and NetworksCDA CollegeTheodoros ChristophidesEmail: [email protected]/site/info-com-technology-ll/
INTRODUCTION TOCOMPUTER NETWORKS, OSI MODEL
![Page 2: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/2.jpg)
Course Content
• Lecture 1: Introduction to Computer Networks, OSI Model
• Lecture 2: Hardware building blocks and encoding
• Lecture 3: Physical Media and Cabling
• Lecture 4: Protocols
• Lecture 5: LAN and WAN Technologies
• Lecture 6: Data Link Layer and Ethernet
• Lecture 7: Midterm
• Lecture 8: Network Layer of OSI
• Lecture 9: Transport Layer of OSI
• Lecture 10: Application Services
![Page 3: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/3.jpg)
Course Content
• Lecture 11: Security in Computer Networks
• Lecture 12: Wireless Networks
• Lecture 13: Revision for the Final examinations
![Page 4: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/4.jpg)
References
Andrew S. Tanenbaum, Computer Network, Prentice-Hall
Doughlas E. Comer, Computer Networks and Internet
Larry L. Peterson and Bruce S. Davie, Computer Networks: A Systems Approach
![Page 5: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/5.jpg)
Computer Networks
A collection of autonomous computers interconnected by a single technology. Two computers are said to be interconnected if they are able to exchange information.
![Page 6: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/6.jpg)
Connectivity
Interconnect machines. Maintain data confidentiality, data integrity, and
system accessibility. Support growth by allowing more and more
computers, or nodes, to join in (scalability). Support increases in geographical coverage.
![Page 7: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/7.jpg)
Internet
Is not a single network but a network of networks
![Page 8: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/8.jpg)
Links
(a)
(b)
point-to-point
multiple-access
Geographical coverage and scalability are limited.
Each node needs one interface for each link.
![Page 9: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/9.jpg)
Network Topology
The network topology defines the way in which computers, printers, and other devices are connected. A network topology describes the layout of the wire and devices as well as the paths used by data transmissions.
![Page 10: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/10.jpg)
Mesh Topology
This topology connects all devices to each other for redundancy and fault tolerance.
It is used in WANs to interconnect LANs and for mission critical networks (banks, financial institutions, etc.)
Implementing the mesh topology is expensive and difficult.
![Page 11: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/11.jpg)
Bus Topology
All the devices on a bus topology are connected by one single cable.
![Page 12: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/12.jpg)
Star Topology
The star topology is the most commonly used architecture in Ethernet LANs.
![Page 13: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/13.jpg)
Tree Topology Larger networks use the
extended star topology also called tree topology. When used with network devices that filter frames or packets, like bridges, switches, and routers, this topology significantly reduces the traffic on the wires by sending packets only to the wires of the destination host.
![Page 14: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/14.jpg)
Ring Topology
A frame travels around the ring, stopping at each node. If a node wants to transmit data, it adds the data as well as the destination address to the frame.
The frame then continues around the ring until it finds the destination node, which takes the data out of the frame.
Types: Single ring – All the devices share a single cable Dual ring – Allows data to be sent in both directions
and provides redundancy
![Page 15: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/15.jpg)
Network Components
Physical Media Network Devices Computers Protocols Services
![Page 16: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/16.jpg)
Networking Media
Twisted Pair Coaxial Fiber Optics Wireless Transmissions
![Page 17: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/17.jpg)
Network Devices
Hub Switches ( Level 2 and 3 ) Routers Wireless Access Points Modems NIC’s
![Page 18: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/18.jpg)
Computers
End Devices: Acts as a source/destination. For message transmitting or receiving.
Server: In a client/server network environment, network services are located in a dedicated computer whose only function is to respond to the requests of clients. The server contains file sharing, http and other services that are continuously available to respond to client requests.
Client: Our computers. We request a service from a server (ex. We log into gmail to check our email )
![Page 19: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/19.jpg)
Protocols
A protocol, in contrast, is a set of rules governing the format and meaning of the packets, or messages that are exchanged by the peer entities within a layer. Entities use protocols to implement their service definitions. They are free to change their protocols at will, provided they do not change the service visible to their users.
TCP, UDP, IP, X.25, ICMP, IPSec
![Page 20: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/20.jpg)
Services
DHCP - Dynamic Host Configuration Protocol DNS – Domain Name System HTTP - Hypertext Transfer Protocol SSH – Secure Shell Telnet SNMP - Simple Network Management Protocol SMTP - Simple Mail Transfer Protocol FTP – File Transfer Protocol IRC – Internet Relay Chat POP – Post Office Protocol
![Page 21: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/21.jpg)
Internetworking To interconnect two or more
networks, one needs a gateway or router. Host-to-host connectivity is only possible if there’s a uniform addressing scheme and a routing mechanism.
Messages can be sent to a single destination (unicast), to multiple destinations (multicast), or to all possible destinations (broadcast).
![Page 22: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/22.jpg)
Synchronous Time Division Multiplexing (STDM)
Divide time into equal-sized quanta and assign each them to flows on the physical link in round-robin fashion.
![Page 23: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/23.jpg)
Frequency-Division Multiplexing (FDM)
Flows are transmitted simultaneously on the link, but each one uses a different frequency.
![Page 24: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/24.jpg)
Code Division Multiplexing (CDM)
Flows are transmitted simultaneously on the link, but each one uses a different coding scheme.
For a chosen group of nodes, a unique coding scheme can be used. Each bit is encoded in multiple pulses. Multiple senders may use the same time slots with different coding.
![Page 25: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/25.jpg)
Statistical Multiplexing
Flow is broken into packets and sent to a switch, which can deal with the arriving packets according to the switch policy (FIFO, round-robin, etc).
switch
queue
Computer A
Computer B
Computer C
![Page 26: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/26.jpg)
Range of Coverage
• LAN: local area network
• WLAN: wireless local area network
• MAN: metropolitan area network
• WAN: wide area network
Computer networks can be classified according to their geographical coverage:
In Interconnecting multiple networks (internetworking), we are interested in the seamless integration of all these levels. Have in mind that different levels use different technologies!
![Page 27: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/27.jpg)
ISO: International Standards OrganizationOSI: Open Systems Interconnection
Physical
Presentation
Session
Transport
Network
Data link
Application
The protocol stack:
The idea behind the model: Break up thedesign to make implementation simpler. Each layer has a well-defined function. Layers pass to one another only the information that is relevant at each level. Communication happens only betweenadjacent layers.
![Page 28: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/28.jpg)
Layers of the OSI model• Physical: Transmit raw bits over the medium.• Data Link: Implements the abstraction of an error free medium (handle losses, duplication, errors, flow control).• Network: Routing and Addressing. IP• Transport: Break up data into chunks, send them down the protocol stack, receive chunks, put them in the right order, pass them up.• Session: Establish connections between different users and different hosts.• Presentation: Handle syntax and semantics of the info, such as encoding, encrypting.• Application: Protocols commonly needed by applications (cddb, http, ftp, telnet, etc).
![Page 29: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/29.jpg)
Communication Between Layersdata data
AH data
PH data
SH data
TH data
NH data
DH DTdata
BITSPhysical
Presentation
Session
Transport
Network
Data link
Application
Physical
Presentation
Session
Transport
Network
Data link
Application
receiversender
![Page 30: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/30.jpg)
Layers in TCP
Physical
Data link
IPARP RARP
ICMP IGMP
Transport TCP UDP
Network
Session
Presentation
Application
FTP HTTP DNS NFS …
![Page 31: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/31.jpg)
TCP/IP and OSI
![Page 32: COM211 Communications and Networks CDA College Theodoros Christophides Email: theo_christopher@hotmail.com](https://reader035.fdocuments.net/reader035/viewer/2022062721/56649f1c5503460f94c334e9/html5/thumbnails/32.jpg)
Questions??
Thank you for your time and patience!