Fading Coder

One Final Commit for the Last Sprint

Home > Tools > Content

Network Infrastructure Components and Communication Protocols

Tools May 8 4

Network Devices and Connectivity

Connection Architecture

Network infrastructure follows a hierarchical connection pattern:

  • Optical Network Terminal (ONT) WAN port connects to router WAN port
  • Router LAN ports connect to core switch uplink ports
  • Core router standard ports connect to standard switch uplink ports
  • Standard switch ports connect to end-user devices

Network Interface Cards

Network Interface Cards (NICs) provide hardware connectivity:

  • Identity: Each NIC has a unique MAC address for device identification
  • Connectivity Bridge: Enables computer connection to internet or local networks
  • Data Verification: Validates data integrity to prevent transmission errors
Bandwidth Specifications: 1000 Mbps = 1 Gbps transfer rate
Transmission Media: Various physical connection types
Multi-OS Compatibility: Signal interoperability considerations
Communication Targets: Ensuring sender-receiver connectivity (ping verification)
Security: Data protection mechanisms
Application Targeting: Multiple software network coordination

Wireless Frequency Bands

2.4 GHz: Better wall penetration, suitable for large areas and multi-story buildings (smart home devices)
5 GHz: Higher speed and stability, ideal for bandwidth-intensive applications (gaming, video streaming)

Router Functions

  • Port Configuration:

    • WAN port: External network/ONT connection
    • LAN ports: Switch/end-device connections
  • Core Operations:

    • Network Address Translation (NAT): Converts private IPs to public IPs, maintains translation tables
    • DNS Resolution: Translates domain names to IP addresses
    • Port Forwarding: Directs traffic to specific applications

Enterprise-grade equipment includes H3C and ZTE solutions.

Hub vs. Switch Operation

Hubs utilize broadcast transmission to locate recipients
  • Switch Capabilities:
    • DHCP Services: Automated IP address allocation
    • ARP Protocol: Address Resolution Protocol broadcast packets
    • MAC Address Tables: Storage of connected device hardware addresses

Optical Network Terminal

  • Definition: Optical modem converting light signals to electrical signals
  • ISP: Internet Service Provider infrastructure component

Switch Purpose

Primary function: Expand available LAN ports beyond router capacity

Cable Types

Fiber optic cables feature smaller diameter compared to Ethernet cables

Network Communication Process

1. MAC Address Identification
Hubs broadcast messages (destination MAC, source MAC)
Excessive devices cause broadcast congestion
Broadcast domain segmentation via IP addressing
--------
2. IP Address Routing
Switches enhance hub functionality with DHCP automation
Routers manage switch networks
Switches employ ARP broadcasts and maintain MAC address tables
----
3. Address Space Evolution
IPv4 exhaustion led to IPv6 development
Routers possess public IP addresses
Public IP: Internet-routable, globally unique
Private IP: Internal network use only
NAT: Converts private to public addresses
DNS: Resolves human-readable domains to machine IP addresses

Application targeting via port identification (0-65535 range)
Port mapping example: Port 80 → 192.168.0.10
Packet Structure:
Destination IP
Source IP
Private IP
Target application port

OSI Model Layers (7-Layer Architecture)

Protocols define standardized data formats with layer-specific processing

  • Physical Layer: Converts data to electrical/optical signals
  • Data Link Layer: Adds MAC addressing
    • MAC Address: 12-digit hex (vendor ID + serial number)
    • Ethernet Protocol: Frame construction from signal groups
    • ARP Protocol: IP-to-MAC address mapping tables
    • Frame structure: Header + Data (max 1500 bytes)
    • Units: Bytes (B) vs. bits (b)
  • Network Layer: Implements IP addressing
  • Transport Layer: Adds transmission protocols (TCP/UDP) and port addressing
    • TCP: Reliable, secure, slower transmission
    • UDP: Faster, less reliable, suitable for streaming and local networks
    •   Port inspection commands:
        netstat -ano
        netstat -lntup
      
  • Application Layer: Implements HTTP, HTTPS, SSH protocols
  • Presentation Layer: Data formatting (text, images) and encryption
  • Session Layer: Connection testing and session management

Packet Processing

  • Routing examination: First MAC address, then destination device MAC
  • If match or empty, proceed to IP address inspection

IP Address Classification

Address scarcity: 2^32 ≈ 4.3 billion addresses insufficient

Solution 1: Private IP ranges for internal networks, enabling shared public IP usage

Solution 2: IPv6 address implementation

Class A: 1.0.0.1-126.255.255.254 (primarily public IPs)
Class B: 128.0.0.1-191.255.255.254
Class C: 192.0.0.1-223.255.255.254
127.x.x.x: Reserved for local loopback testing

Performance Verification

Theoretical Knowledge

1. Explain purpose and function of ONT, router, switch, hub, NIC
2. Describe communication evolution and processes
3. Understand MAC, IP, and port addressing origins
4. Identify router operational roles

Practical Application

Network speed assessment:
1. NIC capabilities (e.g., 866 Mbps wireless adapter)
2. Infrastructure upgrades: Carrier equipment, ONT, router, switch, and end-devices requiring gigabit-capable ports

Related Articles

Efficient Usage of HTTP Client in IntelliJ IDEA

IntelliJ IDEA incorporates a versatile HTTP client tool, enabling developres to interact with RESTful services and APIs effectively with in the editor. This functionality streamlines workflows, replac...

Installing CocoaPods on macOS Catalina (10.15) Using a User-Managed Ruby

System Ruby on macOS 10.15 frequently fails to build native gems required by CocoaPods (for example, ffi), leading to errors like: ERROR: Failed to build gem native extension checking for ffi.h... no...

Resolve PhpStorm "Interpreter is not specified or invalid" on WAMP (Windows)

Symptom PhpStorm displays: "Interpreter is not specified or invalid. Press ‘Fix’ to edit your project configuration." This occurs when the IDE cannot locate a valid PHP CLI executable or when the debu...

Leave a Comment

Anonymous

◎Feel free to join the discussion and share your thoughts.