Communicating Two Subnets: ISP Modem Router (Huwawei EG8145V5) and Xiaomi AX3000

Abstract: Resolve double NAT isolation to enable direct communication between devices on Huawei and Xiaomi router subnets.

Created: 2026-10-01 by

To enable communication between two subnets using a Huawei EG8145V5 and a Xiaomi AX3000, configure the Xiaomi as a secondary router in LAN-to-LAN mode. Assign the Xiaomi a static IP on the main subnet, disable its DHCP server, and connect via LAN ports to bridge the networks while maintaining distinct routing tables.

Understanding the Network Topology

When connecting two routers from different manufacturers like Huawei and Xiaomi, the goal is often to extend Wi-Fi coverage or create separate network segments without losing connectivity. The default setup usually involves connecting the WAN port of the secondary router to the LAN port of the primary router. However, this creates double NAT, which isolates devices on the secondary network from those on the primary network.

To allow direct communication between devices on both subnets, you must avoid Double NAT. This requires treating the Xiaomi AX3000 not as a standalone gateway, but as an access point with routing capabilities. By configuring the LAN interfaces directly, you ensure that all devices receive IP addresses from the same DHCP pool (managed by the Huawei) and can see each other regardless of which physical router they are connected to.

Why Standard WAN Configuration Fails for Subnet Communication

In a standard WAN-to-LAN configuration, the Huawei EG8145V5 assigns a private IP range to the Xiaomi’s WAN interface. The Xiaomi then creates its own subnet behind it. Traffic originating from the Xiaomi’s LAN cannot easily reach the Huawei’s LAN because the routing tables do not share knowledge of each other’s internal ranges. This isolation is useful for security but problematic when you need file sharing, printer access, or local streaming between the two groups of devices.

Configuring the Xiaomi AX3000

The first step is to prepare the Xiaomi AX3000 before connecting it to the live network. You should perform these steps while the Xiaomi is disconnected from the Huawei router to prevent IP conflicts during the initial setup.

  1. Access the Admin Interface: Connect a computer directly to one of the LAN ports of the Xiaomi AX3000. Open a browser and navigate to the default management address, typically 192.168.31.1. Log in with your administrator credentials.
  2. Change the LAN IP Address: Navigate to the Network Settings or LAN settings section. Change the IP address to an unused address within the Huawei’s subnet. For example, if the Huawei uses 192.168.1.x, set the Xiaomi to 192.168.1.2. Ensure the subnet mask matches the primary router (usually 255.255.255.0). Save the changes and log back in using the new IP address.
  3. Disable DHCP Server: Go to the DHCP settings menu and turn off the DHCP server function. This is critical. If the Xiaomi still hands out IPs, devices will have incorrect gateway and DNS settings, leading to connectivity issues. The Huawei EG8145V5 will remain the sole source of IP addresses.
  4. Configure Wireless Settings: Set up your desired SSID and password. You can use the same name and password as the Huawei network for seamless roaming, or a different name if you prefer to manually select which router to join.

By disabling DHCP and assigning a static IP on the main subnet, the Xiaomi becomes a transparent bridge for traffic routing, allowing devices on both sides to communicate as if they were on the same switch.

Physical Connection and Final Setup

Once the Xiaomi AX3000 is configured, you need to connect it to the Huawei EG8145V5 correctly. Do not use the WAN (Internet) port on the Xiaomi. Instead, use any available LAN port on the Xiaomi.

  • Take an Ethernet cable and plug one end into a LAN port on the Huawei EG8145V5.
  • Plug the other end into a LAN port on the Xiaomi AX3000.

This LAN-to-LAN connection ensures that the data frames enter the Xiaomi’s switch fabric rather than going through its router processor for NAT translation. Devices connected to the Xiaomi will now request IP addresses from the Huawei, and their traffic will be routed based on the Huawei’s routing table.

Verifying Connectivity

After the physical connection is established, test the communication. Connect a device to the Xiaomi’s Wi-Fi or LAN port and try to ping an IP address on the Huawei’s network. Conversely, try to access a shared folder on a Huawei-connected device from a Xiaomi-connected device. If successful, you have achieved subnet bridging.

If you encounter issues, verify that the IP address assigned to the Xiaomi does not conflict with another device. Also, check that no firewall rules on the Huawei EG8145V5 are blocking incoming connections from the newly added subnet segment, although since they are on the same logical subnet, basic ICMP and SMB traffic should pass freely.

Troubleshooting Common Issues

Even with correct configuration, users may face intermittent connectivity problems. One common cause is IP address exhaustion. Since the DHCP server is centralized on the Huawei, ensure its pool is large enough to cover all devices across both routers. Another issue arises if the Xiaomi’s firmware updates reset the DHCP setting. It is advisable to note down your configuration changes so you can reapply them if necessary.

For more advanced routing needs, such as directing specific traffic flows, you might explore how NAT rules affect cross-computer traffic, as detailed in our guide on How Do NAT Rules on One Computer Affect Traffic on Another?. Additionally, if you find that the single ISP modem cannot handle the load of multiple upstream connections, consider reviewing strategies for Setting Up Multiple Upstream Routers: A Comprehensive Guide.

Frequently Asked Questions

Can I use the WAN port on the Xiaomi for better security?

Using the WAN port creates a separate subnet and enables Double NAT, which isolates devices from each other. While this improves security segmentation, it prevents direct communication like file sharing or printer access between the two networks. For full interoperability, LAN-to-LAN is required.

What happens if I forget to disable DHCP on the Xiaomi?

If DHCP remains enabled, the Xiaomi will assign IP addresses that point to itself as the gateway. Devices will lose internet access because the Xiaomi does not have a route to the internet unless properly configured for NAT. They also risk IP conflicts if the Huawei tries to assign the same address.

Does this setup support IPv6?

Yes, provided both the Huawei EG8145V5 and the Xiaomi AX3000 support IPv6 and have it enabled in their respective settings. The LAN-to-LAN connection will pass IPv6 prefixes transparently, allowing devices on both sides to obtain global IPv6 addresses directly from the ISP.

How do I manage the Xiaomi router after disabling DHCP?

You can still access the admin interface by entering the static IP address you assigned earlier (e.g., 192.168.1.2) into a web browser. Ensure your computer is on the same subnet to reach this address. This allows you to update firmware or change Wi-Fi settings at any time.

Will this configuration work with other Xiaomi models?

Most modern Xiaomi routers follow similar logic for disabling DHCP and changing LAN IPs. However, menu names may vary slightly between firmware versions. Always look for the "DHCP Server" toggle in the Network settings and ensure the LAN IP is outside the DHCP lease range of the main router.

Is there a risk of IP conflicts in this setup?

Risks are minimal if you assign the Xiaomi a static IP that is outside the DHCP pool range of the Huawei. For instance, if the Huawei DHCP range is 192.168.1.100 to 192.168.1.200, setting the Xiaomi to 192.168.1.2 avoids overlap. Always document these assignments to prevent future conflicts.

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