When Wi-Fi is not available or a stable connection is required for game console, Smart TV or another computer, distributing the Internet via an Ethernet cable becomes the optimal solution. Unlike a wireless network, a wired connection provides minimal latency (ping up to 1 ms) and maximum speed - up to 1 Gbit/s when used Cat 6 cable. However, not all users know that standard tools Windows, macOS or Linux allow you to turn your laptop into a full-fledged “router” without additional equipment.

In this article you will find unique configuration schemes for all popular operating systems, including bypassing typical limitations (for example, the error "Failed to share" in Windows 11). We will also look at how to choose the right cable, why DHCP sometimes does not work, and what to do if the device receives an IP address, but there is no Internet. Particular attention is paid to security: you will learn how to limit access to your “local network” from third-party devices.

Preparation: what you will need to distribute the Internet via cable

Before you start setting up, make sure you have everything you need. The minimum set of equipment includes:

  • 🖥️ Laptop with working internet connection (Wi-Fi, 3G/4G modem or second Ethernet port)
  • 🔌 Ethernet cable standard Cat 5e or higher (length up to 100 meters without amplifiers)
  • 🎮 Recipient device: PC, Xbox/PlayStation, Raspberry Pi or TV with port RJ-45
  • ⚡ Power supply for a laptop (distributing the Internet increases the load on the processor by 15-25%)

It is critical to check physical condition of the cable. Damaged wire pairs or faulty connectors RJ-45 may cause intermittent connections. To test, connect the cable directly to the router - if the speed is below 100 Mbps, replace it. Also note your laptop connection type:

Internet type on laptop Is additional software required? Max. distribution speed
Wi-Fi (connection to router) No Up to 500 Mbps (limited by Wi-Fi adapter)
3G/4G modem (USB) Yes* (virtual adapter driver) Up to 150 Mbit/s
Ethernet (second port or USB adapter) No Up to 1 Gbit/s
VPN connection Yes** (routing setup) Depends on VPN

* For modems Huawei, ZTE or Sierra Wireless utility may be required Mobile Partner.

** When used OpenVPN or WireGuard you must manually register the routes.

⚠️ Attention: If your laptop is connected to a corporate network with security policies (for example, via Cisco AnyConnect), Internet distribution may be blocked by the administrator. In this case use USB-ethernet adapter to create a separate network.

Method 1: Internet distribution via Mobile Hotspot in Windows 10/11

Easiest method for users Windows - built-in function "Mobile hot spot", which supports distribution via both Wi-Fi and Ethernet. However, there is a nuance: by default the option hidden for wired connections. To activate it:

  1. Open Settings → Network and Internet → Mobile hotspot.
  2. In the drop down menu "Sharing" select your current connection (for example, "Wireless Network").
  3. Click "Edit" and in the section "Properties" check the box "Allow other devices to use my Internet connection".
  4. In the section "Ethernet" turn on the switch "Allow sharing of my Internet connection over Ethernet".

If item "Ethernet" not in settings, follow these steps:

1. Запустите командную строку от имени администратора (Win + X → "Терминал (администратор)").

2. Введите команду:

netsh interface set interface "Ethernet" admin=enable

3. Перезагрузите ноутбук.

After activating the hotspot, your device will receive an IP address in the range 192.168.137.x (default). If the connection is not established, check that the Network Sharing Center Protocol enabled for Ethernet connection IPv4 with automatic receipt of addresses.

📊 Which method of Internet distribution do you use more often?
  • Via Wi-Fi hotspot
  • Via Ethernet cable
  • USB tethering
  • Another option

Method 2: Manually creating a bridge between adapters (Windows)

If Mobile Hotspot is not working (for example, due to group policy in Windows 11 Pro), you can manually create network bridge. This method is universal and works even with VPN connections. Instructions:

☑️ Preparing to create a bridge

Done: 0 / 4
  1. Open Control Panel → Network and Internet → Network and Sharing Center.
  2. From the left menu select "Changing adapter settings".
  3. Clamp Ctrl and select two adapters:
    • 🌐 Adapter with Internet (for example, "Wi-Fi" or "Ethernet 2")
    • 🔌 Adapter for distribution (usually "Ethernet" or "Local Area Connection")
  • Right click → "Bridge Setup". Wait 30-60 seconds.
  • After creating the bridge:

    • 🔄 Reboot both devices.
    • 📊 On the target device, manually register an IP address from the bridge subnet (for example, 192.168.0.100 with mask 255.255.255.0 and gateway 192.168.0.1).
    • 🔒 In the firewall settings Windows allow me "File and Printer Sharing" for a new network.
    ⚠️ Warning: Network bridges may conflict with virtual machines (For example, VirtualBox or VMware). If after setup the Internet on the host machine is lost, remove the bridge and use an alternative method (see Method 3).
    Why might the bridge not work with some adapters?

    Some USB-Ethernet adapters (for example, on ASIX AX88179 chips) do not support bridge mode due to driver limitations. In this case, use the command line method (Method 3) or update the driver to version 4.20.0 or higher.

    Method 3: Distribution via command line (universal method)

    This method works on all versions Windows (including Windows 7) and allows you to flexibly configure network parameters. Open a command prompt as an administrator and run the commands in order:

    1. Проверьте название сетевого интерфейса с интернетом:
    

    netsh interface show interface

    2. Разрешите совместный доступ (замените "Wi-Fi" на ваш адаптер):

    netsh interface set interface "Wi-Fi" sharing=enabled

    3. Настройте IP-адрес для Ethernet-адаптера:

    netsh interface ip set address "Ethernet" static 192.168.0.1 255.255.255.0

    4. Включите DHCP-сервер (требуется утилита haneWIN NHCP или аналогичная):

    nhcp.exe start 192.168.0.1 192.168.0.100 192.168.0.200

    To automatically start distribution when you turn on the laptop, save the commands to a file start_sharing.bat and add it to Autoload. Please note:

    • 🔧 If after executing the commands the Internet disappears on the laptop, check that Properties → Access your main connection not checked "Allow other users to manage sharing".
    • 🔄 To reset settings use:
      netsh interface set interface "Wi-Fi" sharing=disabled
      

      netsh interface ip set address "Ethernet" dhcp

    💡

    If the target device does not receive an IP address, manually assign static DNS to it (for example, 8.8.8.8 and 8.8.4.4 from Google). This will solve the problem with opening sites when the connection is working.

    Internet distribution with macOS (Catalina, Big Sur, Ventura)

    On MacBook the setup process is simpler than Windows, but there are some nuances. For example, in macOS Ventura Apple has removed the classic interface "Sharing", replacing it with "System Settings → Sharing → Internet Sharing". Step by step instructions:

    1. Connect the Ethernet cable to MacBook and the target device.
    2. Open System Settings → Network and remember the name of the active connection (for example, "Wi-Fi" or "USB 10/100/1000 LAN").
    3. Go to System Preferences → Sharing.
    4. From the left menu select "Shared Internet".
    5. In the field "General connection" indicate your internet source (for example, "Wi-Fi").
    6. In the section "For computers using" mark "Ethernet" (or "Thunderbolt Bridge", if you are using an adapter).
    7. Click "Run" and confirm the action.

    Features for different versions macOS:

    macOS version Required Actions Possible problems
    Catalina (10.15) Use the classic interface System Preferences → Sharing. USB-Ethernet adapters on chips may not be detected Realtek RTL8153.
    Big Sur (11.x) Similar to Catalina, but check permissions in Protection and safety. Error "Failed to activate sharing" when using PPPoE.
    Ventura (13.x) New interface: System Preferences → Sharing → Internet Sharing. Manual configuration required pfctl for some VPNs.

    If, after activating the distribution, the target device does not receive an IP address, run Terminal:

    sudo ifconfig bridge0 create
    

    sudo ifconfig bridge0 addm en0 # замените en0 на ваш Wi-Fi адаптер

    sudo ifconfig bridge0 addm en4 # замените en4 на Ethernet

    sudo ifconfig bridge0 up

    💡

    On macOS, Internet distribution via cable is more stable than via Wi-Fi, since the system automatically optimizes traffic priority for wired connections.

    Internet distribution from Linux (Ubuntu, Debian, Arch)

    In distributions based on Linux Internet distribution is carried out through iptables And dnsmasq. For Ubuntu/Debian do:

    1. Установите необходимые пакеты:
    

    sudo apt update && sudo apt install dnsmasq iptables

    2. Включите IP-форвардинг:

    echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward

    sudo sysctl -w net.ipv4.ip_forward=1

    3. Настройте NAT (замените eth0 на ваш Wi-Fi адаптер, enp0s3 на Ethernet):

    sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

    sudo iptables -A FORWARD -i enp0s3 -o eth0 -j ACCEPT

    4. Запустите DHCP-сервер для раздачи IP-адресов:

    sudo dnsmasq --interface=enp0s3 --dhcp-range=192.168.0.100,192.168.0.200,255.255.255.0,12h

    For Arch Linux additionally install netctl:

    sudo pacman -S netctl dnsmasq
    

    sudo systemctl enable --now dnsmasq

    To keep the rules after a reboot:

    sudo apt install iptables-persistent
    

    sudo netfilter-persistent save

    ⚠️ Attention: In some distributions (for example, Fedora with firewalld) you need to disable the zone public for Ethernet adapter:
    sudo firewall-cmd --zone=trusted --add-interface=enp0s3 --permanent
    

    sudo firewall-cmd --reload

    Solving common problems

    Even with correct settings, errors may occur. Here are the most common ones and how to fix them:

    • 🚫 "No Internet access" on the target device:
      • Check what's on your laptop Properties → IPv4 included "Obtain an IP address automatically".
      • Disable your antivirus (for example, Kaspersky or ESET may block public access).
      • Run on the command line:
        route print
        

        ipconfig /flushdns

    • 🔌 The cable is connected, but the indicators do not light up:
      • Check the cable with a tester or replace it.
      • B Device Manager Update the driver for the Ethernet adapter.
      • For USB-Ethernet adapters, try a different port (for example, USB 3.0 instead of USB 2.0).
    • ⚡ Low speed (less than 100 Mbps):
      • Make sure the cable complies with the standard Cat 5e or higher.
      • B Network Sharing Center turn off "Energy Saving" for Ethernet adapter.
      • If you are using a USB adapter, check that it is compatible with USB 3.0 (blue port).

    For diagnostics, use the commands:

    # Проверка соединения с целевым устройством (замените IP):
    

    ping 192.168.0.100

    # Трассировка маршрута до Google:

    tracert 8.8.8.8

    # Проверка открытых портов:

    netstat -ano | findstr "LISTENING"

    How to check if your provider is blocking Internet distribution?

    Some providers (for example, Beeline or MTS) block general access by MAC address. To check this, connect the laptop directly to the router with a cable and try to distribute the Internet. If it works, the problem is in the Wi-Fi adapter settings. If not, contact support with a request to unlink the MAC address.

    Security: How to protect your network

    Distributing the Internet via cable creates a local network to which third-party devices can connect. To minimize risks:

    • 🔐 Disable "Network Discovery" in Network Sharing Center (Windows).
    • 🛡️ Configure your firewall to block incoming connections:
      netsh advfirewall set allprofiles state on
      

      netsh advfirewall set allprofiles firewallpolicy blockinbound,allowoutbound

    • 🔄 Regularly change the distribution IP range (for example, from 192.168.0.x on 10.0.0.x).
    • 📡 For macOS/Linux use arptables to block unwanted MAC addresses:
      sudo arptables -A INPUT --source-mac ! 00:1A:2B:3C:4D:5E -j DROP

      (replace 00:1A:2B:3C:4D:5E to the MAC address of the target device)

    If you distribute the Internet in a public place (for example, in a hostel or cafe), consider the option with virtual machine:

    1. Install VirtualBox or VMware.
    2. Create a virtual machine with pfSense or OpenWRT.
    3. Set up Internet distribution in it, and turn off all resources on the main system.
    💡

    Using a separate virtual machine for Internet distribution not only increases security, but also allows you to flexibly configure traffic (for example, limit the speed for certain devices).

    FAQ: Frequently asked questions

    Is it possible to distribute the Internet via cable if there is only one Ethernet port on the laptop?

    Yes, but this will require USB-Ethernet adapter (For example, TP-Link UE300 or ASIX AX88179). Connect it to your laptop and use the main Ethernet port for distribution. In the settings, select the USB adapter as the Internet source, and the built-in port for distribution.

    Why is the speed over cable lower than over Wi-Fi?

    This may be due to several factors:

    • 🔌 Low quality cable (e.g. Cat 5 instead of Cat 6).
    • 🖥️ Laptop processor load (check in Task Manager CPU load).
    • 📡 If the Internet source is Wi-Fi, the speed is limited by the bandwidth of the wireless adapter (for example, 802.11n gives a maximum of 300 Mbit/s).
    • 🔧 The function is disabled in the adapter settings "Jumbo Frames" (set MTU=1500).

    To diagnose, run a speed test on the target device via speedtest.net and compare with the performance on the laptop.

    How to distribute Internet from a laptop to Xbox/PlayStation?

    For game consoles, the setup is similar, but there are some nuances:

    1. On your laptop, activate distribution (by any of the described methods).
    2. On your console, go to Settings → Network and select "Manually setting up a connection".
    3. Please indicate:
      • IP address: 192.168.0.100
      • Subnet mask: 255.255.255.0
      • Gateway: 192.168.0.1 (laptop IP)
      • DNS: 8.8.8.8 And 8.8.4.4
  • For Xbox Series X|S disable in network settings "IPv6".
  • If the console does not connect, check that the laptop has Ethernet Properties protocol disabled IPv6.

    Is it possible to distribute the Internet from a laptop to another laptop via cable?

    Yes, but for this:

    • 🔄 Use crossover cable (crossover) or regular Cat 5e (modern adapters support Auto MDI-X).
    • 🖥️ On the second laptop, manually enter an IP address from the same subnet (for example, 192.168.0.2 at the gateway 192.168.0.1).
    • 🔒 Disable firewalls on both devices temporarily to test the connection.

    For stable operation, configure a static route on the second laptop:

    route add 0.0.0.0 mask 0.0.0.0 192.168.0.1
    How to disable Internet distribution without losing connection?

    Depending on the setting method:

    • 🖥️ Mobile hotspot (Windows): Open Settings → Network and Internet → Mobile hotspot and disable the feature.
    • 🍎 macOS: B System settings → Sharing uncheck "Shared Internet".
    • 🐧 Linux: Execute:
      sudo iptables -F
      

      sudo iptables -t nat -F

      sudo systemctl stop dnsmasq

    • 🔧 Network Bridge (Windows): Remove the bridge in Network connections (right click → "Delete").

    After disabling the distribution, the Internet on the laptop will remain active.