Professor: Panagiota Fatourou TA: Eleftherios Kosmas CSD - May 2012
Introduction
Computer Network hosts, routers, communication channels
Host
Hosts run applications Routers forward information Packets: sequence of bytes contain control information e.g. destination host
Router
Communication channel
Protocol is an agreement meaning of packets structure and size of packets e.g. Hypertext Transfer Protocol (HTTP)
CS556 - Distributed Systems Tutorial by Eleftherios Kosmas 2
Protocol Families - TCP/IP
Several protocols for different problems Protocol Suites or Protocol Families: TCP/IP TCP/IP provides end-to-end connectivity specifying how data should be formatted, addressed, transmitted, routed, and received at the destination
can be used in the internet and in stand-alone private networks it is organized into layers
CS556 - Distributed Systems Tutorial by Eleftherios Kosmas 3
TCP/IP
*
FTP, SMTP, … Transport Layer TCP or UDP Network Layer IP Communication Channels
* image is taken from “http://en.wikipedia.org/wiki/TCP/IP_model”
CS556 - Distributed Systems
Tutorial by Eleftherios Kosmas
4
Internet Protocol (IP) provides a datagram service packets are handled and delivered independently
best-effort protocol may loose, reorder or duplicate packets
each packet must contain an IP address of its destination
CS556 - Distributed Systems
Tutorial by Eleftherios Kosmas
5
Addresses - IPv4
The 32 bits of an IPv4 address are broken into 4 octets, or 8 bit fields (0-255 value in decimal notation). For networks of different size, the first one (for large networks) to three (for small networks) octets can be used to identify the network, while the rest of the octets can be used to identify the node on the network.
Range of addresses
7 Class A: 0 Network ID 14 Class B: 1 0 Network ID 21 Class C: 1 1 0 Network ID 28 Class D (multicast): 1 1 1 0