Wide Area Network


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Wide Area Network

  1. 1. Wide Area Networks Eric Cozzi eric (at) cozzi (dot) us The Internet and the World Wide Web
  2. 2. Agenda History of the Internet Transmission Control Protocol / Internet Protocol Modern Day Internet Questions
  3. 3. History of the Internet <ul><li>In the 1960’s there was great concern that a nuclear strike would render all traditional communications useless. </li></ul><ul><li>As a result, the US Department of Defense funded the ARPAnet in the development of a decentralized, resilient, and self-configuring communications network. </li></ul>1960’s
  4. 4. First ARPANet Connections 1960’s The first ARPANET links were between UCLA and the Stanford Research Institute in November 1969. A month later links to the University of Utah and the UC Santa Barbara were added. Len Kleinrock standing next to the first Inter Message Processor (IMP) at UCLA
  5. 5. Creation of the NSFNet <ul><li>Recognizing the potential of the ARPANet, the National Science Foundation funded the non-military NSFNet. </li></ul><ul><li>The NSFNet initially interconnected six universities: Boulder, Champaign, Ithaca, Pittsburg, Princeton, and San Diego. A gateway to the ARPANet was provided by Carnegie Mellon University. </li></ul>1960’s 1970’s
  6. 6. Commercialization of the Internet <ul><li>While both the ARPANet and NSFNet were funded by the United States government, both networks were for the sole purpose of supporting research. </li></ul><ul><li>In the 1980’s, the “Internet” started to be commercialized by Telephone Providers and privately owned Internet Service Providers. </li></ul>1960’s 1980’s 1970’s
  7. 7. Exponential Growth of the Internet 1960’s 1990’s 1970’s 1980’s After widespread commercialization of the Internet in the 1980’s, Internet use grew and continues to grow at an exponential rate.
  8. 8. Agenda History of the Internet Transmission Control Protocol / Internet Protocol Modern Day Internet Questions
  9. 9. TCP/IP TCP/IP defines a set of rules to enable computers to communicate over a network, specifying how data should be packaged, addressed, shipped, routed and delivered to the right destination. The specification defines protocols for different types of communication between computers and provides a framework for more detailed standards. Application Layer Transport Layer Network Layer Data Link Layer
  10. 10. Application Layer Network communication starts and ends at the Application Layer. The application layer interfaces directly to and performs common application services for the application processes in order to send and receive data. The application layer also issues & receives requests to/from the transport layer. Data Data TCP Data IP Data TCP Data IP Data Frame Data Application Layer Transport Layer Network Layer Data Link Layer CRC
  11. 11. Transport Layer The transport layer validates the application layer request, segments the data, encapsulates it with a transport layer header containing the correct port numbers and sequence count. The packet is then and passes down to the network layer. The transport layer also has the tricky task of dealing with transfer problems. In the event of a TX/RX failure, the transport layer (in the case of TCP) will send and request duplicate packets in order to maintain application layer data integrity. Data TCP Data IP Data IP Data Frame Data Application Layer Transport Layer Network Layer Data Link Layer Data TCP Data CRC
  12. 12. TCP Header
  13. 13. Handling Errors and Flow Control Here you can see the error handling that is performed by TCP. Whenever a packet is correctly received by the receiver, an ACK is sent to the sender acknowledging the packet. If the sender does not hear an acknowledgement within a certain timeout, the sender will automatically resend any unacknowledged packets. This is known as a Sliding Window Flow Control Protocol.
  14. 14. Network Layer The network layer translates the source and destination IP addresses into physical MAC addresses. A MAC address is a quasi-unique identifier that acts like a name for a particular network adapter. The resolution of an IP address into a MAC address is performed through an ARP (Address Resolution Protocol) lookup. Data IP Data Frame Data Application Layer Transport Layer Network Layer Data Link Layer Data TCP Data TCP Data IP Data CRC
  15. 15. IP Header
  16. 16. Data Link Layer The data link provides data transfer across the physical network link. That transfer may or may provide reliable communications as many data link protocols do not provide a means to test the correctness of a received frame. In these cases, higher-level protocols (such as TCP at the Transport Layer) must provide flow control, error checking, and acknowledgments and retransmission. Data Data TCP Data IP Data TCP Data IP Data Frame Data Application Layer Transport Layer Network Layer Data Link Layer CRC
  17. 17. Ethernet Header & Footer
  18. 18. Packet Routing over the Internet <ul><li>For a packet to get to its intended recipient, it needs to find a route through the network. </li></ul><ul><li>The most common way for this to happen is hop by hop. The originating machine will deliver the packet to the best next-hop toward the ultimate destination. The packet will continue to move “1 hop” closer to its destination until either the hop count dies or the packet reaches its intended destination. </li></ul>… Source 1 st Hop N th Hop Destination
  19. 19. Routing Protocols <ul><li>There are a number of different routing protocols that are employed to correctly route a packet through the Internet. Some of the most common include </li></ul><ul><ul><li>Static Routes </li></ul></ul><ul><ul><li>Routing Information Protocol (RIP) </li></ul></ul><ul><ul><li>Spanning Tree </li></ul></ul><ul><ul><li>Border Gateway Protocol (BGP) </li></ul></ul>
  20. 20. DNS - The Big Phone Book in the Sky <ul><li>When trying to connect to a remote machine, often all we know is the machine’s name and not its IP address. </li></ul><ul><li>The Domain Name Service (DNS) can be thought of like a giant phone book in the sky, that automatically maintains a mapping between Domain Names and IP Addresses. </li></ul><ul><li>The DNS system maintains a hierarchy of redundant DNS servers starting with the Root Name Servers. When looking up a domain name, a DNS host resolves the name against this hierarchy until the ultimate host IP is found. </li></ul>
  21. 21. The OSI Model <ul><li>The OSI Model is an idealized networking model that can be closely correlated to the TCP/IP model. </li></ul><ul><li>The OSI Model defines 7 layers, where the TCP/IP model defines 4 (or 5 depending). </li></ul><ul><li>Roughly the first three layers of the OSI model map to the Application layer of the TCP/IP model. Further, the last two layers of the OSI model roughly map to the Data Link layer of the TCP/IP model. </li></ul><ul><li>Each layer in between directly maps with its couterpart. </li></ul>
  22. 22. Comparison of the TCP/IP and OSI Models Application Layer Transport Layer Network Layer Data Link Layer Session Layer Transport Layer Network Layer Physical Layer Presentation Layer Application Layer Data Link Layer TCP/IP Model OSI Model
  23. 23. Agenda History of the Internet Transmission Control Protocol / Internet Protocol Modern Day Internet Questions
  24. 24. The World Wide Web <ul><li>The World Wide Web (WWW) was developed by Sir Timothy Berners-Lee while working at the CERN laboratories. </li></ul><ul><li>While at CERN, Berners-Lee proposed a method of using a HyperText Transmission Protocol (HTTP), along with HyperText Markup Language (HTML) to facilitate the sharing of ideas among researchers. </li></ul><ul><li>To view an HTML page, a browser application would reformat and display the HTML encoded page in a way appropriate for the user’s display. In this way, hypertext documents are not tied to any particular capability or functionality. </li></ul>
  25. 25. HTML <ul><li>HTML consists of a series of formatting commands, known as HTML tags, which can be embedded into the text content of a page. </li></ul><ul><li>These tags are used to describe properties of the page including how the page should be formatted and presented. </li></ul><ul><li>Some Example Tags include: </li></ul><ul><ul><li><B> … </B> - embolden font </li></ul></ul><ul><ul><li><I> … </I> - Italicize font </li></ul></ul><ul><ul><li><A HREF=“URL”>…</A> - Define a hyperlink </li></ul></ul><ul><ul><li><IMG SRC=“URL”> - Insert an image </li></ul></ul>
  26. 26. Hello World in HTML <ul><li><html> </li></ul><ul><li><head> </li></ul><ul><li><title>HTML Hello World</title> </li></ul><ul><li></head> </li></ul><ul><li><body> </li></ul><ul><li><H1>Heading of Hello World!</H1> </li></ul><ul><li>This is where we say <p>Hello World</p> </li></ul><ul><li></body> </li></ul><ul><li></html> </li></ul>
  27. 27. Server and Browser side Enhancements <ul><li>Since the inception of the WWW, new technologies and language extensions have been developed that have enhanced both the server and browser sides of the web experience. </li></ul><ul><li>Some of these include: </li></ul><ul><ul><li>Server Side Scripting: </li></ul></ul><ul><ul><ul><li>PHP, Java, ASP, CGI, Perl, </li></ul></ul></ul><ul><ul><li>Client Side Scripting: </li></ul></ul><ul><ul><ul><li>JavaScript, Flash, AJAX </li></ul></ul></ul>
  28. 28. HyperText Transfer Protocol (HTTP) <ul><li>HTTP is a client-server protocol intended for use when retrieving documents from the World Wide Web. </li></ul><ul><li>Some examples of HTTP commands include: </li></ul><ul><ul><li>PROXY <URL> </li></ul></ul><ul><ul><li>HEAD <URL> HTTP/1.0 </li></ul></ul><ul><ul><li>GET <URL> HTTP/1.0 </li></ul></ul><ul><ul><li>POST <URL> HTTP/1.0 </li></ul></ul>
  29. 29. Uniform Resource Locators (URLs) <ul><li>A Uniform Resource Locators (URLs) are used to ‘address’ web pages on the World Wide Web. These can be thought of like a file path to a file on your hard drive. </li></ul><ul><li>A URL can be split into a minimum of three different parts: </li></ul><ul><ul><li>Protocol: Most commenly, HTTP </li></ul></ul><ul><ul><li>Machine Name: The DNS name or IP address of the server machine where the HTTP page ‘lives’ </li></ul></ul><ul><ul><li>File Path: The relative file path to the file on the server machine. </li></ul></ul><ul><ul><li>Example: http://www.cs.sjsu.edu/~lee/index.html </li></ul></ul>
  30. 30. WWW Search Engines <ul><li>Without the modern day search engines, like Yahoo and Google, the World Wide Web would long ago have become unmanageable. </li></ul><ul><li>Search Engines work by ‘crawling’ the Internet to find, sort, rank and index pages. This results in an extremely large database which essentially holds the entire Internet. </li></ul><ul><li>When performing a user search, the search engine uses this local database to locate presumptive matches before presenting them to the user. </li></ul>
  31. 31. Agenda History of the Internet Transmission Control Protocol / Internet Protocol Modern Day Internet Questions
  32. 32. Thank You!