Computer Network PDF - Course Material 2013
Computer Network PDF - Course Material 2013
Computer Network PDF - Course Material 2013
Define Network
A computer network is defined as the interconnection of 2 or more independent computers and peripherals.
2. What are the uses of Network? Resource Sharing Reliability Reduced Cost Fast Communication 3. What are the types of Network? i LAN (Local Area Network) i WAN (Wide Area Network) i MAN (Metropolitan Area Network) i PAN (Personal Area Network) i VPN (Virtual Private Network) i CAN (Campus Area Network) i GAN(Global Area Network) i SAN (Storage Area Network)
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU Page 1
4. Mention the common name of the computers connected in a Network? h Workstation / Nodes / Clients h Server 5. Define Server The master computer is known as server 6. Define Client Computer attached to the master computer is known as client 7. Draw the diagram of Network
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 2
8. What is NIC?
h It is a device attached to each client and server. h Helps to make connections within the network. h Each NIU has a unique number identifying it called Node Address. h NIU is also called Terminal Access Point (TAP). h Each NIC is given a unique physical address called MAC address. 9. Give the Expansion of NIC, MAC and TAP NIC Network Interface Card MAC Machine Access Code TAP Terminal Access Point 10. The computer on the network may be linked through ____________? h Cables h Telephone Lines h Radio Waves h Satellites h Infrared Light Beams.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 3
1. What are the components needed for building a Network? h Network Interface Card h Repeaters h Network Hub h Network Bridge h Network Switch h Router 2. Define Repeaters x A repeater is an electronic device that receives a low power signal and retransmits it at a higher power level x Repeaters are required for cable runs longer than 100 meters.
3. Define Hub x A hub contains multiple ports. x When a packet arrives at one port, it is copied unmodified to all ports of the hub for transmission.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 1
4. Define Switch
x A switch is a device that forwards and filters datagram's between ports x Switches work at Physical, Data link, Network, or Transport Layers
5. Define Multilayer Switch A device that operates simultaneously at more than one layer is called a multilayer switch. 6. Define Router x Router is a specialized network device used to interconnect different types of computer network that uses different protocols x Routers work at the network layer 7. Define Bridge x A network bridge connects two LANS having same protocol.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 2
8. What are the available types of Bridge? x Local Bridge x Remote Bridge x Wireless Bridge
9. What is the use of Local Bridge? It is used to connect directly local area networks (LANs). 10. What is the use of Remote Bridge? It can be used to create a wide area network (WAN) link between LANs 11. What is the use of Wireless Bridge? It can be used to connect remote stations to LANs.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 3
The way in which the computers are interconnected together is known as TOPOLOGY 2. What are the types of Network Topology? 1. Physical Topology How the cable are used 2. Logical Topology How the messages travel 3. What are the types of Physical Topology? i Bus / Linear i Ring i Star i Tree i Mesh _ Both Physical and Logical Both Physical and Logical Physical Both Physical and Logical Both Physical and Logical
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 1
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 2
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 3
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 4
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 5
Lecture #4 OSI Reference Model 1. What is the Expansion of OSI Open System Interconnection 2. What is OSI?
An open system is a set of protocol that allows any two different systems to communicate regardless of their underlying architectures. It was designed by ISO-International Organization for Standardization in late1970s. It is a seven-layer model. 3. What are the types of layers in OSI? h Physical Layer h Data Link Layer h Network Layer h Transport Layer h Session Layer h Presentation Layer h Application Layer Physical Layer The physical layer is responsible for transmitting bits from one node to the next Data Link layer The data link layer is responsible for transmitting frames from one node to the next
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU Page 1
The network layer is responsible for the delivery of packets from the original source to
The transport layer is responsible for delivery of a message from one process to another (process-to-process delivery) Session Layer The session layer is the network dialog controller. It establishes, maintains, and synchronizes the interaction between communicating systems Presentation Layer The presentation layer is concerned with the syntax and semantics of the information exchanged between two systems Application Layer The application layer enables the user to access the network. It provides user interfaces and support for services
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 2
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 3
Data transmission is the physical transfer of data (a digital bit stream) over a point-to-point or point-to-multipoint communication channel. Communication channel is any physical media like cables etc.
Transmission Modes:
Data transmission has been categorized into two types namely Parallel and Serial Transmission. Serial transmission is further classified into Synchronous and Asynchronous Transmission.
Parallel Transmission:
1. In parallel transmission of data, all the bits of a byte are transmitted simultaneously on separate wires. 2. This type requires multiple circuits for interconnecting the two devices. 3. It is practically possible only if two devices are close to each other. 4. This diagram represents parallel transmission of an 8-bit digital data. 5. This will require 8 wires for connecting two devices.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 1
Serial Transmission:
1. In serial transmission of data, all the bits of a byte are transmitted serially one after the other on same wire. 2. This type doesnt require multiple circuits for interconnecting the two devices, indeed it just requires 1 wire to connect. 3. It is practically possible in all sorts of situations close or far.
4. This diagram represents serial transmission of an 8-bit digital data. 5. This will require only one wire for connecting two devices.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 2
Types of Serial Transmission: In data communication, Timing control of the reception of bits is important. There are two methods of timing control for reception of bits.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
1. In synchronous transmission, data transmission is carried out under the control 2. Bytes are transmitted as a block in a continuous stream of bits. 3. Transmitter and Receiver operate at synchronized clock frequencies. 4. No start and stop bits are used. 5. No need of ideal time between data bytes. 6. In synchronous transmission timing of signal is important.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 4
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 5
On any network, the various entities must communicate through some form of media. Just as humans can communicate through telephone wires or sound waves in the air, computers can communicate through cables, light, and radio waves. Communication is possible only if information is encoded in a signal, and the signal is carried on a transmission the characteristics of the signal and of the medium both determine the quality of the communication medium.
There are two main groups of transmission media, namely the Guided Medium and the Wireless Medium / Unguided Medium. For the guided medium, there is a physical path (such as a cable) for electromagnetic wave propagation. For the wireless medium, however, the electromagnetic wave is transmitted through air, water, or vacuum.
II. Characteristics
A good transmission medium should provide communication with good quality at long distance. For voice communication, quality of communication is determined by the voice quality. For data communication, however, the quality of communication is mainly determined by the effective data rate of communication.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 1
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 2
Twisted Pair Advantages x x x Inexpensive and readily available Flexible and light weight Easy to work with and install Page 3
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
For analog, repeaters needed every 5-6km For digital, repeaters needed every 2-3km x Relatively low bandwidth (3000Hz)
Applications x x They are used in telephone lines to provide voice and data channels. Local area networks, such as 10 Base-T and 100 Base-T also use twisted-pair cables.
x
x x
Coax Disadvantages High attenuation rate makes it expensive over long distance Bulky Page 4
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 5
x x x
Fiber Optic Disadvantages x x x expensive over short distance requires highly skilled installers adding additional nodes is difficult
Applications x The fiber optic cable is often found in backbone networks because its bandwidth is cost effective. x x Used in TV companies. LAN such as 100 Base-FX Network
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 6
A. Microwaves
x x x x x Electromagnetic waves having frequency between 1 and 300 GHz are called as Micro waves. Micro waves are unidirectional. Microwave propagation is line of sight. Very high frequency Micro waves cannot penetrate walls. The microwave band is relatively wide, almost 299 GHz
Terrestrial Microwave Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU Page 7
x x x x x x
Uses radio frequency spectrum, from 2 to 40 Ghz. Parabolic dish transmitter, mounted high. Used by common carriers as well as private networks. Requires unobstructed line of sight between source and receiver. Curvature of the earth requires stations (repeaters) ~30 miles apart.
B. Satellite Microwave
x x x A microwave relay station in space Can relay signals over long distances Geostationary satellites Remain above the equator at a height of 22,300 miles (geosynchronous orbit) Travel around the earth in exactly the time the earth takes to rotate Applications x x x They are used in Cellular phones. They are used in satellite networks. They are used in wireless LANs.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 8
C. Radio
x Radio waves particularly those waves that AM Radio x x x
distances .This makes Radio waves a good candidate for long distance broadcasting such as
Radio is a general term often used to encompass frequencies in the range 3 kHz to 300 GHz. Mobile telephony occupies several frequency bands just under 1 GHz. Radio waves are Omni directional.
Application x The omnidirectional characteristics of Radio waves make them useful for multicasting, in which there is one sender but many receivers. x AM and FM Radio, television, maritime radio, cordless phone, and paging are examples of multicasting.
D. Infrared
x Infrared waves, with frequencies from 300GHz-400THz can be used for short range communication. x When we use our Infrared control, we do not interfere with use of the remote by our neighbors. x We cannot use Infrared waves outside a building because the sun rays Contain Infrared waves that can interfere with communication. x x x Uses transmitters/receivers (transceivers) that modulate no coherent infrared light. Transceivers must be within line of sight of each other (directly or via reflection). Unlike microwaves, infrared does not penetrate wallshaving high frequencies.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 9
Application x x x
The infrared band almost 400 THz has an excellent potential for data transmission.
Such a wide bandwidth can be used to transmit digital data with a very high data rate. Infrared waves are used in communication between devices such as Keyboard, PCs and Printers.
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 10
Encryption is the process of transforming information (referred to as Plaintext) using an algorithm (called Cipher) to make it unreadable to anyone except those possessing special knowledge, usually referred to as a Key. The result of the process is encrypted information (in cryptography, referred to as cipher text). Decryption is the process to make the encrypted information readable again
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 1
Cyber Text
Key
Plain Text
V. Uses of Encryption
1. Protect information on your computer 2. Protect information over network transmission 3. Wireless Phones 4. E-Mail Programs 5. Digital Signature 6. Confidentiality of medical, personal and bank transaction records Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU Page 2
A specialized company that connects customers with PCs and browsers to the Internet The ISP gives you a software package, a user name and password, and an access phone number to connect to the Internet for the payment.
i Internet Service Provider (ISP) i Application Service Provider (ASP) i Business Service Provider (BSP) i Wholesale Service Provider (WSP)
i Wireless Application Service provider (WASP 3. What are the types of Web Hosting Services? 1. Dial-Up Access 2. Developers Hosting 3. Industrial Strength Hosting 4. What are the 3 major target markets of ISP? 1. Residential 2. Commercial 3. Public 5. What is meant by DNS (Domain Name Service)? A repository where the domain name for each ISP is stored 6. What are the services provided by ISP? i WWW Server i FTP i Internet Relay Chat (IRC) i News Server i HTTP Proxy Service i Broadband Connection
i Local Loop Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU Page 1
Packet Switching refers to technologies in which messages are divided into packets before they are sent. Each packet is then transmitted individually and can even follow different routes to its destination Once all the packets forming a message arrive at the destination, they are recompiled into their original form
x x x
4. Define X.25
X.25 is an open standard WAN technology for packet-switching networks. It is one of the earliest international standards for packet switching. It defines layers 1, 2, and 3 in the OSI Reference Model
Frame Relay is a packet-switching protocol for connecting devices on a WAN. It operates at layer two or the Data Link layer in the OSI model. It is used in applications such as LAN interconnection, public and private wide area networks and gradually replacing X.25
Prepared By Mrs.Vasanthi Muniasamy M.Sc., M.Phil Rank: Asst. Prof., CCG, KKU
Page 1