How the Internet Works
- 78Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the role of an Internet Service Provider (ISP) in a home network?
78 questions
- 1
What is the role of an Internet Service Provider (ISP) in a home network?
Model answer
An ISP provides access to the internet and typically supplies a modem or similar device and an IP address for the home network.
Explanation
Examples of ISPs include Verizon and Comcast. The ISP connects the customer's home network to the wider internet.
- 2
What is the function of a cable modem, DSL modem, or FiOS device?
Model answer
It connects a home network to the infrastructure of the ISP, providing a pathway from the home to the internet.
Explanation
A cable modem may connect to a wall outlet through a coaxial cable, while other technologies use different physical connections.
- 3
What additional functions might a modern internet gateway device combine with a modem?
Model answer
It may combine a home router, DHCP and DNS services, Wi-Fi, firewalling, and Ethernet switching with the modem.
Explanation
Many ISP-provided devices combine several networking functions, eliminating the need for separate devices.
- 4
Why might a home need a separate router in addition to a modem?
Model answer
A separate router can distribute the internet connection among multiple home devices and may provide Wi-Fi, wired Ethernet ports, DHCP, DNS, and firewalling.
Explanation
Some modems provide only the connection to the ISP, whereas other modem devices already include router functionality.
- 5
How can wired and wireless devices connect to a home router?
Model answer
Wireless devices connect through Wi-Fi, while wired devices connect through Ethernet cables plugged into the router's physical ports.
Explanation
Devices such as phones and laptops commonly use Wi-Fi, while devices such as game consoles or DVRs may use Ethernet.
- 6
What is the purpose of a network switch in a home network?
Model answer
A switch provides additional Ethernet ports and forwards traffic among connected devices according to which devices are communicating.
Explanation
A switch can connect to a modem or router and allow several wired devices to communicate through it.
- 7
What is an IP address?
Model answer
An IP address is a numerical address used to identify a device on an IP network so that other devices can communicate with it.
Explanation
It functions similarly to a postal address, identifying the intended source or destination of network data.
- 8
What is the structure of a traditional IPv4 address?
Model answer
An IPv4 address contains four numbers separated by dots, with each number ranging from 0 through 255.
Explanation
Each of the four decimal numbers represents 8 bits of the address.
- 9
How many possible values can each decimal component of an IPv4 address have?
Model answer
Each component has 256 possible values, from 0 through 255.
Explanation
A component represents 8 bits, and 8 bits can encode 28=256 different values.
- 10
Why does every internet-connected device need an IP address?
Model answer
It needs an address so that network data can identify the device as a source or destination.
Explanation
Laptops, phones, desktops, servers, and game consoles connected to the internet use IP addresses for communication.
- 11
What is DHCP, and what problem does it solve?
Model answer
DHCP, or Dynamic Host Configuration Protocol, automatically provides devices with network configuration such as an IP address when they connect.
Explanation
Instead of manually configuring each device, a device can request an address when it starts, and a DHCP server responds with the necessary information.
- 12
How does a device obtain an IP address when it joins a network?
Model answer
The device sends a request for an address, and a DHCP server assigns it an available IP address and other configuration information.
Explanation
The DHCP server may be operated by the ISP or by a router within the home, business, or institution.
- 13
How can several devices in one home connect to the internet when the ISP provides only one public IP address?
Model answer
The home router assigns local IP addresses to the devices and manages their shared connection to the ISP.
Explanation
The router commonly provides DHCP for the home devices, allowing multiple devices to operate simultaneously through the home's internet connection.
- 14
What is a DNS server?
Model answer
A DNS, or Domain Name System, server converts human-readable domain names into the corresponding numerical IP addresses.
Explanation
DNS allows users to enter names such as
Google.cominstead of remembering a server's numerical IP address. - 15
Why is DNS useful to human users?
Model answer
DNS is useful because words and names are generally easier for people to remember than arbitrary numerical IP addresses.
Explanation
Domain names can include familiar names and top-level domains such as
.comand.edu. - 16
What happens if an ISP's DNS server does not know the IP address for a requested domain?
Model answer
It can query another DNS server, and the request may continue through a hierarchy until a server with the required information is found.
Explanation
Root DNS servers can identify which servers know about particular top-level domains, such as
.comor.edu. - 17
Why is DNS described as a recursive or tiered system?
Model answer
A DNS query can be passed from one server to another through several levels until the domain's IP address is located and returned.
Explanation
The system distributes knowledge among servers while allowing a user device to receive a final answer.
- 18
What is a network packet?
Model answer
A packet is a digitally formatted unit of data sent across a network with information that helps deliver it to its destination.
Explanation
Packets are analogous to envelopes containing messages, but their contents are represented as bits rather than physical writing.
- 19
What addressing information is placed on an IP packet?
Model answer
An IP packet includes the source IP address and the destination IP address.
Explanation
The source identifies where the packet came from, and the destination identifies where it should be delivered.
- 20
Why might a large response, such as an image, be divided into multiple packets?
Model answer
Dividing it into smaller packets makes transmission more manageable and prevents one large transfer from monopolizing network capacity.
Explanation
A server may fragment a large image so that data from other users can also be transmitted promptly.
- 21
What information helps a receiving computer identify the pieces of a fragmented response?
Model answer
The packets contain identifiers such as sequence or fragment information indicating their position and, in the example, the total number of packets.
Explanation
Labels such as “one of four” allow the receiver to determine which pieces it has received and which are missing.
- 22
What is IP beyond its use for addressing?
Model answer
IP is a set of conventions that specifies rules for communicating, including addressing and support for fragmentation.
Explanation
Protocols allow communicating computers to know what information to expect and how to interpret or respond to it.
- 23
What is a protocol?
Model answer
A protocol is an agreed set of standards or rules that devices follow when communicating.
Explanation
Like a human handshake, a protocol establishes a predictable interaction between participants.
- 24
What is TCP/IP?
Model answer
TCP/IP refers to the combination of Transmission Control Protocol and Internet Protocol used to transmit data across the internet.
Explanation
IP handles functions such as addressing, while TCP adds mechanisms for reliable delivery.
- 25
What is the role of TCP when packets are lost or arrive incompletely?
Model answer
TCP detects missing or unacknowledged data and requests that the missing packets be retransmitted.
Explanation
Sequence information allows the receiving computer to identify missing packets and request them again.
- 26
How does TCP use sequence numbers?
Model answer
TCP uses sequence numbers to identify the ordering of data and help determine whether all required pieces have arrived.
Explanation
Sequence numbers support reassembly and allow a receiver to recognize missing or improperly acknowledged data.
- 27
Why is IP alone insufficient to guarantee delivery of a complete message?
Model answer
IP can address and route packets, but it does not by itself specify how to detect missing packets or retransmit them.
Explanation
TCP supplies the additional reliability mechanisms that IP lacks.
- 28
What happens when a receiving computer gets packets two, three, and four of a four-packet response but not packet one?
Model answer
It can infer that packet one is missing and use TCP to request its retransmission.
Explanation
Packet identifiers reveal the missing piece, while TCP defines the response to that loss.
- 29
How are fragmented packets reassembled into the original data?
Model answer
The receiving computer uses the packet identifiers and sequence information to place the fragments in the correct order and combine their bits.
Explanation
The reassembled result can appear identical to the original file even though it traveled as several packets.
- 30
What is a port number?
Model answer
A port number is a standardized numeric identifier that directs network data to a particular service on a server.
Explanation
A server can provide multiple services, so the IP address identifies the machine while the port identifies the intended service.
- 31
Why does a packet need a port number in addition to an IP address?
Model answer
The IP address identifies the destination computer, while the port number identifies which service on that computer should receive the data.
Explanation
A company may operate web, email, chat, and video services on different logical ports.
- 32
What service is associated with TCP port 80?
Model answer
TCP port 80 is conventionally associated with HTTP, the Hypertext Transfer Protocol used by web servers.
Explanation
An HTTP request and response can be directed to the web service by specifying port 80.
- 33
What service is commonly associated with port 443?
Model answer
Port 443 is commonly associated with HTTPS, the secure version of web communication using SSL or related security technology.
Explanation
Modern browsers generally use HTTPS by default without displaying the port number to the user.
- 34
What service is associated with TCP port 25?
Model answer
TCP port 25 is commonly associated with email transmission, along with several other ports used by email systems.
Explanation
Different application protocols use standardized port identifiers so servers can direct incoming data appropriately.
- 35
What does HTTP specify in a web communication?
Model answer
HTTP specifies the format and rules for requests and responses exchanged between a web client and a web server.
Explanation
A request such as asking for an image and the server's response containing that image follow the HTTP protocol.
- 36
Compare TCP and UDP in terms of delivery guarantees.
Model answer
TCP provides reliable delivery by detecting and retransmitting missing data, whereas UDP does not guarantee delivery or provide retransmission.
Explanation
Both can be used with IP, but UDP omits TCP's reliability mechanisms.
- 37
Why might an application choose UDP instead of TCP?
Model answer
An application may choose UDP when timely, continuous delivery is more important than perfect completeness, such as in live video or voice communication.
Explanation
UDP avoids delays caused by waiting for lost packets to be resent.
- 38
Why is UDP often suitable for live video conferencing?
Model answer
In live conversation, it is usually better to continue with a small amount of missing data than to pause repeatedly while old packets are retransmitted.
Explanation
Participants can infer missing content from context or ask one another to repeat it.
- 39
Why might TCP be preferred for watching a movie or downloading a file?
Model answer
TCP is preferable when every part of the data must arrive correctly, even if buffering or retransmission causes some delay.
Explanation
Losing part of a movie or file permanently is generally less acceptable than waiting for it to be recovered.
- 40
Why can packet loss be more acceptable during a live sporting event than during a movie?
Model answer
A live event benefits from staying current, so ignoring a few lost packets may be better than delaying the stream while they are retransmitted.
Explanation
For a prerecorded movie, buffering can preserve completeness; for live content, retransmission may cause the viewer to fall behind.
- 41
What is the relationship between IP, TCP, and UDP?
Model answer
IP provides addressing and routing for packets, while TCP or UDP provides transport behavior such as reliable or best-effort delivery.
Explanation
TCP and UDP are alternative transport protocols that can operate over IP.
- 42
What is the purpose of a router?
Model answer
A router forwards packets toward their destinations by selecting an appropriate next hop or outgoing connection.
Explanation
Routers connect different parts of the network and help data travel beyond the local network.
- 43
How does a router decide where to send a packet?
Model answer
It consults a routing table that associates destination IP addresses or prefixes with an outgoing path or next router.
Explanation
A prefix is the beginning portion of an IP address, and routes can be specified for an entire range of addresses.
- 44
What is a next hop in packet routing?
Model answer
A next hop is the next router or network destination to which a router forwards a packet on the way to its final destination.
Explanation
A packet may pass through many routers, with each router forwarding it one step closer.
- 45
Why does a laptop not need to know the complete route to a distant website?
Model answer
The laptop can send the packet to its configured router or gateway, which forwards it through other routers toward the destination.
Explanation
Routing decisions are distributed among routers rather than being stored completely on every end device.
- 46
What is a gateway in a local network?
Model answer
A gateway is the router through which a local device sends traffic intended for other networks.
Explanation
A computer's gateway address identifies the local router responsible for forwarding outside traffic.
- 47
What is a subnet mask used for?
Model answer
A subnet mask helps determine whether another IP address belongs to the same local network or a different network.
Explanation
This information helps a device decide whether to communicate directly locally or send the traffic to its gateway.
- 48
Approximately how many router hops commonly separate a source from an internet destination?
Model answer
Data generally reaches its destination in about 30 or fewer hops.
Explanation
A hop is a transmission from one router or network step to the next.
- 49
Why can packets traveling between the same two endpoints take different routes?
Model answer
Routers can select different paths based on network conditions, available connections, or congestion.
Explanation
The internet contains multiple interconnected routes, so packets do not necessarily follow one fixed path.
- 50
How does routing contribute to the internet's resilience?
Model answer
If a router or connection fails, packets can often be redirected through another available path.
Explanation
Multiple routes allow the network to continue operating despite some failures or outages.
- 51
What can happen when routers become overloaded?
Model answer
Routers may redirect traffic along another route or drop packets if they cannot handle the amount of traffic.
Explanation
When TCP is being used, dropped packets can trigger retransmission, reducing the effect of the loss on the application.
- 52
What does it mean that the internet is a network of networks?
Model answer
It means that many independently operated networks, such as ISP, university, and organizational networks, are interconnected.
Explanation
The global internet is formed by routers and links operated by many different entities that connect their networks.
- 53
What kinds of links can interconnect routers across the internet?
Model answer
Routers can be connected by physical cables, satellite links, radio waves, microwave technologies, and transoceanic cables.
Explanation
These technologies allow networks to span cities, countries, and oceans.
- 54
Why might packets traveling between two endpoints take different amounts of time?
Model answer
Delays vary because different routes contain different numbers of hops, link distances, and levels of congestion.
Explanation
Router processing and network load can change over time, producing variation in measured latency.
- 55
What is a transoceanic cable used for?
Model answer
A transoceanic cable carries network data across an ocean between distant regions.
Explanation
Large ships lay these cables on the ocean floor, creating high-capacity links between continents.
- 56
Why can a connection experience a large increase in delay between two successive routers?
Model answer
The connection may cross a great physical distance, such as an ocean, causing propagation delay to increase substantially.
Explanation
A route from the United States to Japan, for example, may include a long Pacific crossing.
- 57
What does
traceroutedo?Model answer
tracerouteidentifies the sequence of routers between a source computer and a specified destination and reports timing information for each step.Explanation
It sends probes toward successive hop limits and records responding routers and measured delays.
- 58
What information can each row of
tracerouteoutput represent?Model answer
Each row can represent a router along the route, its address or name, and the time required for a probe to reach it.
Explanation
The rows show the path in hop order, although some routers may not reveal their information.
- 59
Why might a
traceroutedisplay asterisks for some hops?Model answer
Asterisks can indicate that a router did not respond to the probe or was configured to ignore that type of request.
Explanation
A missing response does not necessarily mean that the router or route is malfunctioning.
- 60
Are the timing values reported for successive
traceroutehops necessarily cumulative?Model answer
No. Each timing value generally measures the trip from the original computer to that hop, rather than simply the additional time from the previous hop.
Explanation
The values may rise or fall because each probe is measured relative to the source and can experience different conditions.
- 61
What can router names in
tracerouteoutput sometimes reveal?Model answer
They may provide clues about a router's organization, network, geographic location, or role.
Explanation
Names may include abbreviations for cities, airport codes, core gateways, border routers, or network providers, though such interpretations are not always certain.
- 62
What is a Content Delivery Network (CDN)?
Model answer
A CDN is a service that hosts or distributes website content from servers located in various places, often closer to users.
Explanation
A website may use a company such as Akamai to serve content even when the site's organization is located elsewhere.
- 63
How can DNS and routing allow a website to be reached when its servers are hosted by another company?
Model answer
DNS maps the website's domain name to the appropriate server address, and routers forward packets to that server regardless of which organization operates it.
Explanation
The visible domain name does not guarantee that the physical server is located at the organization's main site.
- 64
How many bits are in a traditional IPv4 address?
Model answer
An IPv4 address contains 32 bits.
Explanation
It has four components, each containing 8 bits, so 4×8=32 bits.
- 65
How many possible addresses are represented by a 32-bit IPv4 address space?
Model answer
A 32-bit address space contains 232 possible combinations, or roughly four billion.
Explanation
Each bit has two possible values, so the total number of combinations is 2 raised to the number of bits.
- 66
Why has the internet needed a newer IP address format?
Model answer
The number of connected phones, computers, servers, and internet-of-things devices has made the IPv4 address supply insufficient.
Explanation
Although IPv4 provides roughly four billion addresses, the number of internet-connected devices has continued to grow.
- 67
What is IPv6?
Model answer
IPv6 is a newer version of the Internet Protocol that uses 128-bit addresses.
Explanation
Its much larger address space provides vastly more possible addresses than IPv4.
- 68
Why does IPv6 provide vastly more addresses than IPv4?
Model answer
IPv6 uses 128 bits instead of IPv4's 32 bits, giving it 2128 possible combinations rather than 232.
Explanation
Because the number of possibilities grows exponentially with the number of bits, the increase is much greater than a simple fourfold expansion.
- 69
What is a private IP address?
Model answer
A private IP address is an address intended for use within a local network and is not ordinarily directly reachable from the public internet.
Explanation
Private addressing is suitable for home, business, and school devices that usually initiate connections rather than serve as public servers.
- 70
Which address ranges mentioned in the content indicate private IPv4 addressing?
Model answer
Addresses beginning with 10., addresses in the 192.168. range, and addresses in the 172.16. range are examples of private IPv4 addresses.
Explanation
A device such as
10.0.1.34may receive a private address from a home or organizational router. - 71
Why are private IP addresses appropriate for many home and school devices?
Model answer
Most of these devices are clients rather than public servers, so they mainly initiate connections to services instead of needing direct inbound access.
Explanation
Email, for example, usually reaches a mail server such as Gmail or Outlook, which the user's device then contacts.
- 72
What is the function of a coaxial connector in a cable modem setup?
Model answer
It connects the cable modem to the coaxial cable leading to the wall or cable network.
Explanation
Coaxial cables have a cylindrical connector and central pin and have traditionally been used for television and cable connections.
- 73
What are RJ11 connectors commonly used for?
Model answer
RJ11 connectors are commonly used for telephone connections.
Explanation
They are smaller than Ethernet connectors and may be found on devices that provide telephone service.
- 74
What are RJ45 connectors commonly used for?
Model answer
RJ45 connectors are commonly used for Ethernet network cables.
Explanation
They are wider than RJ11 connectors and connect wired devices such as computers and game consoles to network equipment.
- 75
How do Ethernet cables transmit data?
Model answer
They use multiple copper wires to carry electrical signals between network devices.
Explanation
Different wires can support transmitting, receiving, insulation, or reducing interference.
- 76
Why do the wires inside an Ethernet cable have different colors and patterns?
Model answer
The colors and patterns help ensure that corresponding wires are connected correctly at both ends and that the cable's wiring functions properly.
Explanation
Some wires serve transmission or reception, while others help with insulation or interference cancellation.
- 77
How does fiber-optic cabling differ from copper Ethernet cabling?
Model answer
Fiber-optic cable carries data as light through optical strands, whereas copper Ethernet cable carries electrical signals through copper wires.
Explanation
The content describes light traveling through fiber as faster than electrons traveling through copper wires.
- 78
What is the relationship between physical cables and higher-level internet protocols?
Model answer
Cables provide the physical medium for signals, while layered software protocols such as IP, TCP, UDP, and HTTP define how data is addressed, transported, and interpreted.
Explanation
The apparent simplicity of the wires supports multiple layers of software and rules that make internet communication possible.

Ask anything
We've read this whole study set, so questions about it get the best answers.