Notes on Computer Networks
10.1 Introduction to Computer Networks
A computer network is defined as an interconnection among two or more computers that allows them to share data and resources. Modern networks play a vital role in our connected world, enabling information exchange across the globe in real time. Types of networks include social networks, mobile networks, and various organizational networks (e.g., in hospitals, banks).
In a typical computer network, different types of hosts—also called nodes—can be involved, including servers, desktops, laptops, and mobile devices. Networking devices, such as switches, routers, and modems, facilitate connections between these nodes. Communication within a network often involves dividing data into smaller units called packets, which can be transmitted over either wired or wireless media.
Moreover, devices within a network can communicate simultaneously, fostering efficient resource sharing such as printers or cloud storage.
10.2 Evolution of Networking
The origins of modern networking can be traced back to the ARPANET, initiated in the 1960s to enable communication between academic institutions. Significant milestones in the evolution of networking include:
- 1969: ARPANET connects two sites, UCLA and SRI.
- 1971: Development of email by Ray Tomlinson.
- 1983: Introduction of TCP/IP, a standard protocol that paved the way for the modern Internet.
- 1990: Launch of the World Wide Web by Tim Berners-Lee, which relied on HTML and URL technologies.
This evolution has transformed how computers and devices communicate, leading to the vast network we know today.
10.3 Types of Networks
Computer networks can be categorized based on size and geographical coverage:
- PAN (Personal Area Network): Typically includes devices within a range of about 10 meters (e.g., Bluetooth connections).
- LAN (Local Area Network): Connects computers in a limited area such as a room or an office. Usually wired with Ethernet cables, LANs provide high-speed data transfer rates of up to 1000 Mbps.
- MAN (Metropolitan Area Network): Covers a larger geographic area like a city, with data transfer rates lower than LANs but used for services like cable TV.
- WAN (Wide Area Network): Encompasses wider geographic areas, connecting multiple LANs and MANs across countries or continents. The Internet is the largest WAN.
10.4 Network Devices
To facilitate networking, several devices are utilized:
- Modem: Converts digital signals to analog and vice versa, enabling Internet access.
- Network Interface Card (NIC): A hardware component that allows for a physical connection to a network.
- RJ45: An eight-pin connector used with Ethernet cables for networking.
- Hub: A basic networking device that connects multiple devices but lacks intelligence on directing traffic, leading to data collisions.
- Switch: Similar to a hub but smarter, as it can direct data packets to specific devices based on their destination.
- Router: An advanced device that connects networks and analyzes data packets to route them efficiently across networks.
- Gateway: Serves as an access point between different networks, often incorporating routing functionalities as well.
10.5 Networking Topologies
Network topology refers to the physical or logical arrangement of a network. Common types include:
- Mesh Topology: Each device is connected to every other device, ensuring high reliability and redundancy.
- Ring Topology: Nodes are connected in a circular manner, allowing data transmission in one direction.
- Bus Topology: All devices share a single communication line, making it cost-effective but less reliable.
- Star Topology: All devices connect to a central hub, making it efficient but vulnerable to hub failures.
- Tree/Hybrid Topology: A hierarchical structure that combines various topologies.
10.6 Identifying Nodes in a Network
To ensure effective communication, each device in a network must be uniquely identifiable. This is achieved through:
- MAC Address: A permanent unique identifier for network devices, consisting of 12 hexadecimal digits.
- IP Address: A unique network address that can change; IPv4 addresses are 32-bit, while IPv6 addresses are 128-bit.
10.7 Internet, Web, and the Internet of Things
The Internet is a global system of interconnected computers. The World Wide Web (WWW) is a comprehensive collection of information, allowing access to resources through hyperlinks. Essential technologies include:
- HTML: The language for creating web pages.
- URI/URL: Unique addresses for web resources.
- HTTP/HTTPS: Protocols for transmitting web content.
10.8 Domain Name System (DNS)
The DNS is crucial for translating human-friendly domain names into IP addresses, facilitating easier web navigation. The DNS hierarchy includes root servers that manage domain mappings, ensuring users can access websites easily.
Summary
In summary, understanding the concepts of computer networks, their evolution, types, devices, topologies, and the Internet is fundamental to the field of networking and provides insight into the interconnected world we live in today.