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

    The number isn’t equal to 2 raised to the power of the number of bits because you always have to take away 2 from the network for the network and broadcast address…

    • 367 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Week 4 B IP Subnetting Lab

    • 2462 Words
    • 19 Pages

    bits (192) creates two usable subnets, three subnet bits (224) creates 6 usable subnets, four bits (240)…

    • 2462 Words
    • 19 Pages
    Powerful 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

    Subnetting IP Addressing • Internet Protocol (IP) • A unique indentifier for a host, or node, on an IP network • 32-bit binary number, usually expressed as 4 “dotted decimal” values. • Each decimal value represents 8 bits, in the range of 0 to 255 Example 140.179.220.200 140 Written in binary form: .179 .220 .200…

    • 2019 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    Nt1310 Unit 7

    • 458 Words
    • 2 Pages

    Theres 4 bits for hosts and 4 for network numbers. Each set = 16 then just subtract one address for the network number and broadcast number for the hosts per.…

    • 458 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 8 Labs

    • 1237 Words
    • 6 Pages

    According to the subnet mask, what is the network ID of the IP address shown? What is the host ID? What is the binary network ID? What is the binary host ID? Does the IP address conform to the rules of classful networking? Why or why not?…

    • 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 address: A 32-bit binary number, often written in the DDN format, that hosts use as their unique identifier in a TCP/IP network, much like a postal mailing address in the postal system.…

    • 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

    In the event that a packet becomes lost due to network congestion, traffic load balancing, or other unpredictable network behavior, TCP detects these problems, requests retransmission of lost data, rearranges out-of-order data, and even helps minimize network congestion to reduce the occurrence of the other problems. Once the TCP receiver has reassembled the sequence of octets originally transmitted, it passes them to the application program.…

    • 350 Words
    • 2 Pages
    Satisfactory 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