CSE306: Computer Networks
Module 5 Connecting to the Internet
⭐Introduction to Connecting to the Internet
Overview of the Internet
- Vast and Diverse: The internet encompasses a vast and varied expanse.
- Device Connectivity: A staggering number of devices are connected to the internet.
- Device Functions: Devices connected to the internet have almost limitless functions.
Types of Devices Connected to the Internet
- Familiar Devices:
- Desktop and Laptop Computers
- Servers and Data Centers
- Routers and Switches: Manage and direct network traffic.
- Additional Devices:
- Tablets and Cell Phones
- ATMs
- Industrial Equipment
- Medical Devices
- Connected Cars
Complexity of Internet Connectivity
- Physical Layer:
- Commonly described with Cat 5 or Cat 6 cables.
- Ethernet is often cited as a typical data link layer technology.
- Technological Diversity:
- Internet connectivity involves a wide range of technologies.
- These technologies vary according to the types of people and devices.
Learning Objectives
- Describe Various Internet Connectivity Technologies:
- Understand different methods and technologies used for connecting to the internet.
- Define Components of Internet Connectivity:
- Outline the essential components involved in establishing internet connections.
- Basics of Wireless and Cellular Networking:
- Learn the fundamentals of wireless and cellular networking technologies.
Relevance for IT Support Specialists
- Ensuring Online Access:
- A significant part of the IT support role involves helping users connect to the internet effectively.
⭐Dial-up and Modems
Historical Context
- Early Networking Needs:
- With the growth of computer use in the 20th century, there was a significant need to connect computers to share data.
- Primitive Technologies:
- Before Ethernet, TCP, or IP, early networking used much simpler technologies.
- These early networks focused on connecting devices in close physical proximity.
Development of Dial-up Technology
- Late 1970s Innovation:
- Two graduate students at Duke University sought a method to connect computers over greater distances.
- They realized that the existing public telephone network could be used for data transmission.
- Public Switched Telephone Network (PSTN):
- Also known as Plain Old Telephone Service (POTS).
- By the late 1970s, it was a global system with over a century of development.
Early Uses and Usenet
- Usenet:
- Created as an early form of network for exchanging messages between different locations like colleges.
- This system represented an early version of dial-up networking.
- Primitive Dial-up Connections:
- Used basic phone lines to establish connections and exchange messages.
Dial-up Connection Mechanics
- Dial-up Process:
- Established by dialing a phone number.
- Recognizable by the characteristic noises during connection setup.
- Modems:
- Definition: Modem stands for Modulator Demodulator.
- Function: Converts digital data from computers into audible signals for transmission over POTS.
- Conceptual Similarity: Similar to line coding in Ethernet which converts digital data into modulated signals.
Technical Aspects
- Baud Rate:
- Measurement of bits transmitted per second.
- Late 1950s: Approximately 110 bits per second.
- Late 1970s/Usenet Era: Increased to around 300 bits per second.
- Early 1990s: Dial-up speeds reached up to 14.4 kilobits per second.
- Technological Evolution:
- Significant improvements over time.
- Broadband technologies have largely replaced dial-up, making it rare in modern use.
Current Relevance
- Dial-up Today:
- Still present in some rural areas where broadband is not available.
- IT Career Implications:
- Understanding dial-up technology is important due to its historical significance.
- Although rare, it represents a crucial period in the evolution of internet connectivity.
Reflection
- Legacy:
- Dial-up was once the main method for long-distance computer communication.
- Modern advancements have largely supplanted it, but it remains a key part of internet history.
⭐Broadband Connection
1) What is Broadband?
Definition and Overview
- Broadband Definition:
- Refers to any internet connectivity technology that is not dial-up.
- Typically much faster than even the fastest dial-up connections.
- Provides an "always-on" connection, meaning the connection remains active without needing to be reestablished each time.
Impact of Broadband
- Revolutionizing Connectivity:
- The advent of broadband transformed the potential of the internet for both businesses and home users.
- Enabled more effective use of the internet, expanding its applications and benefits.
Early Adoption and Business Use
- Business Necessity:
- Businesses invested heavily in broadband long before it became common in homes.
- Dial-up connections quickly became insufficient for offices with multiple employees due to bandwidth limitations.
- T-carrier Technologies:
- Developed by AT&T to transmit multiple phone calls over a single link.
- Later adapted to transmit data at speeds far exceeding dial-up capabilities.
- Became a standard for high-speed data transfer in businesses.
Broadband in Home Use
- Transition to Home Use:
- As broadband technologies became more affordable and accessible, home use increased.
- The growing complexity of internet content, like the World Wide Web, required faster data transfer rates.
- Historical Performance:
- Dial-up connections struggled with large files and high-resolution images.
- Example: A smartphone photo of several megabytes would have taken nearly 20 minutes to download on a 14.4 kbps dial-up connection.
Modern Broadband Benefits
- Enhanced Capabilities:
- Enabled streaming of music and movies, sharing of high-resolution photos, and participation in online courses.
- Revolutionized how people interact with digital content and use the internet.
Broadband Solutions
- Broadband Types:
- T-carrier Technologies: Typically used by businesses due to their cost and requirement for dedicated lines.
- Other Broadband Solutions: Available for both businesses and consumers, offering various speeds and features.
2) T-Carrier Technologies
Invention and Purpose
- Origin:
- Invented by AT&T.
- Designed to allow multiple phone calls to travel across a single cable.
- Early Implementation:
- Before T-carrier technologies, phone calls were carried over individual pairs of copper wires.
Transmission System 1 (T1)
- Introduction:
- The first T-carrier specification, known as T1.
- Allowed up to 24 simultaneous phone calls over a single twisted pair of copper wires.
- Data Transmission:
- Each phone channel transmitted data at 64 kilobits per second.
- A single T1 line could transmit data at 1.544 megabits per second.
- Current Use:
- The term "T1" has evolved to refer to any twisted pair copper connection capable of 1.544 megabits per second, not necessarily adhering strictly to the original T1 specification.
Evolution and Applications
- Initial Use:
- Originally used to connect telecom company sites and to link telecom companies with each other.
- Business Adoption:
- In the 1990s, businesses began using T1 lines for faster internet connectivity as the internet became a valuable business tool.
- Multiplexing Improvements:
- T3 Line: An enhancement that multiplexes 28 T1 lines, achieving a total throughput speed of 44.736 megabits per second.
Modern Context
- Current Use:
- T-carrier technologies are still in use but have been largely surpassed by more modern broadband technologies.
- Alternative Technologies:
- Cable Broadband and Fiber Connections: More common for small businesses due to lower operational costs and higher speeds.
- Fiber Technologies: Have replaced older copper-based T-carrier systems for ISP communications and other applications.
3) Digital Subscriber Lines (DSL)
Overview
- Background:
- The public telephone network, with its extensive infrastructure, was initially used for dial-up connections to the internet.
- As demand for faster internet grew, telephone companies explored using existing infrastructure in new ways.
DSL Technology
- Capability:
- Twisted pair copper used in modern telephone lines can transmit more data than required for voice calls.
- DSL (Digital Subscriber Line) operates at a frequency range separate from normal phone calls, allowing for simultaneous voice and data transmission.
- DSL Equipment:
- DSL Modems: Specifically known as DSLAMs (Digital Subscriber Line Access Multiplexers).
- Function: Establish and maintain data connections across phone lines.
- Difference from Dial-up Modems: DSL connections are typically long-running and established when the DSLAM is powered on, unlike dial-up connections that need frequent reestablishment.
- DSL Modems: Specifically known as DSLAMs (Digital Subscriber Line Access Multiplexers).
Types of DSL
ADSL (Asymmetric Digital Subscriber Line):
- Characteristics: Provides different speeds for upload and download.
- Faster Download Speeds: Generally faster download speeds compared to upload speeds.
- Typical Use: Suited for home users who generally download more data (e.g., web pages, media) than they upload.
- Cost Efficiency: Often cheaper, providing a suitable user experience for typical home use.
- Characteristics: Provides different speeds for upload and download.
SDSL (Symmetric Digital Subscriber Line):
- Characteristics: Offers equal speeds for upload and download.
- Typical Use: Previously more common for businesses requiring balanced upload and download speeds.
- Current Use: Increasingly used by both businesses and home users as costs have decreased.
- Speed Cap: Generally capped at 1.544 megabits per second, the same as a T1 line.
- Characteristics: Offers equal speeds for upload and download.
Advanced DSL Variants:
- HDSL (High bit-rate Digital Subscriber Line):
- Characteristics: Provides speeds above 1.544 megabits per second.
- Application: Used for higher-speed needs beyond standard DSL capabilities.
- HDSL (High bit-rate Digital Subscriber Line):
Practical Considerations
Variety in DSL Technologies:
- Numerous minor variations exist, offering different bandwidth options and operating distances.
- It is impractical to cover all variations in detail here.
Obtaining Information:
- For specifics about a particular DSL line or variant, it is advisable to contact the Internet Service Provider (ISP) for detailed information.
4) Cable Broadband
Historical Context
Communication Evolution:
- Initially, all communications were wired.
- Modern trend has shifted towards more wireless communications.
- Television history contrasts with this trend, beginning with wireless broadcasts and transitioning to cable.
Early Television Broadcasting:
- Started with wireless transmissions from large television towers.
- Viewers needed to be within range of these towers, similar to today's cell phone tower requirements.
Development of Cable Television
- Origins:
- Began in the late 1940s in the United States.
- Aimed to provide television access to remote and rural areas beyond the reach of TV towers.
- Growth and Regulation:
- Cable television expanded gradually.
- The Cable Communications Policy Act of 1984 deregulated the cable television industry in the U.S.
- This led to a significant increase in cable television adoption and expansion, with similar trends globally.
- Infrastructure Expansion:
- By the early 1990s, cable TV infrastructure in the U.S. was comparable in size to the public telephone system.
Cable Broadband Technology
Realization of Potential:
- Cable companies discovered that coaxial cables used for TV could carry more data than necessary for television alone.
- By using unused frequency ranges, cable companies began offering high-speed internet access through these same cables.
Cable Broadband:
- This technology is known as cable broadband.
Shared Bandwidth Model
Cable vs. Other Broadband Technologies:
- Direct Connection: DSL and dial-up offer point-to-point connections to a central office (CO), ensuring a certain bandwidth level.
- Shared Bandwidth: Cable broadband uses a shared bandwidth model.
- Multiple users share a pool of bandwidth until reaching the ISP’s core network.
- The extent of shared bandwidth can range from city blocks to entire suburban areas, depending on the local cable network configuration.
Bandwidth Management:
- Cable operators have upgraded networks to minimize noticeable slowdowns.
- However, cable internet connections can still experience slowdowns during peak usage times when many users in the same area are online simultaneously.
Cable Modems and CMTS
- Cable Modem:
- Function: Connects a consumer’s network to the cable infrastructure.
- Location: Sits at the edge of the consumer's network.
- Cable Modem Termination System (CMTS):
- Function: Connects multiple cable modems to the ISP's core network.
- Role: Manages the connection between various cable internet users and the internet service provider.
5) Fiber Connections
Overview
Core Internet Infrastructure:
- Fiber optics have long been used for core internet connections.
- Offers higher speeds and allows data transmission over much greater distances without significant signal degradation.
Transmission Method:
- Light vs. Electrical Currents:
- Fiber connections use light to transmit data, unlike copper cables which use electrical currents.
- Fiber can transmit data over miles before signal degradation occurs, while copper cables require repeaters every few thousand feet.
- Light vs. Electrical Currents:
Cost and Usage:
- Fiber installation is more expensive than copper.
- Historically used primarily by ISPs within core networks and data centers.
- Increasingly used to bring high-speed connections closer to end-users.
FTTX (Fiber to the X)
Purpose:
- Refers to various implementations of fiber technology to deliver data closer to end-users.
- The “X” represents different points where fiber may be terminated.
Common Variants:
FTTN (Fiber to the Neighborhood):
- Description: Fiber is used to deliver data to a cabinet serving a neighborhood.
- Last Mile: Twisted pair copper or coaxial cables are used for the final distance from the cabinet to individual homes or businesses.
FTTB (Fiber to the Building/Basement/Business):
- Description: Fiber is run to a building (e.g., office building, apartment complex).
- Last Mile: Twisted pair copper or other technologies are used to connect from the building’s entry point to individual units or offices within the building.
FTTH (Fiber to the Home):
- Description: Fiber is run directly to each individual home or residence.
- Alternative Term: FTTH and FTTB may be collectively referred to as FTTP (Fiber to the Premises).
Optical Network Terminator (ONT)
- Function:
- Role: Acts as the demarcation point for fiber connections.
- Conversion: Converts data from the fiber network protocols to those compatible with traditional copper networks (e.g., twisted pair connections).
⭐WANs
1) Wide Area Network (WAN) Technologies
Initial Network Setup
- Scenario: Managing network for a small company with a few employees and a single office.
- Internal IP Management:
- Use nonroutable address space (private IP addresses) to conserve public IP addresses.
- Implement NAT (Network Address Translation) on the router to allow multiple internal devices to share a single public IP address.
- Local Network Services:
- Configure a local DNS server for name resolution within the network.
- Set up a DHCP server to automate IP address allocation and simplify network management.
- Internet Connectivity:
- Sign a contract with an ISP to provide an internet link for external access.
- Internal IP Management:
Expanding Network Needs
- Growth Scenario:
- VPN Implementation:
- As the company grows and employees need remote access, set up a VPN server.
- Configure port forwarding to allow secure connections from remote locations to the office LAN.
- Remote Access:
- Employees from various locations can securely access the office network via VPN.
- VPN Implementation:
Introduction to WAN
- WAN Definition:
- A Wide Area Network (WAN) spans multiple physical locations and acts as a single cohesive network.
- Contrast with LAN:
- Unlike a Local Area Network (LAN) which is confined to a single location, a WAN connects networks across different geographic locations.
WAN Components
- Demarcation Points:
- Each network has a demarcation point where the local network connects to the ISP's network.
- Local Loop:
- The section between the demarcation point and the ISP’s core network is known as the local loop.
- Examples:
- Can involve T-carrier lines or high-speed optical connections to the ISP’s regional office.
- Core Network:
- The local loop connects to the ISP's core network, which then links to the broader internet.
WAN Data Transport
- Protocols:
- WANs use various data link layer protocols to transport data between sites.
- These protocols are foundational to WAN functionality and sometimes overlap with those used in core internet infrastructure.
2) Point-to-Point VPNs
Overview
- Definition: A Point-to-Point VPN, also known as a Site-to-Site VPN, is a network configuration that connects two distinct locations over the internet using a secure VPN tunnel.
Comparison with WAN Technologies
- WAN vs. Point-to-Point VPN:
- WAN Technologies:
- Designed for high-speed data transfer across multiple sites.
- Ideal for large-scale networks needing robust and fast connections.
- Point-to-Point VPNs:
- Suitable for situations where extreme speed isn't required.
- Often more cost-effective compared to WAN solutions for smaller-scale or specific-use cases.
- WAN Technologies:
Cloud Services Impact
- Shift to Cloud:
- Cloud Services:
- Companies increasingly outsource infrastructure to cloud providers.
- Examples include hosting email services or using Email as a Service (EaaS) providers.
- Effect on Connectivity Needs:
- As internal services move to the cloud, the demand for high-speed connections between sites may decrease.
- Reduces the necessity for expensive WAN technologies.
- Cloud Services:
Functionality of Point-to-Point VPNs
- VPN Tunnel:
- Operation:
- Establishes a secure tunnel between two sites.
- Operates similarly to traditional VPN setups used by individual users to connect to a remote network.
- Network Devices:
- Network devices at each site handle the VPN tunneling.
- Users do not need to establish individual VPN connections.
- Operation:
Use Cases
- Site-to-Site Connectivity:
- Connects different office locations or remote sites securely over the internet.
- Allows for seamless communication and data transfer between sites without requiring all users to manually connect.
⭐Wireless Networking
1) Introduction to Wireless Networking Technologies
In today’s world, wireless networking has become ubiquitous, allowing a vast range of portable devices—like laptops, tablets, and smartphones—to connect without physical cables. This lesson will cover the basics of wireless communication, network types, channel operations, and wireless security protocols. By the end of this lesson, you will understand:
- How Wireless Communication Works
- The Difference Between Infrastructure and Ad Hoc Networks
- How Wireless Channels Operate
- Basics of Wireless Security Protocols
IEEE 802.11 Standards
Overview:
- The IEEE 802.11 standards, commonly known as Wi-Fi, define how wireless devices communicate.
- These standards cover both the physical layer and data link layer of networking.
Frequency Bands:
- 2.4 GHz Band: Common for many Wi-Fi networks, but can be congested due to interference from other devices.
- 5 GHz Band: Provides faster speeds and less interference but with a shorter range compared to 2.4 GHz.
Common Specifications:
- 802.11b: Introduced in 1999, operates at 2.4 GHz with speeds up to 11 Mbps.
- 802.11a: Also from 1999, operates at 5 GHz with speeds up to 54 Mbps.
- 802.11g: Released in 2003, combines the 2.4 GHz band with speeds up to 54 Mbps.
- 802.11n: Introduced in 2009, supports both 2.4 GHz and 5 GHz bands with speeds up to 600 Mbps.
- 802.11ac: Launched in 2013, operates at 5 GHz with speeds up to several Gbps.
Wireless Network Types
Infrastructure Networks:
- Definition: Networks where devices connect through access points (APs) that bridge wireless and wired segments of the network.
- Function: Access points manage connections and can be linked to a larger network or internet.
- Common Setup: Includes multiple access points to cover larger areas and handle multiple devices.
Ad Hoc Networks:
- Definition: Networks where devices communicate directly with each other without the need for access points.
- Usage: Often used for temporary setups or small group communications.
Wireless Channel Operation
- Frequency Bands and Channels:
- Wireless networks operate on specific frequency bands, subdivided into channels to reduce interference and manage bandwidth.
- Channel Allocation: Proper channel selection is crucial for minimizing interference and optimizing network performance.
802.11 Frame Structure
- Frame Fields:
- Frame Control Field: 16 bits long, defines frame processing rules, including version and type.
- Duration Field: Specifies the duration of the frame.
- Address Fields: Four address fields (each 6 bytes long) are used to identify the source, destination, receiver, and transmitter:
- Source Address: MAC address of the sending device.
- Destination Address: Intended recipient's MAC address.
- Receiver Address: MAC address of the access point receiving the frame.
- Transmitter Address: MAC address of the device that transmitted the frame.
- Sequence Control Field: 16 bits long, used to track frame ordering.
- Data Payload: Contains the actual data being transmitted.
- Frame Check Sequence (FCS) Field: Used for error checking through a cyclic redundancy check (CRC).
2) Wi-Fi 6
Wi-Fi 6, also known as 802.11ax, represents a significant advancement in Wi-Fi technology, offering improved speed, efficiency, and performance, especially in environments with many connected devices. Here’s a comprehensive overview of its benefits, capabilities, and enhancements with Wi-Fi 6E.
Benefits of Wi-Fi 6
Higher Data Rates:
- Band Splitting: Wi-Fi 6 utilizes band splitting to enhance data transfer rates. This allows both uploading and downloading of larger data volumes more efficiently.
Increased Band Capacity:
- Channel Width: The channel width has been expanded from 80 MHz (in Wi-Fi 5) to 160 MHz, enabling faster connections between the router and devices.
Better Performance:
- Input/Output Streams: Wi-Fi 6 doubles the number of I/O streams from 4x4 (in Wi-Fi 5) to 8x8. This increases the capacity to handle more devices simultaneously.
Improved Power Efficiency:
- Device Communication: Devices now connect to the network only when necessary, such as during data transmission, which extends battery life.
Capabilities of Wi-Fi 6
Channel Sharing:
- Efficiency: Improved channel sharing reduces latency and accelerates the transmission of data after a send command is issued.
Target Wake Time (TWT):
- Network Speed and Battery Life: TWT allows devices to schedule times to wake up and communicate with the network, which improves network efficiency and battery life for connected devices.
Multi-user MIMO (MU-MIMO):
- Simultaneous Data Transfer: This technology supports simultaneous data transmission to multiple devices, enhancing performance in high-bandwidth applications like video streaming and voice calls.
160 MHz Channel Utilization:
- Bandwidth Capability: By utilizing a 160 MHz channel width, Wi-Fi 6 increases the available bandwidth, improving data transfer speeds.
1024-QAM (Quadrature Amplitude Modulation):
- Data Encoding: This modulation technique combines multiple signals into one channel, allowing for more data to be transmitted within the same bandwidth.
Orthogonal Frequency Division Multiple Access (OFDMA):
- Bandwidth Splitting: OFDMA divides a single channel into smaller sub-channels, allocating bandwidth dynamically to different devices based on their needs.
Transmit Beamforming:
- Efficient Signal Transmission: This technique focuses the Wi-Fi signal towards each connected device, enhancing data rates and network efficiency.
Wi-Fi 6E: Extension into 6 GHz
- Overview: Wi-Fi 6E is an extended version of Wi-Fi 6, incorporating all of Wi-Fi 6’s features plus additional enhancements.
- 6 GHz Band: Adds a third band at 6 GHz, offering more channels:
- 14 Additional 80 MHz Channels
- 7 Additional 160 MHz Channels
- Benefits: The extra channels improve performance, especially for high-definition video streaming and virtual reality applications, by reducing interference and congestion.
3) Wireless Network Configurations
Wireless networks can be configured in several ways to suit different needs and environments. Here’s an overview of the main types:
1. Ad-Hoc Networks
Definition:
- Ad-hoc Networks are the simplest type of wireless network configuration. In these networks, there is no central infrastructure or access point. Instead, each device communicates directly with every other device within range.
Characteristics:
- Decentralized: All devices are equal, and there’s no central node.
- Self-Organizing: Devices automatically form a network without manual configuration.
- Dynamic: Devices can join or leave the network freely.
Applications:
- Smartphones: For exchanging photos, videos, or contact information directly between devices.
- Industrial or Warehouse Settings: For equipment communication without needing broader network connectivity.
- Disaster Relief: To provide temporary communication capabilities when traditional infrastructure is damaged.
Limitations:
- Scalability: As more devices join, performance can degrade.
- Limited Range: The network range is limited to the combined range of all devices.
2. Wireless LANs (WLANs)
Definition:
- Wireless LANs (WLANs) involve one or more access points that connect wireless devices to a wired network. These access points bridge the gap between the wireless and wired portions of the network.
Characteristics:
- Infrastructure-Based: Relies on central access points to manage and control traffic.
- Integration: The wireless network is integrated with a wired LAN, which includes the gateway to the Internet.
Components:
- Access Points (APs): Devices that connect wireless devices to the wired network.
- Gateway Router: Handles the connection to external networks like the Internet.
Applications:
- Business Environments: Common in offices where employees need wireless connectivity.
- Public Spaces: In places like cafes or libraries, providing wireless Internet access.
Advantages:
- Centralized Management: Easier to manage and secure with centralized access points.
- Extended Range: Coverage can be extended by adding more access points.
Limitations:
- Coverage Gaps: Requires proper placement of access points to avoid dead zones.
3. Mesh Networks
Definition:
- Mesh Networks are a hybrid configuration where multiple wireless nodes (access points) work together to create a network. These nodes communicate with each other wirelessly to form a network mesh.
Characteristics:
- Self-Healing: If one node fails, others can continue to provide network access.
- Flexible Expansion: New nodes can be added without running additional cables.
Components:
- Mesh Nodes: Wireless access points that form the mesh. They can connect to each other and to the wired network.
Applications:
- Large Areas: Ideal for covering large areas or complex environments like large campuses or warehouses.
- High-Density Areas: Useful in areas with high device density, improving performance and reliability.
Advantages:
- Increased Coverage: Can provide robust coverage over large areas.
- Improved Reliability: Redundant connections between nodes enhance reliability and network performance.
Limitations:
- Complexity: Can be more complex to set up and manage than traditional WLANs.
- Cost: May require more investment in hardware compared to simpler WLAN configurations.