Using Huawei HG8145V5 as a Wired Switch and Wireless Access Point

Abstract: Resolve IP conflicts and double NAT by configuring the Huawei HG8145V5 as a wired switch and wireless access point using LAN ports with DHCP disabled.

Created: 2026-09-07 by

To configure the Huawei HG8145V5 as a wired switch and wireless access point, disable its DHCP server, connect your main router to one of its LAN ports (not the WAN/Internet port), and set the HG8145V5 to an IP address on the same subnet as your primary network. This setup allows devices connected to the HG8145V5 to receive IP addresses from your main router while utilizing the device’s Wi-Fi and additional Ethernet ports.

Understanding the Network Topology

When you repurpose a router like the Huawei HG8145V5 into an access point, you are essentially converting it from a standalone gateway into a bridging device. The primary goal is to extend your existing network infrastructure without creating a separate sub-network or double NAT scenario. In this configuration, the main router retains control over IP address distribution, routing, and firewall rules, while the HG8145V5 simply passes data through its Ethernet switches and broadcasts the Wi-Fi signal. It is crucial to understand that the physical connection points matter significantly. Unlike standard router setups where the internet cable plugs into the WAN port, an access point mode requires the incoming network cable to plug directly into a LAN port. This ensures that the traffic flows through the internal switch rather than being processed by the router’s NAT engine. If you incorrectly use the WAN port, the HG8145V5 will attempt to create its own private network, isolating devices connected to it from your main local area network. For more details on managing multiple routers in a complex setup, see How to setup a second router behind a different router without changing the operating mode.

Pre-Configuration Steps

Before connecting the HG8145V5 to your active network, it is best practice to configure it independently. This prevents conflicts with your existing network settings and allows you to access the administrative interface easily. First, ensure the HG8145V5 is powered off or disconnected from any network cables. Connect a computer directly to one of the LAN ports of the HG8145V5 using an Ethernet cable. Alternatively, you can connect via Wi-Fi if you know the default SSID and password printed on the device label. Next, power on the device. Open a web browser and navigate to the default management IP address, which is typically 192.168.100.1 for Huawei ONT/Router devices. Log in using the default credentials, often found on the sticker at the bottom of the device. Common defaults include admin for both username and password, or specific codes provided by your ISP. If you have previously changed these credentials, you may need to reset the device to factory settings by holding the reset button for about 10 seconds until the lights flash. Once logged in, verify that you have full administrative access. You will need this level of permission to modify network settings and disable critical services like DHCP.

Configuring the Local Area Network Settings

The most critical step in this process is disabling the Dynamic Host Configuration Protocol (DHCP) server on the HG8145V5. If DHCP remains enabled, the HG8145V5 will try to assign IP addresses to devices on your main network, causing IP conflicts and connectivity issues. Navigate to the network settings section within the admin panel. Look for "LAN Settings" or "Local Network." Here, you will find the option to enable or disable the DHCP server. Select "Disable" or "Off." Save the changes immediately. Note that disabling DHCP might temporarily disconnect your management session if you are connected via Wi-Fi, so using a wired connection is recommended during this phase. After disabling DHCP, you must assign a static IP address to the HG8145V5 itself. This IP should be within the same subnet as your main router but outside the range of IPs assigned by your main router’s DHCP pool. For example, if your main router uses 192.168.1.1 and assigns IPs from 192.168.1.100 to 192.168.1.200, you could set the HG8145V5 to 192.168.1.2. Ensure the Subnet Mask matches your main network (usually 255.255.255.0) and set the Default Gateway to the IP address of your main router (192.168.1.1). If you encounter issues with network segmentation, refer to Configuring a New Router with Different Networks for broader context on network alignment.

Setting Up Wireless Parameters

Now that the wired networking aspects are configured, adjust the wireless settings to match your existing network environment. Navigate to the Wi-Fi or Wireless settings section. You can choose to keep the existing SSID and password identical to your main router to allow devices to roam seamlessly, or you can create a distinct SSID to differentiate between the two access points. Ensure that the wireless channel is set to a non-overlapping channel relative to your main router’s Wi-Fi to reduce interference. For 2.4 GHz networks, channels 1, 6, and 11 are standard. For 5 GHz networks, select a channel that does not conflict with adjacent APs. Save these settings.

Physical Connection and Final Testing

With all configurations saved, disconnect the computer from the HG8145V5. Take the Ethernet cable coming from your main router’s LAN port and plug it into one of the LAN ports on the HG8145V5. Do not use the WAN/Internet port. Power cycle the HG8145V5 if necessary to ensure all settings take effect. Once the device is back online, connect a test device (laptop or smartphone) to the HG8145V5 via Wi-Fi or Ethernet. Verify that the device receives an IP address from your main router (check that the gateway is your main router’s IP, not 192.168.100.1). Test internet connectivity and local resource access to confirm successful integration. If you experience slow speeds after this setup, check Troubleshooting Slow Download Speed in Wi-Fi Client + AP Configuration for optimization tips.

Frequently Asked Questions

Can I use the WAN port on the HG8145V5 for this setup?

No, you must use a LAN port for the incoming cable from your main router. Using the WAN port creates a secondary subnet and enables double NAT, which breaks local network communication between devices on the HG8145V5 and your main network.

What happens if I forget the HG8145V5's new IP address?

If you cannot locate the device on your network, perform a hard factory reset by holding the reset button for 10 seconds. This restores the default IP (192.168.100.1) and re-enables DHCP, allowing you to reconfigure it from scratch.

Will devices automatically switch between my main router and the HG8145V5?

Not entirely. While they will be on the same network, automatic roaming depends on Wi-Fi client support and matching SSIDs/passwords. To improve roaming, ensure both access points use the same security type (WPA2/WPA3) and consider adjusting transmit power to avoid excessive overlap.

Does this configuration affect port forwarding rules on my main router?

No, port forwarding rules remain on your main router. Since the HG8145V5 acts as a transparent bridge, any port forwarded to a specific IP address on your main network will still work, regardless of whether the device is connected to the main router or the HG8145V5.

Is there a performance penalty for using a consumer router as an access point?

There may be a slight reduction in throughput compared to a dedicated enterprise access point due to CPU limitations and shared memory. However, for typical home usage, the difference is negligible. Ensure you use Cat5e or higher Ethernet cables to maintain gigabit speeds.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More