Article Overview

A network switch alone cannot provide internet access; it connects devices locally, and a router or modem is required to access the internet.

Understanding the Role of a Switch

A network switch is a device that connects multiple devices within a local area network (LAN), such as computers, printers, and storage devices, allowing them to communicate and share resources efficiently . Switches operate at the data link layer and forward data packets between devices on the same network. They do not assign IP addresses or provide internet connectivity on their own .

Connecting Devices Locally

To set up a LAN using a switch:

  1. Choose a switch with enough ports for all devices. For small networks, a 5- or 8-port unmanaged switch is sufficient, while larger setups may require 2.5GbE or 10GbE switches for higher speeds .
  2. Connect devices using Ethernet cables. Each device should be plugged into a switch port.
  3. Assign IP addresses manually if no router is present. Each device must have a unique IP in the same subnet (e.g., 192.168.1.X with subnet mask 255.255.255.0), .
  4. Set the default gateway and DNS server if needed. For local-only networks, the switch's IP can serve as a placeholder, but internet access requires a router or modem .

Enabling Internet Access

To provide internet access through a switch:

  • Connect a router or modem to one of the switch ports. The router handles DHCP, NAT, and routing to the internet .
  • Devices connected to the switch will receive IP addresses from the router and can access the internet while still communicating locally.
  • If the switch is connected to a managed router, you can configure VLANs, bandwidth limits, and security settings for better control .

Local-Only Networks

If internet access is not required, a switch can create a fully functional LAN for:

  • File sharing between computers
  • Accessing shared printers or NAS devices
  • Running local servers or lab networks This setup is ideal for small offices, LAN parties, or testing environments .

Summary

  • Switch alone: Connects devices locally, no internet.
  • Switch + router/modem: Provides both local connectivity and internet access.
  • IP configuration: Required for local communication; DHCP from a router simplifies setup.
  • Managed switches: Offer advanced control, security, and traffic management for larger networks . By understanding the distinction between a switch and a router, you can design a network that meets your needs, whether for local resource sharing or full internet connectivity.

Control a website''s access to the local network in Microsoft Edge

A local network is a network that uses a private IP address space. Enterprise administrators can also configure Local Network

Essential Network Settings and Tasks in Windows

Summary Network & Internet settings in Windows allow you to manage your network connections and internet settings. Whether you

How to configure a local network with a switch without internet

In this tutorial, we''ll teach you how to set up a local area network with a switch without an internet connection. A local

How Do I Connect To A Network Switch

Introduction Understanding the Basics of Network Switches Network switches play a crucial

What Is a Switch? Computer Networking

A network switch is a central communication device for local area Ethernet networks. Many home broadband routers

Allow Remote Access to Hyper-V VM from LAN & Internet

Internal Switch is a pre-installed virtual switch. It serves to connect a virtual machine to the management host machine

‎Google Gemini

Meet Gemini, Google''s AI assistant. Get help with writing, planning, brainstorming, and more. Experience

How do I access local computers through a network switch?

I have a switch connecting several computers with my ISP. All the computers gets external IPs from my ISP. When

What is a LAN? Local Area Network

A local area network or LAN is comprised of cables, access points, switches, routers and other components that when connected in

How to Configure Your PC to a Local Area Network: Full

Set up your own private LAN with or without a routerA local area network (LAN) is a network

How to Setup a LAN Network Using a Switch?

Introduction Anyone wanting to enhance connectivity at home or the workplace has to know how to set up a local area

Best Network Switches: Add Ports, Speed to Your Network | Tom''s

We tested several network switches to help find the right one for your needs and budget.

How to Build a Local Area Network Without a Router

This guide shows you several practical ways to build a local area network without a router, including a wired switch-based LAN, a

Share your internet access with Hyper-V virtual machines

Share your wireless internet access to Hyper-V virtual machines from Windows 10 using an internal virtual switch.

HyperV isolated network with internet access

Hi! I need to create a ''private test lab'' in HyperV. I need that all VM inside will be ''isolated'' (must no see any computer

What is a network switch? | Switch vs. router

What is a network switch? A network switch connects devices within a network (often a local area network, or LAN *) and forwards

How Does the Internet Kill Switch Work? | ExpressVPN

The Internet Kill Switch blocks internet traffic if your VPN unexpectedly disconnects. Learn

Vlan can''t access internet or local devices

I am setting up a home lab with just a single client at the moment connected to a switch using two NIC''s. The switch

How to Setup a LAN Network Using a Switch?

LAN allows several devices to connect and share resources, such as printers, files, and internet access, within an

How to make a local network without Internet access?

How to make a local network without Internet access? If you''re looking to establish an effective network connection at home or at the

How LAN Switches Work?

Network Switches and Hubs: A local area network, also called a LAN, has a central connection point for devices called

ChatGPT

ChatGPT helps you get answers, find inspiration, and be more productive.

What Is a Network Switch, and Do You Need One? | Wirecutter

A network switch adds more ports to your router. It''s useful if you have a lot of wired devices in one place, or if you

Network Switches 101: Unmanaged vs. Managed vs.

Network switches: The straightforward way to expand a wired network To have a local

Different Types of Network Switches

There are several types of network switches and understanding the differences can help you make the right choices for your small

How to Create a Local Area Network with a Switch

To create a LAN network, connect your router to the internet, link devices using Ethernet cables, and add an SMB

Accessing the Switch

1 Overview You can access and manage the switch using the GUI (Graphical User Interface, also called web interface in this text) or

How to enable internet access in the default switch of hyper-V?

After some intense googling i found that internet access is not available in the default switch of hyper-V. But i did find a

How to Create a Local Area Network with a Switch

Learn what a LAN (Local Area Network) is, how to set up a LAN using FS SMB switches. Discover FS switch

What Is a Network Switch, and When Do You Need One?

A network switch is an affordable and simply upgrade to your home internet, especially if you''re sick of Wi-Fi.

What is a Network Switch? How it Works and Types

What is a network switch? A network switch connects devices in a network to each other, enabling them to talk by

Fix Ethernet Showing No Internet Access But Connected – Full Guide

What “Connected, No Internet” Actually Means When your device says Ethernet is connected, it only confirms that your computer

Create a local area network using a LAN switch

A local area network (LAN) switch serves as the primary connecting device, managing and directing communications

8 Steps to configure your network switch

Learn how to setup a network switch with ease. Switches allow you to send and receive information efficiently and securely. Get

How to configure a local network with a switch without internet

If you need to connect multiple devices to a local network without internet access, it''s best to use a switch. This device

Types of Switches in Computer Network

In computer networks, switches are critical devices that manage the flow of data between devices in a local area

How To Access Your Network Switch

Introduction Introduction Accessing your network switch is essential for managing and configuring its settings.

How to Create a Local Area Network (LAN)

This wikiHow teaches how to create a LAN (Local Area Network), which allows

Vlan can''t access internet or local devices

The switch has acquired an IP (192.168.1.101) on Vlan1 from the default router (192.168.1.1) using port G2/0/1, and can

Related Resources

Ready to Equip Your Data Center?

Request a free quote for 19″ server racks, open frame racks, AI high-density cabinets, intelligent PDUs, environment monitoring, asset tracking, or modular rack systems. EU‑owned German factory – reliable, scalable, and cost‑effective infrastructure for your IT equipment.