Preview

3rd Review

Powerful Essays
Open Document
Open Document
4488 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
3rd Review
Introduction to Sockets Programming in C using TCP/IP

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

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1430 U2G1

    • 433 Words
    • 2 Pages

    2. Defines the size of the host part of the addresses in the subnet. is an identifiably separate part of an organization's network.…

    • 433 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    LAB8.1.1) Network ID is 110| Host id is 10.10.1|Network ID binary is 01101110 Host ID is 00001010.00001010.00000001…

    • 367 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 8 Lab 8

    • 1017 Words
    • 8 Pages

    If you used the number of bytes instead you would get a whole different amount of possible networks which isn’t right.…

    • 1017 Words
    • 8 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Unit 3 Assignment 1

    • 2019 Words
    • 9 Pages

    + 0 + 0 0 0 + 0+ 1 1 0 0 8 + 4 + 0 + 0= 140 Address Classes • There are 5 different…

    • 2019 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    Nt1310 Unit 7

    • 458 Words
    • 2 Pages

    Identify the three IP address classes, the default subnet mask used with each, and the number of hosts for each.…

    • 458 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2640 U3 A1

    • 292 Words
    • 2 Pages

    How many networks will be created using a 255.255.0.0 given a class A IP network (i.e., 10.0.0.0)?…

    • 292 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2. An Ipv4 uses 32 bit IP addresses. The max number of of IPv4 addresses is about 4 billion.…

    • 278 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 8 Labs

    • 1237 Words
    • 6 Pages

    If the IP address in figure 8-1 belongs to a Class A network, what is the Network ID and what is the host ID? What are the binary values of the host ID and the network ID?…

    • 1237 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 3 Lab

    • 290 Words
    • 2 Pages

    TCP – This protocol is what is used to break data down into manageable pieces and package them to send out to the proper address.…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    NT1330 FINAL EXAM NOTES

    • 1446 Words
    • 5 Pages

    IPv4 addresses are commonly represented using what is called dotted-decimal notation, in which the decimal value of each byte is shown, using periods to separate the bytes.…

    • 1446 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit 8 Assignment 1

    • 349 Words
    • 1 Page

    IP network: When discussing IP addressing, this term refers to a group of IP addresses as defined by class A, B, or C rules. Also called a classful network ID.…

    • 349 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 1 Essay

    • 443 Words
    • 2 Pages

    Packet switching – Where the transmission between technology breaks the data up into blocks and then into packets. Every packet contains information that will lead it to the destination. Every packet travels independently through the network and given different routes in the network. Once it reaches the network of its destination than the original message is reassembled.…

    • 443 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Unit 3 Assignment 1

    • 375 Words
    • 2 Pages

    An IPv4 uses 32 bit IP address and with 32 bits the maximum number of IP addresses is approximately four billion IPv4 addresses.…

    • 375 Words
    • 2 Pages
    Good Essays
  • Better Essays

    IP uses the Address Resolution Protocol, ARP, to bind a next-hop IP address to an equivalent MAC address. ARP defines the format of messages that computers exchange to resolve an address, the encapsulation, and the rules for handling ARP messages. The NAT mechanism allows a site to have multiple computers using the Internet through a single IP address. The User Datagram Protocol provides end-to-end message transport from an application running on one computer to an application running on another computer (Comer, 2009).…

    • 1195 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Miss

    • 847 Words
    • 4 Pages

    In the Representative Section: How many internal nodes do we have? Only one; Node 4 It can change to 3; Nodes 3,4 & 5 How many nodes do they have the same conditions ? Only Two; Nodes 7 and…

    • 847 Words
    • 4 Pages
    Satisfactory Essays