1. Home
  2. Explore
  3. Computer Science
  4. Network Fundamentals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Network Fundamentals

Speaker 1Speaker 2

Network Fundamentals

13:34
0:00-13:34
  1. Hope

    Welcome to our conversation about networks. We’re focusing on two connected ideas: a local area network, or LAN, and the internet, which is a network of networks. We’ll use Ethernet as our example of a LAN and TCP/IP as the foundation for communication across the internet.

  2. Michael

    And this is a high-level tour. The terminology can feel dense, so it helps to connect unfamiliar ideas to something familiar—like telephone numbers, phone directories, and the way a call gets routed. The goal is to understand the concepts, not get stuck on a word you can look up.

  3. Hope

    Let’s begin with the telephone analogy. In the old Plain Old Telephone System, or POTS, an operator connected a caller and recipient by plugging wires into a switchboard. Later, electronic switches replaced the operators, but the basic idea remained: a temporary circuit connected the two parties while they talked.

  4. Michael

    And when one person hung up, that circuit was released for someone else to use. The “all circuits are busy” message meant there weren’t available connections at that moment. Phone numbers also show how addressing can be layered: a local number reaches within a local area, while an area code or country code helps reach farther away.

  5. Hope

    That analogy is useful, but digital data networks handle information differently from a traditional phone call. A long stream of data sent over one persistent circuit can be hard to verify: did every part arrive, intact and in the right order? So networks commonly divide information into smaller chunks called packets.

  6. Michael

    Those packets are put into frames that carry information such as the sender, intended recipient, and the packet’s place in the overall message. The chunks travel separately, and the receiving end puts them back together. That general approach is called packet switching.

  7. Hope

    Here’s the basic sequence. An application hands information to a process that breaks it into pieces and adds control information, including addressing and ordering details. A physical network interface sends those pieces out, and the recipient’s interface checks whether incoming traffic is meant for it.

  8. Michael

    Then the receiving process examines the packets, checks for corruption using special values, and tracks their order. If the protocol calls for it, the receiver can acknowledge a packet or ask for a damaged one to be sent again. Once all the pieces are collected, the addressing information is removed and the reconstructed information is passed to the receiving application.

  9. Hope

    An Ethernet Type II frame illustrates the idea: it includes a destination address, a source address, a field identifying the Ethernet type, the data, and a CRC checksum. That checksum helps detect whether information was received accurately. The rules for formatting and handling network traffic are called protocols.

  10. Michael

    Ethernet is one such protocol, originally used to connect personal computers and now widely used on LANs. An Ethernet card has a fixed number built into its circuitry: its MAC address. MAC means Media Access Control—not Macintosh—and the address is 48 bits long, giving a huge number of possible combinations.

  11. Hope

    On an Ethernet LAN, devices use MAC addresses to identify one another at the local level. Devices share traffic on the network, and each is expected to read or open traffic addressed to it. The lecture notes that someone who ignores that expectation may be able to sniff traffic, which is one reason local network security matters.

  12. Michael

    Traffic on a LAN can collide, and the network’s electronics handle collision detection and avoidance. The physical characteristics of Ethernet also limit cable length; the lecture gives about 100 meters as a typical limit before additional equipment is needed. Switches, bridges, and routers can help extend connectivity beyond that.

  13. Hope

    MAC addresses can also be used for access controls. For instance, a university may ask someone to register a computer’s MAC address before allowing access to certain local services. A home router may also restrict access based on MAC addresses.

  14. Michael

    There’s another local-network topic: name resolution. People may give computers names, but names and addresses have to be matched so devices can communicate. Microsoft networks have some historical naming conventions, including NetBIOS and WINS, or Windows Internet Naming Service.

  15. Hope

    Microsoft initially used its own approaches rather than TCP/IP, and remnants of those conventions still appear, especially around Windows shares. A computer’s Microsoft network name and its internet domain name don’t have to be identical. That’s one reason network administration can get complicated.

  16. Michael

    Now let’s move from the LAN to the wider internet. The internet is a network of networks, and TCP/IP provides a way for devices on different kinds of networks to exchange data. TCP/IP grew out of work by Vinton Cerf and Robert Kahn around 1973, connected to ARPA’s research network, ARPANET, which eventually developed into today’s internet.

  17. Hope

    The IP, or Internet Protocol, address identifies a device or resource at the internet level. IPv4 uses a 32-bit address, commonly written as four decimal numbers separated by periods—for example, 192.168.1.1. That format is called dotted decimal, or a dotted quad.

  18. Michael

    Thirty-two bits allow roughly four billion addresses, and that supply has been exhausted. IPv6 provides a vastly larger address space, but IPv4 is still widely used, so it remains important to understand.

  19. Hope

    An IP address has a network portion and a host portion. The network portion identifies the network the device belongs to; the host portion identifies the particular device within that network. The telephone comparison works here too: the network part is like an area code, and the host part is like a local telephone number.

  20. Michael

    Historically, IPv4 used classful addressing to accommodate networks of different sizes. Class A reserved a small portion of the address for the network and allowed many hosts; Class B provided a middle-sized arrangement; and Class C was intended for smaller networks. Those classes are useful historical context, but they’re no longer the system used to allocate addresses.

  21. Hope

    Some address ranges have special uses. Addresses beginning with 127 are loopback addresses, which direct traffic back to the same computer. Ranges such as 10.x.x.x and 192.168.x.x are reserved for private networks, such as a home LAN.

  22. Michael

    A home network can use private IP addresses internally while sharing an address from an internet service provider. Network address translation, or NAT, lets the router act as a gateway between the private network and the outside network, allowing several local devices to share that external address.

  23. Hope

    How does a device decide whether a destination is local or outside the LAN? It uses its own IP address, the destination IP address, and a subnet mask. The mask identifies which bits belong to the network portion and which belong to the host portion; the IP protocol uses that information to determine whether traffic should stay local or go to a gateway.

  24. Michael

    If the destination is outside the local network, the gateway forwards the traffic toward an external router. If it’s local, the device ultimately needs the recipient’s MAC address to deliver Ethernet traffic on the LAN. That’s the bridge between internet-level IP addressing and local Ethernet addressing.

  25. Hope

    Subnet masks also help explain subnetting. The old classful approach could waste many addresses, so Classless Interdomain Routing, or CIDR, replaced it with more flexible network boundaries. CIDR lets the boundary between network and host fall between the traditional octet boundaries.

  26. Michael

    For example, a slash notation such as /20 says that 20 bits identify the network. The lecture gives a /20 network as one that can provide 4,094 host addresses, and its subnet mask is 255.255.240.0. You may still see Class A, B, and C mentioned, but CIDR is the more flexible approach used today.

  27. Hope

    Next is the relationship between names and IP addresses. An IP address can be static, meaning it stays assigned and relatively unchanged, or dynamic, meaning it’s assigned when needed. Web servers often need stable addresses so clients can find them, while client computers can use changing addresses.

  28. Michael

    A client doesn’t necessarily need to keep the same address: when it requests information from a website, it includes its current IP address so the server knows where to send the response. DHCP—Dynamic Host Configuration Protocol—is the service that can assign a client an IP address when it needs one.

  29. Hope

    But people use names such as Google rather than memorizing IP addresses. The Domain Name System, or DNS, matches host names with IP addresses. Think of it as a system of directories: a name is looked up to find the number needed to reach the destination.

  30. Michael

    DNS is hierarchical. Your computer may first use a local cache or a hosts file—a small, locally maintained list, like a personal contact book. If the answer isn’t there, a query can go to a DNS server at your organization or internet provider, and then onward through other DNS servers.

  31. Hope

    That hierarchy makes it possible to look up names across the internet without keeping every name and address on every computer. DNS information can also take time to update everywhere. If a website gets a new IP address, it may take minutes or hours for that change to propagate so that people around the world find the new address.

  32. Michael

    At the top of the system are root name servers, which direct queries toward the appropriate top-level domain, such as .com or .edu. The lecture describes 13 logical root servers, with additional redundancy and backup. These systems are important infrastructure and have been targets of hacking attacks.

  33. Hope

    IANA, the Internet Assigned Numbers Authority, has global oversight responsibilities for internet names and IP addresses, including maintaining information about generic top-level domains and the organizations responsible for their registries. Country-code top-level domains, or ccTLDs, use ISO country codes.

  34. Michael

    There are also lookup services for domain registration information. A WhoIs service can show details about a registered name; for example, EDUCAUSE maintains a WhoIs database for .edu domains. The fully qualified domain name, or FQDN, combines a host name with its domain.

  35. Hope

    So a server named Jupiter in mydomain.com could be jupiter.mydomain.com. If it’s within a named subnetwork, such as accounting, the name could be jupiter.accounting.mydomain.com. The FQDN is the human-readable name used with DNS to find the corresponding IP address.

  36. Michael

    Once DNS helps an application find the destination IP address, IP determines whether it’s local or needs to be routed elsewhere. When traffic reaches the destination network, Ethernet still needs the destination MAC address. Address Resolution Protocol, or ARP, handles that local mapping between IP addresses and MAC addresses.

  37. Hope

    Each device can keep an ARP cache of known IP-to-MAC mappings. If it doesn’t have the mapping it needs, it broadcasts a request on the LAN: essentially, “Who has this IP address? Tell me your MAC address.” The response lets the device update its cache and send the local Ethernet traffic to the right place.

  38. Michael

    That brings us to the TCP part of TCP/IP. Transmission Control Protocol is connection-oriented and helps ensure that packets arrive intact and in the right order. Sender and receiver perform handshaking first, confirming that they’re ready to communicate, and then TCP manages the exchange and checks the data.

  39. Hope

    That reliability is useful when missing or altered data would be a serious problem. Imagine sending a spreadsheet: you want every part to arrive, in order, and exactly as sent. TCP provides that kind of reliability, although the checks and acknowledgments create communication overhead.

  40. Michael

    UDP, the User Datagram Protocol, takes a lighter approach. It doesn’t provide the same validity checking or confirmation that every packet arrived. That makes it useful for audio or video streams, where a few missing or out-of-order bits may be preferable to spending extra resources on reliability checks.

  41. Hope

    So the big picture is that different protocols solve different parts of the communication problem. Ethernet and MAC addresses help devices communicate on a LAN; IP addresses and routers move traffic between networks; DNS translates human-readable names into IP addresses; ARP connects local IP addresses to MAC addresses; and TCP or UDP governs how data is exchanged.

  42. Michael

    And that’s the key distinction we set out to understand: local networking and internet-wide networking are related, but they rely on different layers of addressing and different protocols. Packets carry data between applications, LAN technologies deliver it locally, and routers and internet protocols help it travel across networks.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent