Welcome to Computer NetworksPresentation Transcript
NETWORKING INTERCONNECTION OF COMPUTERS
What is computer network?
A network is group of computers interconnected with each other to exchange information or resource.
A computer network is collection of interconnected autonomous computers interconnected in a single technology.
Two computers are said to interconnected with each other if they share some information between them.
What are the advantages of having computer network?
1.Increased communication capabilities.
2.File sharing: Network offer quick and easy way to share files directly at a rapid speed thus saving time and integrity of files.
3.Resouce sharing : All computers in a network can share resources like printer, scanner, modem, fax machines, hard disk.
4. Security: Specific directories can be password protected to limit access to authorized users. Also, files and programs on a network can be designated as "copy inhibit" so you don’t have to worry about the illegal copying of programs.
5. It is also possible to share data files across the network by creating a share on the hard drive and allowing other people access to that information.
6.Increases the productivity.
7. You can connect all the computers which are connected through a network to the internet by using a single line. So it means that you can save the connection cost for each computer but you internet connection must be fast.
8. Internet connection sharing - Using a home network, multiple family members can access the Internet simultaneously without having to pay an ISP for multiple accounts. You will notice the Internet connection slows down when several people share it, but broadband Internet can handle the extra load with little trouble. Sharing dial-up Internet connections works, too.
Connect your entire office to the Internet through one line.
What are the disadvantages of computer network?
1.Network faults can cause loss of data.
2.Network faults could lead to loss of resources.
3.Systems open to hackers.
4.Could become inefficient.
5.Could degrade to performance.
6.Resources could be located too far from users.
7.As a work group user cannot Login from other work group machine within LAN network.
8.User also cannot login from any remote machine from WAN environment.
What are the different types of computer networks?
PAN( personal area network) : Network that is meant for one person
Eg: A wireless network connecting a computer with it’s mouse, keyboard, printer is PAN. Covers 1m distance only.
LAN (local area network) : LAN’s are privately owned network which covers a room, building or a campus ( 10m, 100m, 1km) of distance.
LAN’s are widely used in offices, companies, industries.
* Lan’s are restricted in size
*Lan’s uses transmission media as cable , to which all the machine are attached.
*Lan’s basically uses Bus and Ring Topologies( network structure) to broadcast.
Traditional Lan’s runs at the speed of 100Mbps and newer Lan’s runs at the speed of 10Gbps.
Lan’s are un-switched ( they don’t have routers).
MAN (metropoliterian area network): MAN covers city ( about 10Km) in distance.
The best example of Man is the CABLE TV NETWORK available .
Cable TV is not the only MAN ,development in high speed wireless internet access resulted in MAN.
MAN’s are also un-switched ( i.e don’t have routers)
WAN (wide area network): A wide area network covers a large geographical areas like country or a continent ( about 100Km, 1000Km, 10,000Km)in distance.
In WAN, subnet consist of two components Transmission lines like copper cable, optical fiber ( move bits between machines) and Switching elements or routers (specialized computers or devices that connects 3 or more transmission lines, when date arrives to incoming line, router choose an outgoing line on which to forward them.
Hosts ( user’s computers) are connected to subnet.
Subnet is owned and operated by telephone company or isp.
The subnet is collection of communication lines and routers ( but not hosts).
The job of subnet is to carry message from host to host .
In most WAN’s , the network contains numerous transmission lines , each one connecting pair of router. If two routers do not share a transmission line , wish to communicate they must do this indirectly via other router .
When a packet is sent from one router to another via one or more intermediate routers, the packet is received at each intermediate router in its entirety , stored until the required output is free, and then forwarded.
This principle is known as “store and forward or packet switched subnet”.
What are the types of transmission media ?
Signals are usually transmitted over some transmission media that are broadly classified in to two categories.
These are those that provide a conduit from one device to another that include twisted-pair, coaxial cable and fiber-optic cable. A signal traveling along any of these media is directed and is contained by the physical limits of the medium. Twisted-pair and coaxial cable use metallic that accept and transport signals in the form of electrical current. Optical fiber is a glass or plastic cable that accepts and transports signals in the form of light.
This is the wireless media that transport electromagnetic waves without using a physical conductor. Signals are broadcast either through air. This is done through radio communication, satellite communication and cellular telephony.
What are the different types of network hardware?
NIC ( network interface card)
History of computer network
In 1969,a network called ARPANET (advanced research project agency) was created. For transmission lines of 56kb dedicated line.
In 1970, DECNET (digital electronic corporation network) was created . For proper trait design.
In 1977-83, ETHERNET was created . Network capacity10Mhz. Support token ring topology.
In 1981, a network called TCP/IP (transmission control protocol/internet protocol) was created. To support LAN and WAN. Which lead to the beginning of INTERNET.
In 1980’s , GIGA BYTE network was created. To support applications such as FTP, SMTP, HTTP, POP3, IMAP4.
NIC (network interface card)
Also known as Lan card ,Ethernet card, Network/Ethernet adaptor.
It is an interface between computer and network cables.
Functions of LAN card are,
*Buffering data construction
*Medium access control
*Encoding and decoding
*Data transmission and reception
Lan cards are full duplex ( they can send and receive data )
Lan card can have UTP, BNC, AUI ports.
Lan card puts packet on the cable.
It contains MAC address.
What is MAC address?
MAC (media access control ) 48-bit number (6-byte).Unique to each and every Lan card , represented in hexadecimal notation.
This address is used for communication at low level.
This address comes from manufacturer.
Securities are based on MAC address.
What is an IP?
IP (Internet protocol) is a method or protocol by which data is sent from one computer to another computer on the internet.
Each computer on the internet has at least one IP address that uniquely identifies it from all other computer on the internet.
When you send or receive data ( for example , an e-mail or web page), the message gets divided into little chunks called packets.
Each of these packets contains both senders internet address (IP address) and the receivers address.
Any packet is sent first to gateway computer that understands a small part of internet.
The gateway computer reads the destination address and forwards the packet to an adjacent gateway that in turn read the destination address and so forth across the internet until one gateway recognizes the packet as belonging to computer within its immediate neighborhood or domain.
The gateway then forwards the packet directly to the computer whose address is specified.
Because message is divided into number of packets, each packet can, if necessary , be sent by a different route across the internet.
Packets can arrive in the different order they were sent in.
The internet protocol just delivers them. It is up to other protocol, the TCP/IP to put back in the right order.
What is IP address?
An IP address is an address with which a computer is identified on a network (internet).
An IP address is a logical address of the network adaptor.
An IP address is a 32-bit number which has two parts network number and host number.
Computer won’t have problem in understanding this number but we as human can’t deal with binary.
An organization named IANA (internationally assigned numbering authority) as divided this 32-bit number into 4-octat and has given the range from 0-255
00001010- 00000111- 00000101- 00000001
An IP address in represented in decimal notation form like,
Based on the range from 0-255 IANA has divided this 32-bit number into three classes,
Class A from 0-126
Class B from 128-191
Class C from 192-223
*127 is loopback address
*224-255 is for research and development purpose.
To manage and maintain network again IANA has divided each class of IP address into 2 parts,
*Network portion (N/P) –represented by 1’s
*Host portion (H/P)- by 0’s
IANA has assigned class A with single octet (8-bits) for network portion and three octet (24-bits) for host portion.
IANA has assigned class B with two octet (16-bits) for network portion and two octets (16-bits) for host portion.
IANA has assigned class C with three octet (24-bits) for network portion and single octet (8-bits) for host portion.
IANA has assigned class A with single octet (8-bits) for network portion and three octet (24-bits) for host portion. DSM (default subnet mask) : 255.0.0.0 IANA has assigned class B with two octet (16-bits) for network portion and two octets (16-bits) for host portion. DSM (default subnet mask) : 255.255.0.0 IANA has assigned class C with three octet (24-bits) for network portion and single octet (8-bits) for host portion. DSM (default subnet mask) : 255.255.255.0 A subnet mask defines network portion of ip address and host portion of ip address.By knowing the subnet mask information, we can easily identify a particular machine ip belongs to which class. IP Address is dividedinto two types: 1. Private IP Address. 2. Public IP Address. Private ip address are basically used within the LAN environment.All private ip address are free to use you don't have to pay to any one for using these address.It is also known as Free IP Address. Private IP Address range: Class A = 10.0.0.0 - 10.255.255.255 Class B = 172.16.0.0 - 172.31.255.255 Class C = 192.168.0.0 - 192.168.255.255 Public IP Address: Public ip address are used in WAN environment.Used for connection to internet.Public ip address are not free , you need to pay for ip address (to isp or iana). A part from above private ip address range from each and every class all the ip's are public ip's.
What is HUB?
A HUB is a device which connects various machines in a network. It’s major function is to replicate data it receives from one device attached to it. Hub is "Signal Splitter" Operates in "Physical Layer" “Collisions” will occur in hub and it listen for collision domains.
Hub is “ Half-duplex “(can receive or forward only)
Also known as ” Concentrator”
Active (signal boosting)
What is a switch?
A switch is a device which connects various systems in a network.
Switch maintains MAC address table .
Packets are directly transferred to the destination without broadcasting.
Switch is considered as an intelligent device .
In switch , each packet gets th same speed .
A switch is Full-duplex(can forward & receive simultanously)
Packets are filtered by switches.
No concept of collision domain or No collision as it is full duplex.
Works in “ Data link layer ” layer 2 and in layer 3
There are two types of switches,
1. Managable switch – has console port,we can make configuration
2. Unmanagable switch – has no console port.
Cisco divided switches in 3 layers:
1. Access layer switches : It works in layer 2 as it understands MAC address only.It doesn’t understand IP address.Switches series – 1900 & 2900
2. Distribution layer and 3. Core layer switches : It works in layer 3 because it understands MAC address as well as IP address. Switches series – 7000 & 10000.
Distribution layer and core layer switches can access millions of packets per second - whereas - Router can access 1 lakh packets per second.
What is Router?
A router is a device or a specialized computer which takes data packets from incomming lines, and decides outgoing lines on which to forward them.
A router is responsible for routing the data packets towards their destination.
A router is a device, which enables communication between two different networks or enables communication between two different series/classes of network.
A router is a internetworking device.
A router routes the packet from one logical network to other logical network.
It deals with, finding the way to the destination.
The main job or function of router is to calculate the best path/route for the packet to reach to it’s destination. or
The main role of router is to determine the best path towards destination.
It determines where the data should go on the physical network.
Types of Routers:
There are two types of routers: Fixed router and Modular router
1. Parts in the router are inbuilt where modification to theinterface is not possible.
2. Access layer router are the exmple of fixed router except 1600 and 1700 series.
1. Parts to the router can be added and removed i.e modification to the interface is possible.
2. Distribution and core layer router are the examples of modular router.
Cisco Routers are divided into 3 catagories or layers:
1. Access Layer Router
2. Distribution Layer Router
3. Core Layer Router
Access Layer routers are used by small organizations.Also knownas desktop or company layer routers. Router that are mostly used here are,router series – 800, 1000, 1600, 1700, 2500.
Distribution Layer router are used by ISP’s .Also known as IS layer routers.Router series – 2600, 3200, 3600, 3700.
Core layer router are used by global ISP’s .Also known as backbone routers. Router series – 6400, 7200, 7300, 7400, 7500, 7600, 10000, 12000.
What is repeater?
Repeater is a device used to extend a network.
Extends the range of a network.
Amplifies or regenerates the data signal, in order to extend network.
Doesn’t amplify noise.
A repeater amplifies and cleans up digital signals and forwards their destination.
What is Modem?
It is a device, which converts binary code (from the computer) to the analog signal needed for transmitting messages over telephone lines.
It does modulation-demodulation
A device used to convert digital signals into analog tones that can be transmitted over the telephone network.
What is firewall?
* System that establish access control policies among network.
* They can block information from entry.
* A combination of hardware and software that protects a network from attack by hackers that could gain access through public network, including the internet.
Different Types of Topologies
* Star topology
* Bus topology
* Ring topology
* Token ring topology
* Hybrid topology
* Mesh topology
Topology means Structure of computer network or Design of computer network.
In star topology all the systems are connected to a central device which may be hub or switch.
Advantage: If one computer cable is broken or damage then other computers will not be affected i.e Network is not affected.
Diadvantage: If central device (hub or switch) stops working then whole company network is blocked (any system can’t communicate with each other).
In bus topology all the systems are connected to a single cable/channel or back bone .Computers are connected with this cable using BNC connector or T connector. At the both ends of cable Terminators are connected.
Advantage: Cheap and Easy to implement.
Disadvantage: If terminators are not connected or open then data will bounce back.
In ring topology each computer is connected to each other .ie every system is connected to their next system in form of ring .
Advantage: Easy to install and easy to troubleshoot.
Disadvantage: If one of the computer goes down or if one of the cable break between two machines then whole the network is down.Data packets can’t go further.
Token Ring Topology:
In token ring toplogy, all the systems are connected to a central device ”MSAU” multiple station access unit Hub.
Token ring is 802.5 standard.
Developed by IBM
Has a unique token passing access method.
Contains an “electronic signal” which constantly rotates in MSAU hub.
Here if one computer needs to send a packet to other then this packet from source machine is taken or attached to token(electronic signal) and forwarded or takes to the destination address machine.
Disadvantage: If this central device (MSAU) stops working or fails then whole the company network is down or all the systems connected can’t communicate with each other.
A system that bridges two systems.
A computer connected with various computer, wants to transfer a packet, can transfer directly to the router by giving router address as gateway address at IP address portion.
Gateways are used to connect two dissimilar LAN .
Gateways work in application layer of OSI model.
A gateway is required to convert data packets from one protocol format to another before forwarding it, as it connects two dissimilar networks.
Members of TCP/IP protocol suite that routers use to determine the best route for the data packets.
Originally developed by Xerox corporation, that can link upto 1024 nodes in bus network.
A networking hardware , communication and cabling standard.
A high-speed standard using a base band (single channel) communication technique.
Ethernet Provides row data transfer rate of 10 Mbps.
Ethernet uses (CSMA/CD) to prevent network failures when two devices try to access the network at the same time.
What is the architecture of networking?
1. Peer to Peer (Point to Point):
Here each node acts as client as well as server.
Hard disk, cd-rom, printer can be shared.
Example: windows2000, 9x
Sharing of file between two nodes
Nobody is server here
Using desktop type of OS (XP) we can use peer to peer.