Professional Documents
Culture Documents
Introduction
Overview of the basic concepts of networking Also discusses essential topics of networking theory
What is a Network?
A network is a collection of devices that share a common communication protocol and a common communication medium. Devices - computers, printers, telephones, televisions, coke machines, etc.
What is a Network?
Computing-centric model - services and devices bound to individual machines Network-centric model - services and devices are distributed across a network Network and software standards (e.g. Jini) exist to allow devices and hardware to talk to each other over networks and to allow instant plug-and-play functionality
What is a Network?
Besides devices providing services, there are also devices that keep the network going, for example,
Network
cards - to allow a computer to talk to a network. E.g. ethernet card. Routers - machines that direct data to the next "hop" in the network Hubs - allow multiple computers to access a network Gateways - connect one network to another. E.g. a LAN to the Internet.
Wires
and cables - use electricity for transmitting data Wireless - use infrared / radiowaves Fiber-optic cables - use light
Light-Fiber optic/infrared
Microwave
Addressing
Each node in a network is typically represented by an address. The manufacturer of the network interface card (NIC) is responsible for ensuring that no two card addresses are alike, and chooses a suitable addressing scheme. Each card will have this address stored permanently, so that it remains fixed.
Addressing
There are many addressing schemes available. E.g. Ethernet network cards are assigned a unique 48-bit number. This physical address is referred to by many names, such as:
Hardware
address Ethernet address Media Access Control (MAC) address NIC address
Addressing
Often, machines are known by more than one type of address. E.g. a network server may have a physical Ethernet address as well as an Internet Protocol (IP) address, or it may have more than one network card. For inter-network communications, the IP address is used.
Sending individual bits of data from node to node is not very cost effective.
Overhead
information (e.g sender & recipient) Checksums to ensure packet has not been corrupted Other info needed for transmission across network
machines use different types of data representation (e.g. 8-bit integers on one system and 16-bit integers on another). Data compression Data encryption
Advantages of Layering
Helps simplify networking protocols. Protocols can be designed for interoperability
Software
that uses Layer n can talk to software running on another machine that supports Layer n, regardless details of the lower layers.
Example: a network layer protocol can work with an Ethernet network and a token ring network.