π Lecture 51 β Networking and the Internet: Combining Networks
π Overview: This lecture covers two main topics: collision avoidance protocols in WiFi networks and methods for connecting networks to form larger communication systems. Understanding these concepts is crucial for grasping how wireless networks handle transmission conflicts and how different types of networks can be interconnected to create scalable and efficient communication infrastructures.
ποΈ Topics Covered
The lecture first examines a collision avoidance protocol used in WiFi that gives priority to waiting machines, differentiating it from Ethernet's CSMA/CD, and addresses the hidden terminal problem through a request-acknowledgment system. It then explores methods for combining networks, starting with devices like repeaters, bridges, and switches that create larger networks of the same type, followed by routers that connect incompatible networks to form internets, including the distinction between the generic term "internet" and the specific "Internet."
π Lecture Summary
Collision Avoidance in WiFi Networks
The most common collision avoidance approach gives advantage to machines that have already been waiting to transmit. This protocol is similar to Ethernet's CSMA/CD but has a key difference: when a machine first needs to transmit and finds the channel silent, it does not start immediately. Instead, it waits for a short period and then transmits only if the channel has remained silent throughout. If a busy channel is experienced, the machine waits for a randomly determined period before trying again. Once this waiting period is exhausted, the machine can claim a silent channel without hesitation. This avoids collisions between "newcomers" and those already waiting because a newcomer cannot claim a silent channel until any waiting machine gets its opportunity.
However, this protocol does not solve the hidden terminal problem, where stations cannot hear all other stations. To solve this, some WiFi networks use a more sophisticated approach: each machine sends a short "request" message to the AP and waits until the AP acknowledges before transmitting a full message. If the AP is busy with a hidden terminal, it ignores the request, and the machine knows to wait. Otherwise, the AP acknowledges, and the machine can transmit safely. All machines hear acknowledgments from the AP, so they know if the AP is busy even if they cannot hear all transmissions.
Combining Networks with Repeaters, Bridges, and Switches
Sometimes it is necessary to connect existing networks to form an extended communication system. For bus networks based on Ethernet, this can be done by connecting buses to form a single long bus using different devices. A repeater is the simplest deviceβit passes signals back and forth between two original buses, usually with amplification, without considering signal meaning (Figure 62a).
π Definition β Repeater: A device that connects two buses and passes signals back and forth without considering the meaning of the signals.
A bridge is similar to but more complex than a repeater. It connects two buses but does not necessarily pass all messages across the connection. Instead, it examines the destination address of each message and forwards it across the connection only when the message is destined for a computer on the other side. This means two machines on the same side can exchange messages without interfering with communication on the other side, producing a more efficient system.
π Definition β Bridge: A device that connects two buses and forwards messages across the connection only when the destination address indicates a computer on the other side.
A switch is essentially a bridge with multiple connections, allowing it to connect several buses rather than just two. This creates a network with several buses extending from the switch like spokes on a wheel (Figure 62b). Like a bridge, a switch considers destination addresses and forwards messages only to the appropriate spoke, minimizing traffic in each spoke.
π Definition β Switch: A bridge with multiple connections that forwards messages only into the appropriate spoke, minimizing traffic in each spoke.
π‘ Why this matters: When networks are connected via repeaters, bridges, and switches, the result is a single large network that operates using the same protocols as the original smaller networks.
Connecting Incompatible Networks with Routers
Sometimes networks have incompatible characteristics, such as a WiFi network and an Ethernet network. In these cases, networks must be connected to build a network of networks, known as an internet, where original networks maintain their individuality and continue as autonomous networks.
π Definition β Internet (generic): A network of networks where original networks maintain their individuality and continue to function as autonomous networks.
The connection between networks to form an internet is handled by routers, which are special-purpose computers used for forwarding messages. Unlike repeaters, bridges, and switches, routers provide links between networks while allowing each network to maintain its unique internal characteristics. Figure 63 depicts two WiFi star networks and an Ethernet bus network connected by routers.
π Definition β Router: A special-purpose computer used for forwarding messages between networks while allowing each network to maintain its unique internal characteristics.
π‘ Why this matters: The generic term internet (lowercase i) is distinct from the Internet (uppercase I), which refers to a particular worldwide internet. Traditional telephone communication was handled by worldwide internet systems long before the Internet became popularized.
β Key Takeaways
The most critical points from this lecture are: (1) WiFi collision avoidance gives priority to waiting machines by requiring newcomers to wait before claiming a silent channel, and the hidden terminal problem is addressed through a request-acknowledgment system with the AP. (2) Repeaters, bridges, and switches are used to connect similar networks (like Ethernet buses) into a single larger network, with increasing sophistication and efficiency from repeaters to bridges to switches. (3) Routers are fundamentally different because they connect incompatible networks while allowing each to maintain its own characteristics, forming an internet. (4) The generic term "internet" describes any network of networks, while "Internet" with a capital I refers specifically to the global system we use today.
π§ Quick Revision Questions
- How does the WiFi collision avoidance protocol differ from Ethernet's CSMA/CD in terms of when a machine can start transmitting on a silent channel?
- What is the hidden terminal problem, and how does the request-acknowledgment system solve it?
- What are the key differences between a repeater, a bridge, and a switch in terms of how they handle messages?
- How do routers differ from repeaters, bridges, and switches when connecting networks?
- What is the distinction between the generic term "internet" (lowercase i) and the "Internet" (uppercase I)?
π Lecture 52 β Networking and the Internet: Methods of Process Communication
π Overview: This lecture explains how networks are connected to form internets using routers and gateways, and introduces the fundamental methods of inter-process communication. Understanding these concepts is essential for grasping how devices and processes communicate across the global Internet.
ποΈ Topics Covered
The lecture covers how routers forward messages between different networks using internet-wide addressing and forwarding tables, the concept of gateways as passageways between networks, and the two primary models of inter-process communication: the client/server model and the peer-to-peer (P2P) model, with historical applications such as print servers and file servers.
π Lecture Summary
Routers and Internet Addressing
When a machine in one WiFi network wants to send a message to a machine in an Ethernet network, it first sends the message to the Access Point (AP) in its network. From there, the AP sends the message to its associated router, which forwards the message to the router at the Ethernet network. There the message is given to a machine on the bus, which then forwards it to its final destination. The reason that routers are so named is that their purpose is to forward messages in their proper directions.
This forwarding process is based on an internet-wide addressing system in which all devices in an internet (including machines in the original networks and the routers) are assigned unique addresses. Thus, each machine in one of the original networks has two addresses: its original "local" address within its own network and its internet address. A machine wanting to send a message to a machine in a distant network attaches the internet address of the destination to the message and directs the message to its local router. For this forwarding purpose, each router maintains a forwarding table that contains the router's knowledge about the direction in which messages should be sent depending on their destination addresses.
Gateways
The "point" at which one network is linked to an internet is often called a gateway because it serves as a passageway between the network and the outside world. Gateways can be found in a variety of forms, and thus the term is used rather loosely. In many cases a network's gateway is merely the router through which it communicates with the rest of the internet. In other cases the term gateway may be used to refer to more than just a router. For example, in most residential WiFi networks that are connected to the Internet, the term gateway refers collectively to both the network's AP and the router connected to the AP because these two devices are normally packaged in a single unit.
Inter-Process Communication and the Client/Server Model
The various activities (or processes) executing on different computers within a network (or even executing on the same machine via time-sharing/multitasking) must often communicate with each other to coordinate their actions and perform their designated tasks. Such communication between processes is called inter-process communication. A popular convention used for inter-process communication is the client/server model. This model defines the basic roles played by the processes as either a client, which makes requests of other processes, or a server, which satisfies the requests made by clients.
An early application of the client/server model appeared in networks connecting all computers in a cluster of offices. A single, high-quality printer was attached to the network where it was available to all machines. In this case the printer played the role of a server (often called a print server), and the other machines were programmed to play the role of clients that sent print requests to the print server.
Another early application of the client/server model was used to reduce the cost of magnetic disk storage while also removing the need for duplicate copies of records. One machine in a network was equipped with a high-capacity mass storage system (usually a magnetic disk) that contained all of an organization's records. Other machines on the network requested access to the records as they needed them. Thus the machine that actually contained the records played the role of a server (called a file server), and the other machines played the role of clients that requested access to the files stored at the file server.
π Definition β Inter-process communication: Communication between processes executing on different computers within a network or on the same machine via time-sharing/multitasking.
π Definition β Client/server model: A model where one process (the server) provides a service to numerous other processes (clients) that make requests.
π Example β Print server: A high-quality printer attached to a network acts as a server; other machines act as clients sending print requests. π Example β File server: A machine with high-capacity storage holds an organization's records; other machines act as clients requesting access to those files.
π‘ Why this matters: The client/server model is used extensively in modern network applications and forms the foundation of web browsing, email, and database access.
The Peer-to-Peer Model
The client/server model is not the only means of inter-process communication. Another model is the peer-to-peer (often abbreviated P2P) model. Whereas the client/server model involves one process (the server) providing a service to numerous others (clients), the peer-to-peer model involves processes that provide service to and receive service from each other. Moreover, whereas a server must execute continuously so that it is prepared to serve its clients at any time, the peer-to-peer model usually involves processes that execute on a temporary basis.
π Example: Applications of the peer-to-peer model include instant messaging, in which people carry on a written conversation over the Internet, as well as situations in which people play competitive interactive games.
π Definition β Peer-to-peer (P2P) model: A model involving processes that provide service to and receive service from each other, usually executing on a temporary basis.
π‘ Why this matters: P2P is fundamentally different from client/server because each participant can act as both provider and consumer, making it ideal for file sharing, messaging, and gaming applications.
β Key Takeaways
The critical concepts to remember are that routers forward messages between networks using internet-wide addressing and forwarding tables, while gateways serve as passageways connecting networks to the broader internet. For inter-process communication, the two dominant models are the client/server model, where a server provides continuous service to multiple clients, and the peer-to-peer model, where processes mutually provide and receive service on a temporary basis. Historical examples like print servers and file servers illustrate early client/server applications, while instant messaging exemplifies P2P communication. Understanding the distinction between local and internet addresses is also essential for grasping how messages travel across interconnected networks.
π§ Quick Revision Questions
- What are the two addresses that each machine in a network has when connected to an internet, and why are both needed?
- How does a router use its forwarding table to determine where to send a message?
- What is the difference between a gateway and a router, especially in residential WiFi networks?
- How do the roles of processes differ between the client/server model and the peer-to-peer model?
- Why must a server in the client/server model execute continuously, while peer-to-peer processes can execute temporarily?
π Lecture 53 β Networking and the Internet: Distributed Systems (Modules 62 and 63)
π Overview: This lecture contrasts two fundamental models of network-based communication: the client/server model and the peer-to-peer (P2P) model. It then explores how these models underpin modern distributed systems, including cluster, grid, and cloud computing, which are essential for large-scale computation, file sharing, and global information services.
ποΈ Topics Covered
The lecture first compares the client/server model (where a server provides services and clients request them) with the peer-to-peer model (where peers act as both servers and clients). It explains the use of swarms in P2P file distribution and discusses the legal implications. The second part introduces distributed systems as software units on different computers, detailing the three main types: cluster computing for high-availability and load-balancing, grid computing for loosely coupled large tasks, and cloud computing for on-demand resource allocation.
π Lecture Summary
The Client/Server Model vs. The Peer-to-Peer Model
The lecture begins by contrasting two primary communication models for network processes. In the client/server model, one process (the server) provides a service, and other processes (clients) request that service. In contrast, the peer-to-peer (P2P) model treats processes as equals, allowing each to act as both a client and a server. This is illustrated in Figure 64.
The peer-to-peer model is popular for distributing files like music and movies. In this model, one peer may receive a file from another and then provide that same file to other peers. The collection of peers is called a swarm. This approach differs from earlier client/server methods that used a central server for distribution. The P2P model is more efficient because it distributes the service task across many peers, eliminating a single point of concentration. However, its lack of a central server also makes legal efforts to enforce copyright laws more difficult, though many individuals have faced significant liabilities for copyright violations.
π Definition β Peer-to-peer (P2P): A system by which two processes communicate over a network (or internet) as equals, where each can act as either a client or a server. It is not a property of the network itself but a communication model used by processes.
Distributed Systems
With the success of networking, many modern software systems are designed as distributed systemsβsoftware units that execute as processes on different computers. Examples include global information retrieval systems, company-wide accounting, and network infrastructure software. Modern research has focused on creating a common infrastructure (e.g., communication and security) so that distributed applications can be built by developing only the unique part.
Three common types of distributed computing systems are described:
- Cluster computing: A distributed system where many independent computers work closely together to provide computation or services comparable to a much larger machine. This system provides high-availability (at least one member can answer a request) and load-balancing (workload is shifted between members).
- Grid computing: A more loosely coupled distributed system where computers work together to accomplish large tasks. It often uses specialized software to distribute data and algorithms. Examples include University of Wisconsin's Condor system and Berkeley's BOINC. These systems can be installed on home PCs to volunteer computing power when the machine is not in use.
- Cloud computing: The latest trend, where huge pools of shared computers on the network can be allocated for use by clients as needed. This allows entities to entrust their data and computations to "the Cloud," using the Internet's enormous computing resources rather than maintaining their own hardware.
π‘ Why this matters: The evolution from cluster to grid to cloud computing represents a fundamental shift in how we access and pay for computing power, moving from owning physical hardware to renting virtualized resources on demand.
π Definition β Distributed systems: Software systems that consist of software units that execute as processes on different computers.
π Formula: [High-availability + Load-balancing = Cluster computing reliability] β A cluster's ability to answer requests even when some members fail, while automatically redistributing workload.
β Key Takeaways
The peer-to-peer model differs fundamentally from the client/server model by making every process a potential server and client, enabling efficient file distribution via swarms but raising legal challenges. A "peer-to-peer network" is a misnomer; it refers to a communication model used by processes, not a property of the network. Distributed systems, including cluster, grid, and cloud computing, are built on these communication models. Cluster computing emphasizes tight coupling for high-availability and load-balancing, while grid computing uses looser coupling for large-scale volunteer computing (e.g., BOINC). Cloud computing represents the latest paradigm, allowing on-demand allocation of vast, shared network resources.
π§ Quick Revision Questions
- What is the key difference between the client/server model and the peer-to-peer model in terms of how processes interact?
- In the context of peer-to-peer file distribution, what is a "swarm"?
- Why is it considered a misuse of terminology to say "peer-to-peer network"?
- Name and briefly describe the three main types of distributed computing systems discussed in this lecture.
- What are the two primary benefits of cluster computing mentioned in the text?
π Lecture 54 β Networking and the Internet: Internet Architecture and Internet Addressing
π Overview: This lecture explores the hierarchical structure of the Internet, from tier-1 backbone providers down to end-user devices, and explains how unique IP addresses are assigned to computers worldwide. Understanding this architecture is essential for grasping how data flows across networks and how the Internet maintains order despite its decentralized nature.
ποΈ Topics Covered
The lecture begins with a discussion of cloud computing and its implications for privacy and security. It then examines the hierarchical classification of Internet Service Providers (ISPs) into tier-1, tier-2, and tier-3 (access) ISPs, explaining their roles in the Internet's core and periphery. Finally, it covers the concept of IP addresses as the Internet's unique addressing system, including the roles of ICANN and the transition from 32-bit to 128-bit addresses.
π Lecture Summary
64. Networking and the Internet: Internet Architecture
The Internet is a collection of connected networks constructed and maintained by organizations called Internet Service Providers (ISPs). The system of networks operated by ISPs can be classified in a hierarchy according to the role they play in the overall Internet structure. At the top are relatively few tier-1 ISPs that consist of very high-speed, high-capacity, international WANs. These networks are thought of as the backbone of the Internet and are typically operated by large communications companies, such as those that originated as traditional telephone companies.
Connecting to the tier-1 ISPs are the tier-2 ISPs, which tend to be more regional in scope and less potent in their capabilities. The distinction between tier-1 and tier-2 ISPs is often a matter of opinion. Tier-1 and tier-2 ISPs are essentially networks of routers that collectively provide the Internet's communication infrastructure, and they can be thought of as the core of the Internet. Access to this core is usually provided by an intermediary called an access or tier-3 ISP. An access ISP is essentially an independent internet, sometimes called an intranet, operated by a single authority that supplies Internet access to individual homes and businesses. Examples include cable and telephone companies, as well as organizations like universities or corporations.
The devices that individual users connect to the access ISPs are known as end systems or hosts. These may be laptops, PCs, telephones, video cameras, automobiles, or home appliances β any device that would benefit from communicating with other devices. The technology by which end systems connect to larger networks is varied, with the fastest growing being wireless connections based on WiFi technology. The strategy is to connect an access point (AP) to an access ISP, providing Internet access to end systems within the AP's broadcast range. The area within an AP's range is often called a hot spot, particularly when network access is publicly available or free. A similar technology is used by the cellular telephone industry where hot spots are known as cells and the routers generating the cells are coordinated to provide continuous service as an end system moves from one cell to another.
65. Networking and the Internet: Internet Addressing
The Internet needs an internet-wide addressing system that assigns a unique identifying address to each computer in the system. In the Internet these addresses are known as IP addresses. Originally, each IP address was a pattern of 32 bits, but to provide a larger set of addresses, the process of converting to 128-bit addresses is currently underway. Blocks of consecutively numbered IP addresses are awarded to ISPs by the Internet Corporation for Assigned Names and Numbers (ICANN), which is a nonprofit organization.
π Definition β IP address: A unique identifying address assigned to each computer in the Internet, originally a 32-bit pattern but now transitioning to 128 bits. π Formula: IP address (32-bit) β 2Β³Β² possible addresses; IP address (128-bit) β 2ΒΉΒ²βΈ possible addresses π Example: The transition from 32-bit to 128-bit IP addresses (IPv6) is underway because the supply of 32-bit addresses was being exhausted. Blocks of addresses are awarded to ISPs by ICANN.
β Key Takeaways
The Internet is organized as a three-tier hierarchy of ISPs: tier-1 (global backbone), tier-2 (regional), and tier-3/access ISPs (local intranets that connect end users). End systems (hosts) connect to access ISPs via technologies like WiFi, where access points create hot spots. Each computer on the Internet requires a unique IP address for identification. ICANN manages the allocation of IP address blocks to ISPs, and the system is currently migrating from 32-bit to 128-bit addresses to accommodate the growing number of connected devices.
π§ Quick Revision Questions
- What are the three tiers of ISPs in the Internet hierarchy, and what role does each play?
- What is the difference between an access ISP (tier-3) and an intranet?
- What is an end system (host), and what types of devices can serve as end systems on the Internet?
- What is the original bit-length of an IP address, and why is it being converted to a longer format?
- Which nonprofit organization is responsible for awarding blocks of IP addresses to ISPs?
π Lecture 55 β Networking and the Internet: Internet Applications
π Overview: This lecture explores how the Internet assigns unique IP addresses to machines and provides alternative mnemonic naming systems for human convenience. It explains the domain name system (DNS), how name servers translate mnemonic addresses into IP addresses, and how organizations can register and manage domain names.
ποΈ Topics Covered
The lecture covers the allocation of IP addresses by ICANN and ISPs, dotted decimal notation, the concept of domains and top-level domains (TLDs), subdomains, the domain name system (DNS), name servers, DNS lookups, and scenarios where small organizations contract with ISPs for domain name representation.
π Lecture Summary
The Internet and IP Addresses
The Internet Corporation for Assigned Names and Numbers (ICANN) is the corporation established to coordinate the Internetβs operation. ISPs are allowed to allocate addresses within their awarded blocks to machines within their region of authority. Thus, machines throughout the Internet are assigned unique IP addresses.
IP addresses are traditionally written in dotted decimal notation in which the bytes of the address are separated by periods and each byte is expressed as an integer represented in traditional base 10 notation. For example, using dotted decimal notation, the pattern 5.2 would represent the two-byte bit pattern 0000010100000010, which consists of the byte 00000101 (represented by 5) followed by the byte 00000010 (represented by 2), and the pattern 17.12.25 would represent the three-byte bit pattern consisting of the byte 00010001 (which is 17 written in binary notation), followed by the byte 00001100 (12 written in binary), followed by the byte 00011001 (25 written in binary). In summary, a 32-bit IP address might appear as 192.207.177.133 when expressed in dotted decimal notation.
π Definition β IP Address: A unique 32-bit numeric identifier assigned to each machine on the Internet, written in dotted decimal notation where each byte is expressed as a decimal number separated by periods.
π Formula: Dotted Decimal Notation: Byte1.Byte2.Byte3.Byte4 β converts each 8-bit binary byte into a decimal integer from 0 to 255.
π Example: The bit pattern 0000010100000010 is represented as 5.2 in dotted decimal notation because 00000101 = 5 and 00000010 = 2. A full 32-bit address like 192.207.177.133 represents four bytes: 11000000.11001111.10110001.10000101.
Domain Names and Mnemonic Addressing
Addresses in bit-pattern form are rarely conducive to human consumption. For this reason, the Internet has an alternative addressing system in which machines are identified by mnemonic names. This addressing system is based on the concept of a domain, which can be thought of as a "region" of the Internet operated by a single authority such as a university, club, company, or government agency. Each domain must be registered with ICANN β a process handled by companies called registrars that have been assigned this role by ICANN. As part of this registration process, the domain is assigned a mnemonic domain name, which is unique among all domain names throughout the Internet. Domain names are often descriptive of the organization registering the domain, which enhances their utility for humans.
π Definition β Domain: A region of the Internet operated by a single authority, such as a university, club, company, or government agency, identified by a unique mnemonic domain name.
π Definition β Registrars: Companies assigned by ICANN to handle domain registration processes.
π Example: The domain name of Marquette University is mu.edu. Note the suffix following the period, which is used to reflect the domain's classification.
Top-Level Domains (TLDs)
The suffixes following the period in domain names are called top-level domains (TLDs). These reflect the domain's classification. For example, the edu suffix indicates "educational" classification. Other TLDs include:
- com for commercial institutions
- gov for U.S. government institutions
- org for nonprofit organizations
- museum for museums
- info for unrestricted use
- net, originally intended for ISPs but now used on a much broader scale
In addition to these general TLDs, there are also two-letter TLDs for specific countries (called country-code TLDs) such as au for Australia and ca for Canada.
π Definition β Top-Level Domain (TLD): The suffix at the end of a domain name that indicates the domain's classification or country of origin.
π Example: mu.edu uses .edu as its TLD, indicating it is an educational institution. If a domain had .au, it would indicate Australia.
Subdomains and Name Extension
Once a domain's mnemonic name is registered, the organization that registered the name is free to extend the name to obtain mnemonic identifiers for individual items within the domain. For example, an individual host within Marquette University may be identified as eagle.mu.edu. Note that domain names are extended to the left and separated by a period. In some cases, multiple extensions called subdomains are used as a means of organizing the names within a domain. These subdomains often represent different networks within the domain's jurisdiction.
π Definition β Subdomain: An extension added to the left of a domain name, separated by a period, used to organize names within a domain, often representing different networks.
π Example: If Yoyodyne Corporation was assigned the domain name yoyodyne.com, then an individual computer at Yoyodyne might have a name such as overthruster.propulsion.yoyodyne.com, meaning that the computer "overthruster" is in the subdomain "propulsion" within the domain "yoyodyne" within the TLD "com". The dotted notation used in mnemonic addresses is not related to the dotted decimal notation used to represent addresses in bit pattern form.
π‘ Why this matters: Mnemonic domain names like "eagle.mu.edu" are far easier for humans to remember than numeric IP addresses like 192.207.177.133.
The Domain Name System (DNS)
Although mnemonic addresses are convenient for humans, messages are always transferred over the Internet by means of IP addresses. Thus, if a human wants to send a message to a distant machine and identifies the destination by means of a mnemonic address, the software being used must be able to convert that address into an IP address before transmitting the message. This conversion is performed with the aid of numerous servers called name servers, that are essentially directories that provide address translation services to clients. Collectively, these name servers are used as an Internet-wide directory system known as the domain name system (DNS). The process of using DNS to perform a translation is called a DNS lookup.
π Definition β Name Server: A server that acts as a directory, providing address translation services to clients by converting mnemonic domain names into IP addresses.
π Definition β Domain Name System (DNS): An Internet-wide directory system composed of name servers that collectively perform translations of mnemonic addresses to IP addresses.
π Definition β DNS Lookup: The process of using DNS to translate a mnemonic domain name into its corresponding IP address.
π Example: When a user types "eagle.mu.edu" in a web browser, the software performs a DNS lookup by querying name servers to find the IP address (like 192.207.177.133) before sending the message.
Domain Ownership and ISP Name Servers
For a machine to be accessible by means of a mnemonic domain name, that name must be represented in a name server within the DNS. In cases where the entity establishing the domain has the resources, it can establish and maintain its own name server containing all the names within that domain. Indeed, this is the model on which the domain system was originally based. Each registered domain represented a physical region of the Internet that was operated by a local authority such as a company, university, or government agency. This authority was essentially an access ISP that provided Internet access to its members by means of its own intranet linked to the Internet. As part of this system, the organization maintained its own name server that provided translation services for all the names used within its domain.
This model is still common today. However, many individuals or small organizations want to establish a domain presence on the Internet without committing the resources necessary to support it. For example, it might be beneficial for a local chess club to have a presence on the Internet as KingsandQueens.org, but the club would likely not have the resources to establish its own network, maintain a link from this network to the Internet, and implement its own name server. In this case, the club can contract with an access ISP to create the appearance of a registered domain using the resources already established by the ISP. Typically, the club, perhaps with the assistance of the ISP, registers the name chosen by the club and contracts with the ISP to have that name included in the ISP's name server. This means that all DNS lookups regarding the new domain name will be directed to the ISP's name server, from which the proper translation will be obtained. In this way, many registered domains can reside within a single ISP, each often occupying only a small portion of a single computer.
π Example: A local chess club registers the domain KingsandQueens.org but lacks resources for its own network. It contracts with an access ISP to include this domain in the ISP's name server. When someone types "KingsandQueens.org", DNS lookups are directed to the ISP's name server for translation.
π‘ Why this matters: This arrangement allows small organizations without significant IT resources to still have an Internet presence with a professional domain name, by leveraging the ISP's existing infrastructure.
β Key Takeaways
Students must remember that IP addresses are unique 32-bit identifiers written in dotted decimal notation and are always used for actual message transfer, while mnemonic domain names provide a human-friendly alternative. Domains are registered through ICANN-authorized registrars and are classified by top-level domains (TLDs) such as .edu, .com, .gov, .org, and country-code TLDs. The domain name system (DNS) uses name servers to perform DNS lookups, converting mnemonic names into IP addresses. Large organizations can maintain their own name servers, while small organizations can contract with ISPs to have their domain names included in the ISP's name server, allowing multiple registered domains to reside within a single ISP.
π§ Quick Revision Questions
- What is dotted decimal notation and how does it represent a 32-bit IP address? Provide an example.
- What are top-level domains (TLDs) and list at least four different TLDs with their intended purposes?
- Explain how a subdomain like "overthruster.propulsion.yoyodyne.com" is structured and what each part represents.
- What is the domain name system (DNS) and what is the role of name servers in DNS lookups?
- Why might a small organization like a local chess club contract with an ISP for domain name representation, and how does this process work?
π Lecture 56 β Networking and the Internet: Internet Applications: Email
π Overview: This lecture explores modern Internet applications, including email, VoIP, and multimedia streaming, showing how web-based HTTP applications have replaced many older specialized protocols. The main focus is on electronic mail systems, detailing the protocols and procedures that enable email transmission across the Internet.
ποΈ Topics Covered
The lecture begins by reviewing traditional Internet applications (NNTP, FTP, Telnet, SSH) and how HTTP has absorbed many of these functions. It then examines electronic mail as one of the oldest and most enduring Internet applications, followed by VoIP as a more recent application that uses P2P audio transfer but faces regulatory challenges. Finally, Internet multimedia streaming is discussed as a dominant source of Internet traffic, particularly Netflix and YouTube.
π Lecture Summary
Traditional Internet Applications
In the earlier days of the Internet, most applications were separate, simple programs that each followed a network protocol. A newsreader application contacted servers using the Network News Transfer Protocol (NNTP), an application for listing and copying files across the network implemented the File Transfer Protocol (FTP), or an application for accessing another computer from a great distance used the Telnet protocol, or later the Secure Shell (SSH) protocol. As webservers and browsers have become more sophisticated, more and more of these traditional network applications have come to be handled by webpages via the powerful Hyper Text Transfer Protocol (HTTP).
Electronic Mail
A wide variety of systems now exist for exchanging messages between end users over the network; instant messaging (IM), browser-based online chatting, Twitter-based "tweets", and the Facebook "wall" are but a few. One of the oldest and most enduring uses of the Internet is the electronic mail system, or email for short.
VoIP
As an example of a more recent Internet application, consider VoIP (Voice over Internet Protocol) in which the Internet infrastructure is used to provide voice communication similar to that of traditional telephone systems. In its simplest form, VoIP consists of two processes on different machines transferring audio data via the P2P modelβa process that in itself presents no significant problems. However, tasks such as initiating and receiving calls, linking VoIP with traditional telephone systems, and providing services such as emergency 911 communication are issues that extend beyond traditional Internet applications. Moreover, governments that own their country's traditional telephone companies view VoIP as a threat and have either taxed it heavily or outlawed it completely.
Internet Multimedia Streaming
An enormous portion of current Internet traffic is used for transporting audio and video across the Internet in real-time, known as streaming. Netflix streamed more than 4 billion hours of programming to end users in the first three months of 2013 alone. Combined with YouTube, these two services will consume more than half of the bandwidth of the Internet in 2014.
Email Protocols
Messaging applications include Instant Messaging, browser-based chatting, Twitter-based tweets, Facebook wall, and one of the oldestβElectronic mail (Email).
Simple Mail Transfer Protocol (SMTP) is the protocol used for email transmission. In a typical scenario, mafzal from cust.edu.pk wants to send email to hmaurer from iicm.tugraz.at. The flow has been shown in Figure 66.
Other Protocols include:
- SMTP for text messages
- MIME (Multipurpose Internet Mail Extensions) to convert non-ASCII to SMTP compatible form
- Post Office Protocol Version 3 (POP3)
- Internet Mail Access Protocol (IMAP)
π Definition β SMTP (Simple Mail Transfer Protocol): The standard protocol used for sending email messages between servers over the Internet, primarily handling text-based messages.
π Formula: SMTP (text) β MIME converts non-ASCII to SMTP compatible form β POP3 or IMAP for retrieval
π Example: mafzal@cust.edu.pk sends email to hmaurer@iicm.tugraz.at. The email first goes from the sender's client to the cust.edu.pk SMTP server, then is transferred to the iicm.tugraz.at SMTP server, and finally retrieved by the recipient using POP3 or IMAP.
π‘ Why this matters: Understanding the separation between SMTP (sending) and POP3/IMAP (receiving) is crucial for troubleshooting email delivery issues and configuring email clients correctly.
β Key Takeaways
The lecture demonstrates how Internet applications have evolved from specialized protocols (NNTP, FTP, Telnet, SSH) to being largely handled by HTTP through web browsers. Email remains one of the oldest and most fundamental Internet applications, using SMTP for sending messages and requiring MIME to handle non-ASCII content. VoIP presents unique challenges beyond simple P2P audio transfer, including regulatory and emergency service issues, while streaming services like Netflix and YouTube now dominate Internet bandwidth usage.
π§ Quick Revision Questions
- What are the four traditional Internet application protocols mentioned at the beginning of the lecture?
- How does MIME extend SMTP's capabilities for email transmission?
- What specific challenges does VoIP face beyond simple P2P audio data transfer?
- How many hours of programming did Netflix stream in the first three months of 2013?
- What is the difference between SMTP and POP3/IMAP in the email communication process?
π Lecture 57 β Networking and the Internet: VoIP
π Overview: This lecture introduces VoIP (Voice over Internet Protocol) as a modern Internet application that enables voice communication over the Internet infrastructure. It covers the four different forms of VoIP systems, their operational mechanisms, benefits, drawbacks, and how they compete with traditional telephone systems.
ποΈ Topics Covered
The lecture covers VoIP as a P2P application for voice communication, including the basic operation of transferring audio data between machines. It then examines four competing forms of VoIP: soft phones like Skype, analog telephone adapters, embedded VoIP phones, and wireless VoIP technology in smartphones, along with their respective advantages and limitations.
π Lecture Summary
68. Networking and the Internet: VoIP
VoIP (Voice over Internet Protocol) uses the Internet infrastructure to provide voice communication similar to traditional telephone systems. In its simplest form, VoIP consists of two processes on different machines transferring audio data via the P2P model. While the basic data transfer presents no significant problems, tasks such as initiating and receiving calls, linking VoIP with traditional telephone systems, and providing services like emergency 911 communication extend beyond traditional Internet applications.
π‘ Why this matters: Governments that own traditional telephone companies view VoIP as a threat and have either taxed it heavily or outlawed it completely.
π Definition β VoIP (Voice over Internet Protocol): An Internet application that uses the Internet infrastructure to provide voice communication similar to traditional telephone systems.
VoIP soft phones consist of P2P software that allows two or more PCs to share a call with no more special hardware than a speaker and a microphone. An example is Skype, which also provides links to the traditional telephone communication system. One drawback to Skype is that it is a proprietary system, meaning much of its operational structure is not publicly known, requiring users to trust the integrity of the software without third-party verification.
π Example: To receive calls, a Skype user must leave their PC connected to the Internet and available to the Skype system. This means some of the PC's resources may be used to support other Skype communications without the PC owner's awareness β a feature that has generated some resistance.
Analog telephone adapters are devices that allow a user to connect their traditional telephone to phone service provided by an access ISP. This choice is frequently bundled with traditional Internet service and/or digital television service.
Embedded VoIP phones are devices that replace a traditional telephone with an equivalent handset connected directly to a TCP/IP network. These are becoming increasingly common for large organizations, many of whom are replacing their traditional internal copper wire telephone systems with VoIP over Ethernet to reduce costs and enhance features.
Finally, the current generation of smartphones use wireless VoIP technology. Earlier generations of wireless phones only communicated with the telephone company's network using that company's protocols. Access to the Internet was obtained by gateways between the company's network and the Internet, where signals were converted to the TCP/IP system.
π Example: The 4G phone network is an IP-based network throughout, meaning a 4G telephone is essentially just another broadband-connected host computer on the global Internet.
β Key Takeaways
VoIP uses the Internet infrastructure to provide voice communication, initially through simple P2P audio data transfer but extending to complex services like emergency calls and integration with traditional telephones. The four forms of VoIP β soft phones (e.g., Skype), analog telephone adapters, embedded VoIP phones, and wireless VoIP in smartphones β each have distinct operational characteristics and trade-offs. Skype's proprietary nature raises trust and resource-sharing concerns, while embedded VoIP phones help large organizations reduce costs. The shift to 4G IP-based networks means modern smartphones are essentially broadband-connected Internet hosts, fundamentally changing how voice communication is handled.
π§ Quick Revision Questions
- What is VoIP and what basic model does it use for audio data transfer between machines?
- Name the four different forms of VoIP systems discussed in this lecture.
- What is the main drawback of Skype mentioned in the lecture?
- How do analog telephone adapters allow users to connect traditional telephones to phone service?
- Why does the lecture describe a 4G telephone as "essentially just another broadband-connected host computer on the global Internet"?