INTRODUCTION-<br />What is networking?<br /><ul><li> 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. </li></li></ul><li>Types of computer networks <br /><ul><li>LAN (LOCAL AREA NETWORK)
SAN (STORAGE AREA NETWORK)</li></li></ul><li>LOCAL AREA NETWORK(LAN)<br /><ul><li>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.</li></li></ul><li>Wide area network(wan)<br /><ul><li>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.</li></li></ul><li>Metropolitan area network(man)<br /><ul><li> 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.</li></li></ul><li>PERSONAL AREA NETWORK(PAN)<br /><ul><li>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.</li></ul>GLOBAL AREA NETWORK(GAN)<br /><ul><li>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. </li></li></ul><li>VIRTUAL PRIVATE NETWORK(VPN)<br /><ul><li>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.</li></ul>CAMPUS AREA NETWORK(CAN)<br /><ul><li>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.</li></li></ul><li>NETWORK TOPOLOGY<br /><ul><li>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. </li></ul>TYPES<br /><ul><li>BUS TOPOLOGY
TREE OR HIERARCHICAL</li></li></ul><li>BUS TOPOLOGY<br />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.<br /> Linear bus structure<br />Advantages of a Linear Bus Topology<br /><ul><li>Easy to connect a computer or peripheral to a linear bus.
Requires less cable length than a star topology.</li></ul>Disadvantages of a Linear Bus Topology<br /><ul><li>Entire network shuts down if there is a break in the main cable.
Terminators are required at both ends of the backbone cable. </li></li></ul><li>Star topology<br /><ul><li>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. </li></ul> star structure<br />Advantages of a Star Topology<br /><ul><li>Easy to install and wire.
No disruptions to the network then connecting or removing devices.</li></ul>Disadvantages of a Star Topology<br /><ul><li>Requires more cable length than a linear topology.
If the hub or concentrator fails, nodes attached are disabled. </li></li></ul><li>RING TOPOLOGY<br /><ul><li>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. </li></ul>Ring structure<br />Advantages of a Ring Topology<br /><ul><li>Growth of system has minimal impact on performance.
Complex .</li></li></ul><li>MESH TOPOLOGY<br /><ul><li>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. </li></ul>Mesh structure<br />Advantages of a Mesh Topology<br /><ul><li>System provides increased redundancy and reliability as well as ease of troubleshooting.
Data transfer is faster.</li></ul>Disadvantages of a Mesh Topology<br /><ul><li>System is expensive to install because it uses a lot of cabling. </li></li></ul><li>Tree topology<br /><ul><li>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 .</li></ul>Tree structure<br />Advantages of a Tree Topology<br /><ul><li>Point-to-point wiring for individual segments.
The network doesn`t fail even when a link between two nodes is broken.</li></ul>Disadvantages of a Tree Topology<br /><ul><li>Overall length of each segment is limited by the type of cabling used.
If the backbone line breaks, the entire segment goes down. </li></li></ul><li>BASIC HARDWARE COMPONENTS<br /><ul><li>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.</li></ul>Some of the basic components required for interconnecting the network nodes:<br /><ul><li> NETWORK INTERFACE CARD
ROUTER </li></li></ul><li>NETWORK INTERFACE CARD<br /><ul><li>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 low-level addressing system through the use of MAC addresses.</li></ul>REPEATER<br /><ul><li>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.</li></li></ul><li>NETWORK HUB<br /><ul><li>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.</li></ul>ROUTER<br /><ul><li>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 .</li></li></ul><li>NETWORK BRIDGE<br /><ul><li>A network bridge connects multiple network segments at the datalinklayer (layer 2) of the OSImodel.
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.</li></ul>Bridges come in three basic types:<br /><ul><li>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. </li></li></ul><li>NETWORKING SWITCH<br /><ul><li>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.</li></li></ul><li>WHY A COMPUTER NETWORK NECESSARY?<br />The main reasons are: <br /><ul><li>Distribute pieces of computation among computers (nodes) .
Coordination between processes running on different nodes .
Personal communications (like e-mail, chat, audio/video conferencing).
World Wide Web .</li></li></ul><li>How to measure a network?<br /> <br />Performance parameters: <br /><ul><li>Latency: Time required to transfer an empty message between relevant computers.Sum total of
Transmission time : 50 to 1200.</li></li></ul><li>Internet address<br /> <br /><ul><li>It's a 32 bits, 4-part period delimited, decimal number called IP number or IP address: </li></ul> www.xxx.yyy.zzz<br /><ul><li>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.
Host. </li></li></ul><li>subnet<br /> 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. <br />Allocation of Network and host<br />Allocation of Network ,host and sub net<br />