Showing posts with label Internet. Show all posts
Showing posts with label Internet. Show all posts

Sunday, June 23, 2013

Internet Protocols & OSI Model

Internet Protocols

A network protocol defines rules and conventions for communication between network devices. Protocols for computer networking all generally use packet switching techniques to send and receive messages in the form of packets.
Network protocols include mechanisms for devices to identify and make connections with each other, as well as formatting rules that specify how data is packaged into messages sent and received. Some protocols also support message acknowledgement and data compression designed for reliable and/or high-performance network communication. Hundreds of different computer network protocols have been developed each designed for specific purposes and environments.

Internet Protocols

The Internet Protocol family contains a set of related (and among the most widely used network protocols. Besides Internet Protocol (IP) itself, higher-level protocols like TCP, UDP, HTTP, and FTP all integrate with IP to provide additional capabilities. Similarly, lower-level Internet Protocols like ARP and ICMP also co-exist with IP. These higher level protocols interact more closely with applications like Web browsers while lower-level protocols interact with network adapters and other computer hardware.

Routing Protocols

Routing protocols are special-purpose protocols designed specifically for use by network routers on the Internet. Common routing protocols include EIGRP, OSPF and BGP.

How Network Protocols Are Implemented

Modern operating systems like Microsoft Windows contain built-in services or daemons that implement support for some network protocols. Applications like Web browsers contain software libraries that support the high level protocols necessary for that application to function. For some lower level TCP/IP and routing protocols, support is implemented in directly hardware (silicon chipsets) for improved performance.

The Layers

Think of the seven layers as the assembly line in the computer. At each layer, certain things happen to the data that prepare it for the next layer. The seven layers, which separate into two sets, are:

Application Set

  • Layer 7: Application - This is the layer that actually interacts with the operating system or application whenever the user chooses to transfer files, read messages or perform other network-related activities.
  • Layer 6: Presentation - Layer 6 takes the data provided by the Application layer and converts it into a standard format that the other layers can understand.
  • Layer 5: Session - Layer 5 establishes, maintains and ends communication with the receiving device.

Transport Set

  • Layer 4: Transport - This layer maintains flow control of data and provides for error checking and recovery of data between the devices. Flow control means that the Transport layer looks to see if data is coming from more than one application and integrates each application's data into a single stream for the physical network.
  • Layer 3: Network - The way that the data will be sent to the recipient device is determined in this layer. Logical protocols, routing and addressing are handled here.
  • Layer 2: Data - In this layer, the appropriate physical protocol is assigned to the data. Also, the type of network and the packet sequencing is defined.
  • Layer 1: Physical - This is the level of the actual hardware. It defines the physical characteristics of the network such as connections, voltage levels and timing.
The OSI Reference Model is really just a guideline. Actual protocol stacks often combine one or more of the OSI layers into a single layer.

Network Topology

Network Topology

A network topology describes the arrangement of systems on a computer network

. It defines how the computers, or nodes, within the network are arranged and connected to each other. Some common network topologies include star, ring, line, bus, and tree configurations. These topologies are defined below:
  1. Star - One central note is connected to each of the other nodes on a network. Similar to a hub connected to the spokes in a wheel.
  2. Ring - Each node is connected to exactly two other nodes, forming a ring. Can be visualized as a circular configuration. Requires at least three nodes.
  3. Line - Nodes are arranged in a line, where most nodes are connected to two other nodes. However, the first and last node are not connected like they are in a ring.
  4. Bus - Each node is connected to a central bus that runs along the entire network. All information transmitted across the bus can be received by any system in the network.
  5. Tree - One "root" node connects to other nodes, which in turn connect to other nodes, forming a tree structure. Information from the root node may have to pass through other nodes to reach the end nodes.
It is helpful for a network administrator to know the pros and cons of different network topologies when putting together a network. By weighing the benefits of each type, the administrator can choose the configuration that is most efficient for the network's intended purpose.

Wednesday, March 27, 2013

What is TCP/IP? Internet, Networking

TCP/IP, Transmission Control Protocol/Internet Protocol, is a suite of communications protocols used to interconnect network devices on the Internet. TCP/IP implements layers of protocol stacks, and each layer provides a well-defined network services to the upper layer protocol. TCP and IP are the two protocols used by TCP/IP, as well as the (higher) application, (lower) data link and (lower) physical layer protocols.

What is TCP/IP?

- TCP/IP is the communication protocol for communication between computers on the Internet.
- TCP/IP stands for Transmission Control Protocol / Internet Protocol.
- TCP/IP defines how electronic devices (like computers) should be connected to the Internet, and how data should be transmitted between them.

Inside TCP/IP

Inside the TCP/IP standard there are several protocols for handling data communication:
  • 1. TCP (Transmission Control Protocol) communication between applications
  • 2. UDP (User Datagram Protocol) simple communication between applications
  • 3. IP (Internet Protocol) communication between computers
  • 4. ICMP (Internet Control Message Protocol) for errors and statistics
  • 5. DHCP (Dynamic Host Configuration Protocol) for dynamic addressing
  •  

TCP/IP

- TCP/IP is TCP and IP working together.
- TCP takes care of the communication between your application software (i.e. your browser) and your network software.
 - IP takes care of the communication with other computers.
- TCP is responsible for breaking data down into IP packets before they are sent, and for assembling the packets when they arrive.
- IP is responsible for sending the packets to the correct destination.