BBSA
Honorary Master
- Joined
- Jul 11, 2005
- Messages
- 30,172
- Reaction score
- 28,726
- Location
- People's Republic of South Africa
I'm setting up a Raspberry Pi 5 as my home router with a multi-WAN failover configuration, and I've run into a very strange issue with my primary internet connection.
My Setup:
Router: Raspberry Pi 5, running OpenWrt 24.10.2
Primary WAN (B618): Huawei B618-22d LTE modem.
Backup WAN (B535): Huawei B535 LTE modem (connected via a USB-to-Ethernet adapter to the Pi).
Network Configuration:
OpenWrt Interface Configuration:
mwan3 is installed and configured to use WAN_B618_Primary as preferred (metric 10) and WAN_B535_Backup as backup (metric 20).
The Problem:
I am encountering a very puzzling issue with the WAN_B618_Primary connection:
CRITICAL DETAIL:
If I connect a client device (e.g., my laptop) directly to the B618-22d's LAN port (which then gets an IP from the B618's internal range, though DHCP is off), I am able to successfully SSH to the Raspberry Pi's 192.168.9.2 IP address. This confirms that:
Confirmed that the B618-22d's DHCP server is disabled.
Question:
Given that SSH to the Pi via the B618-22d works, but ping from the Pi to the B618-22d fails (even with the B618's firewall disabled), what else could be preventing the Pi from reaching its primary gateway via ICMP? It seems very inconsistent. Are there any other specific settings on the B618 or OpenWrt that I should investigate for this behavior?
Any insights or diagnostic commands would be greatly appreciated!
My Setup:
Router: Raspberry Pi 5, running OpenWrt 24.10.2
Primary WAN (B618): Huawei B618-22d LTE modem.
Backup WAN (B535): Huawei B535 LTE modem (connected via a USB-to-Ethernet adapter to the Pi).
Network Configuration:
- OpenWrt LAN: 192.168.8.1/24, DHCP server enabled.
- Huawei B618-22d: IP Address 192.168.9.1, DHCP server disabled. Connected to Pi's eth0.
- Huawei B535: IP Address 192.168.10.1, DHCP server disabled. Connected to Pi's eth1.
OpenWrt Interface Configuration:
Code:
WAN_B618_Primary Interface:
Protocol: Static address
Device: eth0
IPv4 address: 192.168.9.2
IPv4 netmask: 255.255.255.0
IPv4 gateway: 192.168.9.1
Gateway Metric: 10
Firewall Zone: wan
WAN_B535_Backup Interface:
Protocol: Static address
Device: eth1
IPv4 address: 192.168.10.2
IPv4 netmask: 255.255.255.0
IPv4 gateway: 192.168.10.1
Gateway Metric: 20
Firewall Zone: wan
mwan3 is installed and configured to use WAN_B618_Primary as preferred (metric 10) and WAN_B535_Backup as backup (metric 20).
The Problem:
I am encountering a very puzzling issue with the WAN_B618_Primary connection:
- From the Raspberry Pi's SSH console, I CANNOT ping 192.168.9.1 (the B618 modem).
- However, from the Raspberry Pi's SSH console, I CAN ping 192.168.10.1 (the B535 backup modem) without any issues.
CRITICAL DETAIL:
If I connect a client device (e.g., my laptop) directly to the B618-22d's LAN port (which then gets an IP from the B618's internal range, though DHCP is off), I am able to successfully SSH to the Raspberry Pi's 192.168.9.2 IP address. This confirms that:
- The physical cable connection between the B618 and the Pi's eth0 is good.
- The Pi's eth0 interface is up, configured correctly on the 192.168.9.x subnet, and is able to receive and respond to traffic (like SSH) originating from the B618's network.
Confirmed that the B618-22d's DHCP server is disabled.
Question:
Given that SSH to the Pi via the B618-22d works, but ping from the Pi to the B618-22d fails (even with the B618's firewall disabled), what else could be preventing the Pi from reaching its primary gateway via ICMP? It seems very inconsistent. Are there any other specific settings on the B618 or OpenWrt that I should investigate for this behavior?
Any insights or diagnostic commands would be greatly appreciated!