Network
Computer and devices, connected by some type of media. Two computers to thousands of computers connected across the world via the Internet. Networks may link mainframe computers, desktop computers, printers, plotters, fax machines, and phone systems.
Network (cont.)
Manage and administer resources on multiple computer from one location. Networks allow multiple users to share devices and resources such as: - printers - faxes - program and files
ADVANTAGES OF NETWORKING
File Sharing : The major advantage of a computer network is that is allows file sharing and remote file access. A person sitting at one workstation of a network can easily see the files present on the other workstation. Resource Sharing : If there are four people in a family, each having their own computer, they will require four modems (for the Internet connection) and four printers, if they want to use the resources at the same time. A computer network, on the other hand, provides a cheaper alternative by the provision of resource sharing.
Increased Storage Capacity : As there is more than one computer on a network which can easily share files, the issue of storage capacity gets resolved to a great extent. When many computers are on a network, memory of different computers can be used in such case. One can also design a storage server on the network in order to have a huge storage capacity. Increased Cost Efficiency : There are many software's available in the market which are costly and take time for installation. Computer networks resolve this issue as the software can be stored or installed on a system or a server and can be used by the different workstations.
Types of Network
Peer-to-Peer Client / Server
Peer-to-Peer Networks
Peer-to-peer networks : Resource sharing, processing, and communication controls are fully decentralized often called a workgroup. All clients are given equal importance in using the network resources and users are individually authenticated by workstations. No fixed clients and servers.
Peer-to-Peer Networks
Client/Server Networks
Network Topologies
Network topology is the layout pattern of interconnections of the various elements (cable, nodes, etc.) of a computer network.
Bus Ring Star Hybrid Mesh
BUS
Connect two or more computer using coaxial cable and BNC connector. Terminator are installed on both ends of the cable. Without the terminator, the electrical signal that represent the data would reached the end of cooper wire and bounce back, causing errors on the network. Advantages : inexpensive to install, can easily add more workstation. Disadvantages : If the cable break down, the network is down, access time and network performance degrade as devices are added to the network.
Bus Topology
RING
Computer are connected in a ring (circle). It has no beginning or end, so there is no need to terminate the cable. Every device have an equal advantage in accessing the media. Advantages : There are no collisions , no terminators are needed, easy to locate and correct problems with devices and cable. Disadvantages : requires more cable than a bus network, a break in the cable brings the entire network down.
Ring Topology
STAR
All computer are connected to a central point such as hub or switch The most common topology used today Data on a star topology passes through the hub or switch before continuing to its destination. Advantages : Cable failure will not disrupt the network. Disadvantages : Single point of failure.
Star Topology
Hybrid
Combination of any two or more different topologies. The most commonly used topologies are StarBus or Star-Ring. Advantages : If a computer fails, it will not affect the rest of the network Disadvantages : If the central component, or hub, that attaches all computers in a star, fails, no computer will be able to communicate.
Mesh
All computer are connected to every other computer on the network Rarely used on a Local Area Network (LAN) The topology of the Internet. Advantages : Very redundant. No disruption when expanded. Disadvantages : Expensive. Requires a lot of cable and network interface cards.
Data Transmission
Basic Data Transmission Concept : Analog and Digital Signaling Data Modulation Simplex, Half-Duplex and Full-Duplex Transmission Multiplexing Point-to-Point Transmission
Broadcast
Throughput Bandwidth
Transmission Basics
Modulation
Modulation is the process of varying a carrier signal, in order to use that signal to convey information. (Technique for formatting signals)
When a binary data is receive by a analog signal, it will be change to a form that can be understood by the computer. This is called modulation and in otherwise called demodulation. A device that performs modulation is known as a modulator and a device that performs demodulation is known as a demodulator. A device that can do both operations is a modem.
Transmission Direction
Simplex
Only one of a two section can transmit; the other can only receive.
Half-duplex
Each station can both transmit and receive. But not at the same time. When one device is sending, the other can only receive, and vice versa
Full-duplex
Both stations can transmit and receive simultaneously.
Multiplexing
Multiplexing
Allows multiple signals to travel simultaneously over one medium For each type of multiplexing: Multiplexer (mux) is required at sending end of channel Demultiplexer (demux) separates the combined signals and regenerates them in original form
1 path M U X 4 channels D E M U X
a. No multiplexing
b. Multiplexing
Broadcast Transmission
Transmission involving one transmitter and multiple receivers
Transmission Flaws
Common transmission flaws affecting data signal : Noise Attenuation Latency
Types of noise
EMI (electromagnetic interference)
EMI/RFI (radiofrequency interference)
Cross talk
Potential cause: improper termination
Causes
Cable length
Rules of Communication
Protocols are rules that govern a communication exchange. Establish a link Issue a command and command qualifier Acknowledgment of command Dissection messages Error detection and correction Termination of transmission
Access Layer
The Access Layer provides a connection point for end user devices to the network and allows multiple hosts to connect to other hosts through a network device, usually a hub or switch. Typically, all devices within a single Access Layer will have the same network portion of the IP address. If a message is destined for a local host, based on the network portion of the IP address, the message remains local. If it is destined for a different network, it is passed up to the Distribution Layer. Hubs and switches provide the connection to the Distribution Layer devices, usually a router.
Distribution Layer
The Distribution Layer provides a connection point for separate networks and controls the flow of information between the networks. It typically contains more powerful switches than the Access Layer as well as routers for routing between networks. Distribution Layer devices control the type and amount of traffic that flows from the Access Layer to the Core Layer.
Broadcast Messaging
When hosts are connected using either a hub or a switch, a single local network is created. Within the local network it is often necessary for one host to be able to send messages to all the other hosts at the same time. This can be done using a message known as a broadcast. Broadcasts are useful when a host needs to find information without knowing exactly what other host can supply it or when a host wants to provide information to all other hosts in the same network in a timely manner. A message can only contain one destination MAC address. So, how is it possible for a host to contact every other host on the local network without sending out a separate message to each individual MAC? To solve this problem, broadcast messages are sent to a unique MAC address that is recognized by all hosts. The broadcast MAC address is actually a 48-bit address made up of all ones. Because of their length, MAC addresses are usually represented in hexadecimal notation. The broadcast MAC address in hexadecimal notation is FFFF.FFFF.FFFF. Each F in the hexadecimal notation represents four ones in the binary address.
When a host receives a message addressed to the broadcast address, it accepts and processes the message as though the message was addressed directly to it. When a host sends a broadcast message, hubs and switches forward the message to every connected host within the same local network. For this reason, a local network is also referred to as a broadcast domain. If too many hosts are connected to the same broadcast domain, broadcast traffic can become excessive. The number of hosts and the amount of network traffic that can be supported on the local network is limited by the capabilities of the hubs and switches used to connect them. As the network grows and more hosts are added, network traffic, including broadcast traffic, increases. It is often necessary to divide one local network, or broadcast domain, into multiple networks to improve performance. Router interfaces do not forward messages that are addressed to the broadcast MAC address. As a result, local network broadcasts are not sent across routers to other local networks.
MAC and IP
NIC only accepts a frame if the destination address is either the broadcast MAC address, or the MAC address of the NIC. What if a sending host only has the logical IP address of the destination host? How does the sending host determine what destination MAC address to place within the frame? The sending host can use an IP protocol called address resolution protocol (ARP) to discover the MAC address of any host on the same local network.
Routers - A router is a networking device that connects a local network to other local networks. A network host that reads the source and destination addresses in the packet header and make decisions about where to forward packet. Wireless access points - A device that allows wireless devices to connect to a wired network using Wi-Fi, Bluetooth or related standards. The WAP usually connects to a router (via a wired network), and can relay data between the wireless devices (such as computers or printers) and wired devices on the network.