
Networking in a Nutshell
Networking is a means of connecting computers together so that they can share data, such as files and programs, and also resources, such as printers, servers, and Internet connections. As with all other computer related subjects, networking can be separated into two categories: network hardware and network software.
Network design includes the physical components, network technologies, interfacing software and their protocols needed to establish reliable communication among each computer or workstation, which is called a node, or a host. Data is sent over a network as bits and bytes that have been translated into electronic signals or light bursts in the case of fiberoptic networks. Before being transmitted, data is first divided into segments, each of which has a header and trailer attached. The headers and trailers are called a frame and the entire unit including the data is called a data packet or packet.Each data packet is sent as an independent unit over the network. At the receiving end, the header and trailer information is removed, and the data within the several packets is reassembled in order into the original complete data. Obviously this requires a tremendous amount of overhead or header information. Sometimes the size of the header/trailer is larger than the data in a given packet.
You can think of this process of sending data over a network as similar to that of shipping your computer to your friend in California. The computer is first disassembled and packed into several boxes. When the boxes all arrive, the components are unpacked and reassembled into a complete computer. Think of the computer as data, its various components as data segments, and the shipping boxes with address labels as the headers and trailers. In addition, there are some large Post Office containers and trucks that are part of the shipping process. These would be considered headers also as they are part of the overhead that gets the boxes delivered. And finally, there are some things you can see(software?) such as Postal Service rules and protocols that determine how the boxes get shipped. These protocols would be considered headers also. The units (the combination of shipping boxes, labels, and computer components, Post office containers and protocols) are the data packets. While in transit, the computer (or data) cannot function as a computer because it has been temporarily disassembled. In fact, the individual boxes(packets) may not even be shipped on the same postal truck or arrive on the same date. But once it arrives at its destination, the packing is removed, and the computer is reassembled and a done deal.
A header is information sent in front of data to identify the data destination and the protocols that the packet is using. A trailer follows the data and contains information used by some protocols for error checking. In PCs network interface card(NIC) breaks the data into segments and encloses each segment between headers and trailers, thus creating individual packets. In addition, on the receiving end, the firmware on the network card reassembles the segments back into contiguous data. In the computer shipping analogy, think of the network card in the sending PC as you as you dissassembled, packed and shipped the components. Think of the network card in the receiving PC as your friend who receives the boxes, unpacks them, and assembles the computer system.
And finally, there are two approaches to managing a network: a peer-to-peer network where each individual workstation manages its own security and resources, and a client-server network that is managed by a server. The majority of large networks are client-server. At school, you log into the network server to “get on the network”. The server recognizes your login name of “student” and gives you access to certain resources within the network. If you login on the same machine using my login name and password, you get different network services. This client-server approach allows easy management of large groups of users. In home networking, you might prefer to set up a peer-to-peer network to save the cost of the server since you only have a few nodes. The Cisco Curriculum talks almost completely about large managed client-server networks. You will have some chances to design such a network in this class. You will also be given an opportunity to design a small peer-to-peer network in this class.
The OSI Layer Network Model
In the 1970s, when manufacturers were beginning to build networking software and hardware to connect computers, each manufacturer developed its own standards of communication within its proprietary network design. In the early 1980s, manufacturers began to make attempts to standardize networking so that networks from different manufacturers could communicate. Two bodies that were leaders in this standardization are the International Organization for Standardization (ISO) and the Institute of Electrical and Electronics Engineers (IEEE). For example, one major effort of the IEEE was to standardize Token Ring and Ethernet protocols, which are both considered industry standards for network cards and other network hardware devices that together make up the physical devices that form a network. Ethernet and Token Ring networks are discussed later in the Cisco Curriculum.
In an overall effort to identify and standardize all the levels of communication needed in networking, ISO developed a networking model called the Open Systems Interconnect (OSI) reference model, which is illustrated at the bottom of this section. This model breaks down the communication needed for one user to communicate with another over a network into seven logical levels. These individual layers each add overhead to the data that becomes the headers that you saw in the first section of this reading. Basically as you send a packet to another node, the encapsulation(adding of headers) starts at Layer 7 in your computer and goes 7-6-5-4-3-2-1. Each layer adds some overhead information in headers until it leaves your computer at Layer 1 and travels along the wire through the network. When it reaches the destination, it goes from the wire: 1-2-3-4-5-6-7 with each layer of the receiving computer reading the layer header and removing it. The header in a given layer tells the receiving computer where and how to pass the packet up to the next layer within the computer until it reaches Layer 7 and bursts on to the recipients computer screen as a webpage or an email or whatever. Communication between adjacent layers is considered direct, but communication between matching layers is considered logical or virtual.
When studying the OSI model, remember that not all networks or packets have a separate software layer that matches each of the seven layers. Realistically, no network in use today perfectly follows the model. However, the model does serve the networking industry as a reference point for discussing different levels or layers in a network. For example, the network card operates in the physical layer(Layer 1) and the data-link layer(Layer 2) in the model. From the image below we see that the data-link layer is responsible for disassembling data(including upper layer headers) into segments to be assigned to separate packets and later reassembling packets into contiguous data. The physical layer is responsible for passing packets to and receiving packets from the network media or cabling.
The third layer that we will really focus on in this class is the Network Layer(Layer 3). Once you know that the NIC on an Ethernet network(or Token Ring) handles the bottom two layers of data transmission, you can ask the question, "What software on the network determines the best possible route to send a packet so it can arrive at its destination?" This question is addressed by the network layer. The network card(NIC) of the Ethernet network has nothing to do with “best path determination”, because Ethernet does not encompass the network layer of the OSI model. By referring to the OSI model, students (and network engineers) have a structure from which to work as they understand what is going on in a given network.
Without getting too deeply into the details of the OSI model, the following provides an overview of the role each layer plays in a network, starting at the top.

Application Layer(7)
Presentation Layer(6)
Session Layer(5)
Transport Layer(4)
Network Layer(3)
Data-Link Layer(2)
Physical Layer(1)
One Last Summary of the Networking Model
Remember that data is segmented and enclosed in frames before it is transmitted over a network as data packets. Each layer in the seven-layer model can add information to the beginning and ending of a data packet to be read by the counterpart layer on the receiving workstation. In practice, however, only the data link layer adds both a header and a trailer. The physical layer adds neither, and the other layers might or might not add a header. At its most complex stage, a packet may look like the image below, in which each layer that adds a header or trailer has added its identifying information to the packet.

Later, when the packet is presented to the counterpart layer on the receiving station, that layer interprets any information in the header and trailer intended for that layer. Then it strips off that header and trailer and passes the packet to the next higher layer in the model. For packets to transmit successfully, each layer of the OSI model must communicate using the same protocol as its counterpart layer on the remote computer.