Docsity

The Internet, Slides of Communication

Partial preview of the text

Download The Internet and more Slides Communication in PDF only on Docsity!

The Internet

Introduction to Networking

The Internet The Internet is many computers. Some are small, like your cell phone. Some are even smaller, like a router or a Roomba floor vacuum robot or an Amazon Echo. All of these computers work together to form the Internet. The Internet is a computer network consisting of interconnected networks that use standardized, open (nonproprietary) communication protocols. The Internet is many computers communicating with one another. They might communicate over radio waves (like WiFi or Bluetooth) or over physical cables (like Ethernet or Cable TV). One of the remarkable features of the Internet is that the computers connected are not really aware how they’re connected. They are able to communicate over many different kinds of connections.

Server-Client

A computing system is a group of computing devices and programs working

together for a common purpose. A computer network is a type of computing system.

A path between two computing devices on a computer network (a sender and a

receiver) is a sequence of directly connected computing devices that begins at the

sender and ends at the receiver.

A client is a computer that is requesting a resource or service.

A server is a computer that provides a resource or service.

  • Print servers provides printing service, web servers serves webpages, email

servers, file servers, etc…

Switches Switches allow computers on a LAN to communicate with one another.

MAC Address A network interface card (NIC) on a computer contains a unique hardware address or physical address called the MAC(media access control) address.

  • Every device that can make Wifi, ethernet or bluetooth connections has a MAC address, e.g., laptops, phones, bluetooth speakers, smart fridge, tablets, etc… A MAC address is 6 bytes or 48 bits in length. It is displayed in 12 hexadecimal digits.
  • Example of a MAC address: 00-AA- 00 - B6-7A-50. The first six digits identify the vendor; in this case 00- AA-00 belongs to Intel.

IP Address The MAC address provides the physical address for the NIC but provides no information as to its network location, LAN or in which building, city or country the network resides. The Internet Protocol (IP) address provide worldwide addressing that identifies the computer’s local network.

  • An IP address is a network address or logical address of a computer.
  • Can be IPv4 or IPv6. Although IPv6 is becoming more popular, IPv4 is still the addressing technique of the internet.
  • This is like a street address for your home or school, except, on the Internet, every

computer has a unique IP address that only that computer can have.

A google search like "what's my ip" will likely display the IP address of your computer.

IP Address(IPv4) The IP address is a unique 32-bit that identifies on which network the computer is located as well as differentiates the computer from all other devices on the same network. The address is divided into four 8-bit parts. The format is A.B.C.D, where A,B,C,D are decimal equivalent of the 8-bit binary value. Each value is in the range 0-255. IP address has three parts: network number(identifies the network), subnet and host ID number(identifies the particular computer or host). For example:

IP Address(IPv4) For IPv4, with 32-bits, there are a total of 4,294,967,296 addresses.

  • Not a lot of addresses considering the number of tablets, smartphones, smart TVs, Rokus, laptops in each home!

To conserve the public IP address space, private IP addresses are used within

private networks. These private addresses are not valid addresses for Internet

use.

The three address blocks for private IP addresses are:

Private IP Addresses When you try opening a website from your computer, the request is sent from your computer with a private IP address to your router, after which your router requests the website from your ISP using the public IP address assigned to your network. Once the request has been made, the operations are reversed - the ISP sends the contents of the website to the public IP address of your router, which forwards the address to the computer that asked for it.

IP Address(IPv6) For IPv6 uses 128-bits for a total of approximately 3.4x10^{38} addresses. The address is divided into eight 16-bit parts. The format is 8 groups of four hexadecimal digits.

The World Wide Web The World Wide Web is a system of linked pages, programs, and files. The World Wide Web uses the Internet. HTTP( Hypertext Transfer Protocol) is a protocol used by the World Wide for sending/receiving webpages. Communication between connections on the Internet are governed by rules known as protocols. A protocol is an agreed-upon set of rules that specify the behavior of a system.

Network Applications A network protocol is a set of rules for how applications intercommunicate. Common protocols/applications include:

  • Simple Mail Transfer Protocol (SMTP)
  • Hypertext Transfer Protocol (HTTP) for sending/receiving webpages
  • HTTPS(HTTP Secure)
    • Encrypted with SSL(Secure Socket Layer) or the new TLS(Transport Layer Security)
  • Secure Shell Access(SSH)
  • File Transfer Protocol(FTP)

HTTP In addition to lower-level protocols such as TCP/IP , there are higher-level protocols (protocols that operate on top of TCP/IP) such as HTTP(send and receive webpages). Computers on the Internet need to know not only how to send data to each other but also need to know what to do with the data. For example, when viewing websites, your computer is communicating using HTTP (Hypertext Transfer Protocol). This is also the reason that you sometimes see web addresses begin with an http:// or an https://. This indicates to the browser to use the HTTP protocol to communicate.

Name Resolution(optional) Logical IP addresses are “friendlier” than physical MAC addresses, but still aren’t really human readable.

Domain Names : structured, user friendly system names provided by TCP/IP.

Examples of top-level domain names :

  • .com, .org, .edu, .gov, etc…

Name Resolution : the process of mapping logical addresses back and forth into domain

names

  • 172.217.204.102 is mapped to www.google.com
  • Special name servers store the mapping information in databases
  • TCP/IP’s Domain Name Service (DNS) provides a hierarchy of name servers that handle name resolution for the Internet.