Difference between revisions of "Networking concepts"

From Gender and Tech Resources

(Created page with "bla == Network topology == == Hardware connections == == TCP/IP ports and addresses == == Network protocol levels == == Data link layer == == Network protocol categories == ==...")
 
m
Line 1: Line 1:
 
bla
 
bla
 
== Network topology ==
 
== Network topology ==
 +
 +
* A ''network'' consists of multiple digital devices connected using some type of interface, each having one or more interface devices such as a Network Interface Card (NIC) and/or a serial device for PPP networking. Each digital device is supported by network software that provides server and/or client functionality.
 +
* We can make distinctions in type according to centralisation vs distribution:
 +
** In a server based network, some devices are set up to be primary providers of services. These devices are called servers and the devices that request and use the service are called clients.
 +
** In a peer-to-peer network, various devices on the network can act both as clients and servers. Like a network of switchers. :D
 +
* The network topology describes the method used to do the physical wiring of the network. The main ones are:
 +
** ''Bus'' networks (not to be confused with the system bus of a computer) use a common backbone to connect all devices. Both ends of the network must be terminated with a terminator. A barrel connector can be used to extend it. A device wanting to communicate with another device on the network sends a broadcast message onto the wire that all other devices see, but only the intended recipient actually accepts and processes the message. Bus networks are limited in the number of devices it can serve due to the broadcast traffic it generates.
 +
** ''Ring'' networks connecting from one to another in a ring. Every device has exactly two neighbors. A data token is used to grant permission for each computer to communicate. All messages travel through a ring in the same direction, either "clockwise" or "counterclockwise". A failure in any cable or device breaks the loop and can take down the entire network, so there are also rings that have doubled up on networking hardware and information travels both "clockwise" and "counterclockwise".
 +
** ''Star'' networks using a central connection point called a "hub node", a network ''hub'', ''switch'' or ''router'', that controls the network communications. Most home networks are of this type. Star networks are limited in number of hub connection points.
 +
** ''Tree'' networks join multiple star topologies together onto a bus. In its simplest form, only hub devices connect directly to the tree bus, and each hub functions as the root of a tree of devices.
 +
** ''Mesh'' networks use ''routes''. Unlike the previous topologies, messages sent on a mesh network can take any of several possible paths from source to destination. Most prominent example is the internet.
 
== Hardware connections ==
 
== Hardware connections ==
 
== TCP/IP ports and addresses ==
 
== TCP/IP ports and addresses ==
Line 9: Line 20:
 
== ARP and RARP address translation ==
 
== ARP and RARP address translation ==
 
== Basic addressing ==
 
== Basic addressing ==
 +
 +
* An ''IP Address'' is a logical numeric address that is assigned to every single computer, printer, switch, router or any other device that is part of a TCP/IP-based network.
 +
* Most of the Internet servers and personal computers use ''Internet Protocol version 4 (IPv4)''. This uses 32 bits to assign a network address as defined by the four octets of an IP address, up to <code>255.255.255.255</code>. Each octet is converted to a decimal number (base 10) from 0–255 and separated by a period (a dot). This format is called dotted decimal notation. For example, the IPv4 address of 11000000101010000000001100011000 is:
 +
** Segmented into 8-bit blocks: 11000000 10101000 00000011 00011000.
 +
** Each block is converted to decimal: 192 168 3 24
 +
** The adjacent octets are separated by a period: 192.168.3.24.
 +
* ''Internet Protocol version 6 (IPv6)'' was designed to answer the future exhaustion of the IPv4 address pool. IPv4 address space is 32 bits which translates to just above 4 billion addresses. IPv6 address space is 128 bits translating to billions and billions of potential addresses. The protocol has also been upgraded to include new quality of service features and security, but also has its vulnerabilities <ref>Routing Loop Attack using IPv6 Automatic Tunnels: Problem Statement and Proposed Mitigations http://tools.ietf.org/html/draft-ietf-v6ops-tunnel-loops-07</ref> <ref>When moving to IPv6, beware the risks http://gcn.com/articles/2013/03/20/risks-moving-to-ipv6.aspx</ref>. IPv6 addresses are represented as eight groups of four hexadecimal digits with the groups being separated by colons, for example 2805:F298:0004:0148:0000:0000:0740:F5E9, but methods to abbreviate this full notation exist http://www.vorteg.info/ipv6-abbreviation-rules/.
 
== IP (network) ==
 
== IP (network) ==
 
== TCP (transport) ==
 
== TCP (transport) ==
 
== UDP (transport) ==
 
== UDP (transport) ==
 
== ICMP ==
 
== ICMP ==

Revision as of 14:53, 29 July 2015

bla

Network topology

  • A network consists of multiple digital devices connected using some type of interface, each having one or more interface devices such as a Network Interface Card (NIC) and/or a serial device for PPP networking. Each digital device is supported by network software that provides server and/or client functionality.
  • We can make distinctions in type according to centralisation vs distribution:
    • In a server based network, some devices are set up to be primary providers of services. These devices are called servers and the devices that request and use the service are called clients.
    • In a peer-to-peer network, various devices on the network can act both as clients and servers. Like a network of switchers. :D
  • The network topology describes the method used to do the physical wiring of the network. The main ones are:
    • Bus networks (not to be confused with the system bus of a computer) use a common backbone to connect all devices. Both ends of the network must be terminated with a terminator. A barrel connector can be used to extend it. A device wanting to communicate with another device on the network sends a broadcast message onto the wire that all other devices see, but only the intended recipient actually accepts and processes the message. Bus networks are limited in the number of devices it can serve due to the broadcast traffic it generates.
    • Ring networks connecting from one to another in a ring. Every device has exactly two neighbors. A data token is used to grant permission for each computer to communicate. All messages travel through a ring in the same direction, either "clockwise" or "counterclockwise". A failure in any cable or device breaks the loop and can take down the entire network, so there are also rings that have doubled up on networking hardware and information travels both "clockwise" and "counterclockwise".
    • Star networks using a central connection point called a "hub node", a network hub, switch or router, that controls the network communications. Most home networks are of this type. Star networks are limited in number of hub connection points.
    • Tree networks join multiple star topologies together onto a bus. In its simplest form, only hub devices connect directly to the tree bus, and each hub functions as the root of a tree of devices.
    • Mesh networks use routes. Unlike the previous topologies, messages sent on a mesh network can take any of several possible paths from source to destination. Most prominent example is the internet.

Hardware connections

TCP/IP ports and addresses

Network protocol levels

Data link layer

Network protocol categories

Repeaters, bridges, routers

ARP and RARP address translation

Basic addressing

  • An IP Address is a logical numeric address that is assigned to every single computer, printer, switch, router or any other device that is part of a TCP/IP-based network.
  • Most of the Internet servers and personal computers use Internet Protocol version 4 (IPv4). This uses 32 bits to assign a network address as defined by the four octets of an IP address, up to 255.255.255.255. Each octet is converted to a decimal number (base 10) from 0–255 and separated by a period (a dot). This format is called dotted decimal notation. For example, the IPv4 address of 11000000101010000000001100011000 is:
    • Segmented into 8-bit blocks: 11000000 10101000 00000011 00011000.
    • Each block is converted to decimal: 192 168 3 24
    • The adjacent octets are separated by a period: 192.168.3.24.
  • Internet Protocol version 6 (IPv6) was designed to answer the future exhaustion of the IPv4 address pool. IPv4 address space is 32 bits which translates to just above 4 billion addresses. IPv6 address space is 128 bits translating to billions and billions of potential addresses. The protocol has also been upgraded to include new quality of service features and security, but also has its vulnerabilities [1] [2]. IPv6 addresses are represented as eight groups of four hexadecimal digits with the groups being separated by colons, for example 2805:F298:0004:0148:0000:0000:0740:F5E9, but methods to abbreviate this full notation exist http://www.vorteg.info/ipv6-abbreviation-rules/.

IP (network)

TCP (transport)

UDP (transport)

ICMP

  1. Routing Loop Attack using IPv6 Automatic Tunnels: Problem Statement and Proposed Mitigations http://tools.ietf.org/html/draft-ietf-v6ops-tunnel-loops-07
  2. When moving to IPv6, beware the risks http://gcn.com/articles/2013/03/20/risks-moving-to-ipv6.aspx