COMPUTER NETWORKING
INTRODUCTIONWhat is networking? ØA network is a collection of computers and devices connected to each other. The network allows computers to communicate with each other and share resources and information. ØIn other words networking can be defined as inter-connection of two or more computers for sharing the resources(hardware and software)and provide security on them. ØNetworks are built with a combination of computer hardware and computer software.
TYPES OF COMPUTER NETWORKS Ø LAN (LOCAL AREA NETWORK) Ø WAN (WIDE AREA NETWORK) Ø MAN (METROPOLITAN AREA NETWORK) Ø PAN (PERSONAL AREA NETWORK) Ø VPN (VIRTUAL PRIVATE NETWORK) Ø CAN (CAMPUS AREA NETWORK) Ø GAN(GLOBAL AREA NETWORK) Ø SAN (STORAGE AREA NETWORK)
LOCAL AREA NETWORK(LAN) Ø Local area networks (LANs) are computer networks ranging in size from a few
computers in a single office to hundreds or even thousands of devices spread across several buildings. Ø LANs in turn may be plugged into larger networks, such as larger LANs or wide area networks (WANs), connecting many computers within an organization to each other and/or to the Internet. Ø Typically, connected devices share the resources of a single processor or server within a small geographic area (for example, within an office building). Ø Usually, the server has applications and data storage that are shared in common by multiple computer users.
WIDE AREA NETWORK(WAN) Ø A wide area network (WAN) is a computer network that covers a broad area (i.e. any network whose communications links cross metropolitan, regional, or national boundaries). Ø WAN is a network that uses routers and public communications links. Ø The largest and most well-known example of a WAN is the Internet. A WAN is a data communications network that covers a relatively broad geographic area (i.e. one city to another and one country to another country) and that often uses transmission facilities provided by common carriers, such as telephone companies. Ø WAN technologies generally function at the lower three layers of the OSI reference model: the physical layer, the data link layer, and the network layer.
METROPOLITAN AREA NETWORK(MAN) Ø A metropolitan area network (MAN) is a network that connects two or more local area networks or campus area networks together but does not extend beyond the boundaries of the immediate town/city. Ø Routers, switches and hubs are connected to create a metropolitan area network. Ø The term is applied to the interconnection of networks in a city into a single larger network (which may then also offer efficient connection to a wide area network). Ø It is also used to mean the interconnection of several local area networks by bridging them with backbone lines.
PERSONAL AREA NETWORK(PAN)
Ø A personal area network (PAN) is a computer network used for communication among computer devices close to one person. Ø Examples of devices that are used in a PAN are :printers, fax machines, telephones, PDAs and scanners. Ø The reach of a PAN is typically about 20-30 feet approximately 6-9 meters.
GLOBAL AREA NETWORK(GAN) Ø A global area networks (GAN) specification is in development by several groups, and there is no common definition. Ø In general, however, a GAN is a model for supporting mobile communications across an arbitrary number of wireless LANs, satellite coverage areas, etc.
VIRTUAL PRIVATE NETWORK(VPN) Ø A virtual private network (VPN) is a computer network in which some of the
links between nodes are carried by open connections or virtual circuits in some larger network (e.g., the Internet) instead of by physical wires. Ø A VPN may have best-effort performance, or may have a defined service level agreement (SLA) between the VPN customer and the VPN service provider. Generally, a VPN has a topology more complex than point-to-point. Ø A VPN allows computer users to appear to be editing from an IP address location other than the one which connects the actual computer to the Internet.
CAMPUS AREA NETWORK(CAN) Ø A campus area network (CAN) is a computer network made up of an interconnection of local area networks (LANs) within a limited geographical area. Ø It can be considered one form of a metropolitan area network, specific to an academic setting.
NETWORK TOPOLOGY Ø A network consists of two or more computers that are linked in order to share resources (such as printers and CD-ROMs), exchange files, or allow electronic communications. Ø The computers on a network may be linked through cables, telephone lines, radio waves, satellites, or infrared light beams.
TYPES Ø BUS TOPOLOGY Ø STAR TOPOLOGY Ø RING TOPOLOGY Ø MESH TOPOLOGY Ø STAR BUS TOPOLOGY Ø TREE OR HIERARCHICAL
BUS TOPOLOGY A linear bus topology consists of a main run of cable with a terminator a each end. All nodes (file server, workstations, and peripherals) are connected to the linear cable. Ethernet and Local Talk networks use a linear bus topology.
Linear bus structure
Advantages of a Linear Bus Topology ØEasy to connect a computer or peripheral to a linear bus. ØRequires less cable length than a star topology.
Disadvantages of a Linear Bus Topology ØEntire network shuts down if there is a break in the main cable. ØTerminators are required at both ends of the backbone cable.
SØ TAR TOPOLOGY A star topology is designed with each node (file server, workstations, and
peripherals) connected directly to a central network hub or concentrator. Ø Data on a star network passes through the hub or concentrator before continuing to its destination. The hub or concentrator manages and controls all functions of the network.
star structure
Advantages of a Star Topology ØEasy to install and wire. ØNo disruptions to the network then connecting or removing devices.
Disadvantages of a Star Topology
ØRequires more cable length than a linear topology. ØIf the hub or concentrator fails, nodes attached are disabled.
RING TOPOLOGY
Ø The ring topology is a type of computer network configuration where each network computer and device are connect to each other forming a large circle. Ø Each packet is sent around the ring until it reaches its final destination.
Ring structure Advantages of a Ring Topology ØGrowth of system has minimal impact on performance. ØAll stations have equal access. ØThe network doesn`t fail even when a link between two nodes is broken. Disadvantages of a Ring Topology ØMost expensive topology. ØFailure of one computer may impact others . ØComplex .
MESH TOPOLOGY
Ø It requires that every terminal should be attached to each other. Ø All the computers must have adequate number of interfaces for the connections to be made. Because of this requirement the installations is somewhat difficult. Ø The length of cable required is quite higher as compared to other topologies.
Mesh structure Advantages of a Mesh Topology ØSystem provides increased redundancy and reliability as well as ease of troubleshooting. ØData transfer is faster. Disadvantages of a Mesh Topology ØSystem is expensive to install because it uses a lot of cabling.
TREE TOPOLOGY
Ø A tree topology combines characteristics of linear bus and star topologies. Ø It consists of groups of star-configured workstations connected to a linear bus backbone cable. Ø Tree topologies allow for the expansion of an existing network, and enable schools to configure a network to meet their needs .
Tree structure Advantages of a Tree Topology ØPoint-to-point wiring for individual segments. ØThe network doesn`t fail even when a link between two nodes is broken. Disadvantages of a Tree Topology ØOverall length of each segment is limited by the type of cabling used. ØIf the backbone line breaks, the entire segment goes down.
BASIC HARDWARE COMPONENTS Ø All networks are made up of basic hardware building blocks to interconnect network nodes, such as Network Interface Cards (NICs), Bridges, Hubs, Switches, and Routers. Ø In addition, some method of connecting these building blocks is required, usually in the form of galvanic cable . Ø Less common are microwave links or optical cable (“optical fibre"). An Ethernet card may also be required.
Some of the basic components required for interconnecting the network nodes: Ø Ø Ø Ø Ø Ø
NETWORK INTERFACE CARD REPEATERS NETWORK HUB NETWORK BRIDGE NETWORK SWITCH ROUTER
NETWORK INTERFACE CARD Ø A network card, network adapter or NIC (network interface card) is a piece of computer hardware designed to allow computers to communicate over a computer network. Ø It provides physical access to a networking medium and often provides a lowlevel addressing system through the use of MAC addresses.
REPEATER Ø A repeater is an electronic device that receives a signal and retransmits it at a higher power level, or to the other side of an obstruction, so that the signal can cover longer distances without degradation. Ø In most twisted pair Ethernet configurations, repeaters are required for cable runs longer than 100 meters.
NETWORK HUB Ø A hub contains multiple ports. Ø When a packet arrives at one port, it is copied unmodified to all ports of the hub for transmission. Ø The destination address in the frame is not changed to a broadcast address.
ROUTER Ø Routers are networking devices that forward data packets between networks using headers and forwarding tables to determine the best path to forward the packets. Ø Routers work at the network layer .
NETWORK BRIDGE Ø A network bridge connects multiple network segments at the data link layer
(layer 2) of the OSI model. Ø Bridges do not promiscuously copy traffic to all ports, as hubs do, but learn which MAC addresses are reachable through specific ports. Ø Once the bridge associates a port and an address, it will send traffic for that address only to that port. Ø Bridges do send broadcasts to all ports except the one on which the broadcast was received.
Bridges come in three basic types: Ø Local bridges: Directly connect local area networks (LANs). Ø Remote bridges: Can be used to create a wide area network (WAN) link between LANs. Remote bridges, where the connecting link is slower than the end networks, largely have been replaced by routers. Ø Wireless bridges: Can be used to join LANs or connect remote stations to LANs.
NETWORKING SWITCH Ø A switch is a device that forwards and filters OSI layer 2 datagram's between ports based on the MAC addresses in the packets. This is distinct from a hub in that it only forwards the packets to the ports involved in the communications rather than all ports connected. Ø Strictly speaking, a switch is not capable of routing traffic based on IP address which is necessary for communicating between network segments or within a large or complex LAN. Ø A switch normally has numerous ports, with the intention being that most or all of the network is connected directly to the switch, or another switch that is in turn connected to a switch. Switch is a marketing term that encompasses routers and bridges, as well as devices that may distribute traffic on load or by application content. Ø Switches may operate at one or more OSI model layers, including physical, data link, network, or transport (i.e., end-to-end). A device that operates simultaneously at more than one of these layers is called a multilayer switch.
WHY A COMPUTER NETWORK NECESSARY? The main reasons are: Ø Ø Ø Ø Ø Ø
Distribute pieces of computation among computers (nodes) . Coordination between processes running on different nodes . Remote I/O Devices . Remote Data/File Access . Personal communications (like e-mail, chat, audio/video conferencing). World Wide Web .
HOW TO MEASURE A NETWORK?
Performance parameters: Ø Latency: Time required to transfer an empty message between relevant computers. Sum total of Ø delay introduced by the sender software. Ø delay introduced by the receiver software. Ø delay in accessing the network. Ø delay introduced by the network. Ø Data transfer rate: is the speed at which data can be transferred between sender and receiver in a network, once transmission has begun. (bit/sec) . Ø Message transfer time = latency + (length of message) / (Data transfer rate). Ø Bandwidth: is the total volume of traffic that can be transferred across the network. Ø Max. data rate (bit/sec) = carrier BW · log2 (1 + (signal/noise)) .This maximum (Shannon's Limit) is theoretical, not reachable in practice. Ø Ex: phone line BW = 3 kHz, S/N = 30 dB = 1000 Max. data rate = 30 kbit/sec.
MEDIUM OF TRANSFORMATION Coaxial cable
Twisted pair cable
Optical fibre
Wireless
ETHERNET
Developed at Xerox PARC in 1973. It's a standard for Media Access Control (MAC) sub layer. Data transmission rate : 10 Mbits/s (Fast Ethernet reaches 100 Mbit/s). High-speed driver on the computers connected by coax or UTP cables. Uses a bus (10base2, coax, max. distance 200 mts) or a star (10baseT, UTP, max. 100 mts) topology. Ø Can be optical fibres based too (10baseF , max. 2000 mts). Ø Ø Ø Ø Ø
How it works? Ø All nodes wanting to send message contention for the bus. Ø Broadcast frames to all the stations on the network. Ø All stations are continually listening to the bus looking for frames addressed to them . Ø Variable length frames:64 to 1518 bytes. Ø Transmission time : 50 to 1200.
INTERNET ADDRESS Ø It's a 32 bits, 4-part period delimited, decimal number called IP number or IP address: www.xxx.yyy.zzz Ø Each part can vary from 1 to 254 (0 and 255 are reserved for the net and the broadcast). Ø Each network interface card attached to the Internet mast have an unique IP address. Ø The IP address can be splitted in two parts: Ø Network. Ø Host.
SUBNET Sub netting allow a network to be split into several parts for internal use but still act like a single one to the outside world.
Allocation of Network and host
Allocation of Network ,host and sub net
THANK YOU Done by, B.Prashanth R.Vignesh