II. Definitions: Client
- Client-Server
- Distributed application architecture dividing tasks and workloads between the client machine and the network server
- Virtualization Host (business servers)
- Multiple virtual machines on a single server
- Virtual Desktop Infrastructure (VDI)
- Serves Operating Systems and software to Thin clients and zero clients
- https://en.wikipedia.org/wiki/Desktop_virtualization
- Thick Client (Fat Client)
- Fully installed operating systems and needed software
- https://en.wikipedia.org/wiki/Fat_client
- Thin Client (Slim Client)
- User device that is smaller, lower cost, limited resource (memory, processing power)
- Relies on a networked connection to a more powerful server that performs much of the application functionality
- Operating system with deployed applications (e.g. Citrix)
- https://en.wikipedia.org/wiki/Thin_client
- Zero Client (e.g. Dell Wyse)
- Operating system and applications are deployed (e.g. remote desktop in Windows)
III. Background: Network Layouts (network topology)
- Mapping software
- Microsoft Visio (Windows)
- OmniGraffle or Diagrammix (Mac)
- Ring Network
- Each node is connected to its neighbor on either side, forming a ring of nodes (e.g. Spatial Reuse Protocol)
- Mesh Network
- Each node is connected to multiple neighbors (e.g. Ethernet switches, Wireless Mesh Networks)
- Star Network
- All nodes are connected to a single central node (e.g. Wireless LAN)
- Fully Connected Network
- Each node is connected to every other network node (e.g. military Communication, requires redundancy)
- Expensive overhead - requires maximal number of connections = n * (n-1)/2
- Tree Network
- Hierarchical arrangement of nodes in a parent-child tree organization (e.g. Cable TV signal distribution)
- Bus Network
- All network nodes are connected along a common thoroughfare (e.g. early Ethernet)
- Resources
IV. Background: Network Types
- Local Area Network (LAN)
- Single area of high speed connectivity
- LAN infrastructure is typically owned by the business (or home) using it
- https://en.wikipedia.org/wiki/Local_area_network
- Wide Area Network (WAN)
- Network of 2 or more typically distant LANs connected by a service provider (e.g. branch office connections)
- https://en.wikipedia.org/wiki/Wide_area_network
- Metropolitan Area Network (MAN)
- Network connecting multiple buildings within the same city
- https://en.wikipedia.org/wiki/Metropolitan_area_network
- Campus Area Network (CAN)
- Network connecting a college or business campus
- https://en.wikipedia.org/wiki/Campus_network
- Wireless LAN (WLAN)
- Wireless access points (hot spots)
- https://en.wikipedia.org/wiki/Wireless_LAN
- Personal Area Network (PAN)
- Includes Near Field Communication (NFC), Bluetooth Communication, and Infrared Communication
- https://en.wikipedia.org/wiki/Personal_area_network
V. Background: Internet Connectivity
- Analog Modems (dial-up modems)
- Rarely used in the U.S. aside from legacy devices that may call in diagnostic data to main servers
- May be used in world regions where other connectivity is not available (or too expensive)
- https://en.wikipedia.org/wiki/Modem
- Digital Subscriber Line (DSL) and asynchronous DSL (ADSL)
- Uses digital telephone line (RJ-11) via Point-To-Point (PPPoE) and IP (requires filter on the line)
- https://en.wikipedia.org/wiki/Digital_subscriber_line
- Broadband Cable
- Data transmitted over coaxial cable via DOCSIS protocol
- Asymmetric transmission (much faster download than upload)
- https://en.wikipedia.org/wiki/Cable_Internet_access
-
Fiber Internet
- Very high speed connectivity (but requires nearby fiber cable)
- https://en.wikipedia.org/wiki/Fiber_to_the_x
- Satellite Internet
- Connectivity for remote locations that requires satellite dish
- Data transmission latency is an issue as is interference from weather
- https://en.wikipedia.org/wiki/Satellite_Internet_access
- Cellular Network (Mobile Broadband)
- Standard transmission download speeds approach 50 Mb/s with 4G or LTE Networks
- Tethering allows smartphones to become a Wi-Fi hotspot (and NAT router)
- https://en.wikipedia.org/wiki/Mobile_broadband
- Line of Sight Wireless
- Allows for point to point internet between 2 points (e.g. buildings) where physical cable cannot be run
- Transmits 5 to 150 Mb/s over up to miles of distance
- https://en.wikipedia.org/wiki/Line-of-sight_propagation
- Resources
VI. Background: Cables and Connectors
VII. Background: Routers and related devices
- Network Hub (Ethernet Hub, defunct)
- Defunct device replaced by the Network Switch
- Still used for diagnostics by plugging hub into network and monitoring traffic via sniffer (e.g. Wireshark)
- Simple network connection without filtering capability
- All data packets are passed through to all connected devices (can slow down the network)
- Functions as a multiport repeater
- One collision domain
- Used for small networks where the inefficiencies of passing all data to all devices would not tax the network
- https://en.wikipedia.org/wiki/Ethernet_hub
- Defunct device replaced by the Network Switch
- Network Bridge (defunct)
- Defunct device replaced by the Network Switch
- Similar to a Network Hub, allows for filtering of data packets based on MAC address
- Has only one incoming and outgoing port
- Network Bridge has a single incoming LAN port and a single outgoing LAN port
- Bridge stores the MAC address table for each connected LAN
- The bridge filters traffic based on the data packet MAC address
- Indicated for networks that need only intermittent Communication
- https://en.wikipedia.org/wiki/Bridging_(networking)
- Network Switch (Layer 2)
- Similar to a Network Bridge (which it replaces), but has multiple ports
- Allows for data packet addressing to either MAC addresses (Layer 2) or IP Addresses (layer 3)
- Switch stores a table of all connected device MAC addresses
- Data packet forwarding is controlled by hardware known as ASIC (application specific integrated circuits)
- Switches route only data specific to the device/target
- Provides full, dedicated bandwidth to each connected device/port
- Each connection has its own isolated collision domain
- However, if switch does not know MAC address of device, it broadcasts (floods) all attached devices with the data
- Adds error checking to data packet evaluation (in addition to the address forwarding of a network bridge)
- Allows for increased efficiency by only transmitting error-free data packets to the correct LAN address
- Originally indicated for connecting large networks at the subnet level (now the default standard for all networks)
- Replaces Network Hub and Network Bridge
- https://en.wikipedia.org/wiki/Network_switch
- Network Router (Layer 3)
- Data packet addressing is via IP Address (Layer 3) and controlled by software (contrast with ASIC control on switches)
- Machines are connected to switches, which in turn are connected to network routers
- Routers support multiple WAN technologies, and separate public internet from private network
- Routers also allow for segmenting a network into subnets (one for servers, another for digital phone network...)
- Routers are in standard use in business networks
- Homes also use routers for broadband internet connection
- https://en.wikipedia.org/wiki/Router_(computing)
- Wireless Access Point (Hot Spot, Wireless LAN)
- Wireless devices can communicate with each other and wired LAN connections
- May be powered over ethernet (PoE) with 4.5 Watts of power
- LAN Controllers are available to manage all of the individual Wireless Access points
- Repeaters
- Included in hubs and switches to clean, amplify and re-send data packet signals
- Signals may otherwise become weak along long cables (>100 m)
- May also provide power to the device on the ethernet (PoE)
- Ethernet over Power (Powerline Ethernet)
- Ethernet signal is transmitted via AC Power (speeds of 100 to 500 Mb/s)
- Ethernet is plugged into a wall power outlet adapter
- May be used in areas where additional wired ethernet cable is difficult to run to the target device(s)
- Power over Ethernet (PoE, 802.3af)
- Device powered over ethernet cable
- Indicated where ethernet cable is run to location, but powerline is not (e.g. wireless access point)
VIII. Background: Firewall
- Firewall
- Screens network traffic from unauthorized access
- Protects against malicious users looking for open ports for network access
- Best firewall response to a port probe (ping) is no response (invisible port to unauthorized users)
- Subtypes
- Packet-filtering firewall (standard)
- Allows or blocks IP Addresses on certain ports
- Stateful packet inspection (preferred in enterprise systems)
- Firewall can enforce rules on many data layers including at the application and session layers
- Packet-filtering firewall (standard)
- Resources
- Port Forwarding (firewall rule)
- Router can be configured to forward specific port inbound traffic to a private IP Address of a device
- Some devices (e.g. game platforms) often have specific ports on which they communicate
- These ports are often blocked by router firewall by default, and require port forward to receive data traffic
- https://en.wikipedia.org/wiki/Port_forwarding
- Port Triggering (firewall rule)
- Similar to port forwarding (above), but router attempts to forward traffic in a given range to a private IP for device
- Precautions
- Universal Plug-And-Play (UPnP)
- Some routers allow applications to automatically open ports for forwarding external traffic
- Convenient, but malware may take advantage of UPnP
- Consider disabling UPnP on router
- Universal Plug-And-Play (UPnP)
- Testing Firewall
- See Network Security
IX. Background: Device Communication
-
DHCP Server
- See DHCP Server
- Dynamic private IP Addresses "leased" to individual devices on the network
- Allows a server with its own public, routable IP Address to distribute data to its clients
- Network Address Translation (NAT) or Port Address Translation (PAT)
- Shares a few public IP Addresses with a virtually unlimited client devices
- Each device has its own private IP (DHCP-assigned)
- Router handles the routing to and from the external public IP Address to the internal private addresses
- https://en.wikipedia.org/wiki/Network_address_translation
- Shares a few public IP Addresses with a virtually unlimited client devices
- Destination Network Address Translation (DNAT) or inbound NAT
- Internal device is discoverable to external internet (e.g. web server with a private IP Address)
- Risky! Use with DMZ
- Demilitarized Zone (DMZ) or Screened Subnet
- Host computers separate from the rest of the network that allows outside access without compromising other systems
- Typically used with DNAT (see above)
- https://en.wikipedia.org/wiki/DMZ_(computing)
- VPN Server
- Secure, tunneled connection over an otherwise insecure internet
- https://en.wikipedia.org/wiki/Virtual_private_network
- Quality of Service (QoS)
- Bandwidth reserved for adequate quality of key services (e.g. VoIP)
X. Background: Small Office Home Office (SOHO) Router
- Indications
- Small number of users (e.g. 10 or less)
- Multiple functions of SOHO Integrated Router
- Wi-Fi access point and router (OSI layer 3)
- DHCP Server with Network Address Translation (NAT, DNAT)
- Firewall
- Network switch (OSI layer 2)
- VPN server
- Connections
- Uplink to internet or larger network (WAN)
- Switch for routing data to wired clients
- Antenna for wireless transmission
- USB connection for maintenance tasks (e.g. update device firmware via USB key)
- Configuration
- Exercise caution with firmware upgrades (vet before install)
- See Wired Connection Interface for ethernet related physical tools
- Security
- See Network Security
XI. Background: Open Systems Interconnection Model (OSI Model, ISO Network Communications Model)
- Mnemonics
- Layer 7 to 1: All People Seem to Need Data Processing
- Layer 1 to 7: Please Do Not Throw Sausage Pizza Away
- Host Layers
- Data: 7. Application Layer
- Closest to the end user who interacts directly with the application
- FTP (file transfer protocol)
- HTTP or HTTPS (web)
- SMTP (mail server)
- POP3/IMAP4 (mail server)
- Data: 6. Presentation Layer (Syntax Layer)
- Data representation with encryption and decryption, serialization of objects as needed
- Data: 5. Session Layer
- Manages connections between local and remote computers
- LDAP (Lightweight Directory Access Protocol)
- Authenticates users for X.500 Directories
- Segment: 4. Transport Layer
- Variable-length packets reliably transported between network nodes
- Transmission Control Protocol (TCP)
- Acknowledgement (secure, reliable, slower)
- User Datagram Protocol (UDP)
- Connectionless, faster, no Acknowledgement and lost data (e.g. for streaming video)
- Data: 7. Application Layer
- Media Layers
- Packet: 3. Network Layer (Router)
- Variable-length packets or data sequences (datagrams) addressed, routed and delivered (may be unreliable)
- IPv4, IPv6 (see IP Address)
- DHCP (dynamic host control protocol)
- Assign IP Address to host (e.g. wireless hotspot)
- Frame: 2. Data Link Layer (Switch)
- Reliable, point-to-point data connection
- Media Access Control Layer (MAC layer, MAC Address)
- Controls network data access
- Hardware physical hex address specific to each individual device (PC, phone, modem...)
- MAC Address is 48 bits: Six hex pairs (8 bits per pair), with last 24 bits (3 hex pairs) vendor specific
- Switch is aware of each connected device's MAC address
- Logical Link Control Layer (LLC layer)
- Controls packet synchronization and error checking
- Media Access Control Layer (MAC layer, MAC Address)
- ARP (address resolution protocol)
- TCP uses for Communication for cases in which only neighboring Host IP Addresses are known
- Resolves hardware addresses
- Troubleshooting
- Is the switch operational (status light green)
- Reliable, point-to-point data connection
- Bit: 1. Physical Layer (Network Internet Card or NIC)
- Includes cables, hubs and adapters over which data must travel
- Data connection (may be unreliable)
- Troubleshooting
- Ethernet cable plugged in and functional (or wifi turned on)
- Packet: 3. Network Layer (Router)
- Resources
XII. Differential Diagnosis: Networking Problems
- No Connectivity to network
- WLAN or Wi-Fi radio turned off on computer or device via hardware switch or internal setting
- WLAN settings are not remembered by computer
- Ethernet cable is disconnected or has a defect
- Limited Connectivity
- DNS server offline or unreachable (if can access the host by IP Address, but not by hostname)
- Local Connectivity only
- Router offline
- DHCP issue
- Intermittent or Inconsistent Connectivity
- Poor WiFi Signal
- Defective Ethernet cable or port
- Router assigned Link Local Address (Automatic IP Address or APIPA)
- Computer unable to connect to DHCP Server
- Router not forwarding calls to DHCP from computer (check router forwarding rules)
- IP Conflict Error
- Duplicate IP Address on network (check DHCP and identify conflicting device)
- Slow network transfer speeds
- Wi-Fi misconfigured to use slower speed
- Half-duplex Internet (confirm high speed full-duplex internet on ethernet card AND network switch settings)
- Half-Duplex: Only 1-way communication at a point in time (send or receive but not both)
- Correct to Full-Duplex
- Low Wi-Fi radiofrequency signal
- Inconsistent connection
- Poor Wi-Fi coverage (check heat-map survey of signal strengths)
- SSID not found
- Disabled SSID broadcast on Wireless Access Point
- Wi-Fi Radio disabled on client
XIII. Management: Network Utilities
- Wire Shark
- https://www.wireshark.org/
- Visualize network traffic frame-by-frame (data layer 2, switch level)
- Use with a network hub (see above) to monitor traffic to another computer on the network
- Wireless Locators and Analyzers (e.g. Acrylic WiFi, Ekahau Heat Mapper, inSSIder)
- Windows command line (most have been replaced by Powershell commands)
- Ipconfig
- Ipconfig /all : shows all configuration information
- Ipconfig /release : relinquishes DHCP assigned local IP lease
- Ipconfig /renew : reassigns an IP lease to the requesting client
- Ping
- Type "ping" (or ping /?) without any parameters and will give help
- Ping localhost : Confirms basic IP stack works on client system (default to IPv6 addresses)
- Ping -4 locahost : Same as previous command, except forces use of IPv4
- Ping host name
- Ping IP_addreess : Bypasses DNS
- Pathping
- Pathping URL
- Trace Route (Tracert)
- Shows path that traffic takes from start to finish
- Identifies network bottle necks
- Netstat
- Demonstrates connections both inside and outside network
- NBTstat (relatively defunct, replaced by other tools)
- Protocol statistics and current TCP/IP statistics
- Net
- Net use * \\server\share
- Allows for interaction with shared folder on network
- Net use * \\server\share
- NsLookup
- Interrogate DNS server - enters command line shell
- Active Directory tools (active directory must be installed/enabled)
- Netdom (command line tool)
- Dsa.msc (gui tool)
- Ipconfig
- Windows Utilities
- Network Connections (ncpa.cpl)
XIV. Resources
XV. References
- Desai (2014) Systems, Databases and Networks, AMIA’s CIBRC Online Course
- Warner (2016) CompTia A+ Networking, Pluralsight, accessed 1/14/2017