Packet switching

From Computer Science Wiki
Jump to: navigation, search
Networksa group or system of interconnected people or things.[1]

Packet switching is a method of grouping data transmitted over a digital networka group or system of interconnected people or things. into packets which are composed of a header and a payload. Data in the header is used by networking hardware to direct the packet to its destination where the payload is extracted and used by application software. Packet switching is the primary basis for data communications in computer networksa group or system of interconnected people or things. worldwide.[2]

A networka group or system of interconnected people or things. packet can hold about 1500 bytes, but this can be changed. is The MTU (Maximum Transmission Unit) for Ethernet, for instance, is 1500 bytes [3]. This might include all the information in a packet (including header and footer information). The data size for a packet might be around 536 bytes.

Simple diagram of a packet

I use this diagram with gratitude from https://tournasdimitrios1.wordpress.com/2011/01/19/the-basics-of-network-packets/[4]
Networkpacket.jpg

Simple diagram of an ethernet packet

I use this diagram with gratitude from http://books.gigatux.nl/mirror/snortids/0596006616/snortids-CHP-2-SECT-2.html[5]
Snrt 0202.gif

A TCP packet

I use this diagram with gratitude from http://books.gigatux.nl/mirror/snortids/0596006616/snortids-CHP-2-SECT-2.html[6]
Tcp header.gif


This is how data is transmitted by packet switching:

Networka group or system of interconnected people or things. communication is broken down into packets. Every packet has a header and data. The header of a packet contains (among other information) the source and the destination IP address of the packet. The packet is ROUTED to it's destination by a collection of routers, all using an agreed-upon protocol of communication. Packets are reassembled at the destination and de-encapsulated (unzipped) into a networka group or system of interconnected people or things. request your operating system (and application) can understand. 


The video below shows a good example of this. The video mentions the RIP protocol. The Routing Information Protocol (RIP) is one of the oldest distance-vector routing protocols which employ the hop count as a routing metric. RIP prevents routing loops by implementing a limit on the numberA unit of abstract mathematical system subject to the laws of arithmetic. of hops allowed in a path from source to destination. [7]

A good introductory video

See Also


Standards

These standards are used from the IB Computer Science Subject Guide[8]

  • ExplainGive a detailed account including reasons or causes. how data is transmitted by packet switching.

References