HA unresponsive after setting up two network interfaces (WLAN/ETH; Guest network / Home network)

Hi, I have the following setup for various reasons and had extensive fights with AI to maintain my choices already:

  • New HAOS-based HomeAssistant on a Mini-PC
  • Ethernet connection to my FritzBox in my home network (featuring one device because I could plug it into a repeater, but not meat for devices) via DHCP
  • WLAN stick connecting to Fritz Guest WLAN, with communication between devices enabled via DHCP
  • All other devices for HomeAssistant are ont he Guest WLAN and work well when I join the Guest network via LAN (before I got the WLAN stick), but makes the HA-interface unavailable unless I connect my computer to the Guest network as well.

I just received the WLAN Stick, plugged it in and configured using it via ha network

Things seemed to work for some minutes and then broke down, the HA interface on port 80 becoming unavailable. I have not tried pings yet. I do not yet have SSL access to HA.

What I tried, after advice from Gemini and various readings:

  • defining network metrics using ha network to prioritise the eth interface
  • use ha network to force not setting a default gateway on the wlan interface
  • reconfigure the router to allow WPA2 only authentification on its network rather than WPA2/WPA3 to eliminate hardware incompatibility issues
  • various restarts with and without the WLAN stick plugged to change settings with a stable connection

My next attempt will be to directly configure network manager by adding the following two files to a CONFIG USB-key under ‘network’:

eth file:

[connection]
id=LAN
type=802-3-ethernet
autoconnect=true

[ipv4]
method=auto
gateway=192.168.0.1
routes=192.168.0.0/24,0.0.0.0/0
route-metric=100

[ipv6]
method=auto
addr-gen-mode=stable-privacy
gateway=NOT POSTED PUBLICLY
routes=::/0
route-metric=100

[802-3-ethernet]
mac-address=NOT POSTED PUBLICLY

wlan file:

[connection]
id=WLAN
type=802-11-wireless
autoconnect=true

[802-11-wireless]
ssid=IoT-Guest_WIFI
mode=infrastructure
mac-address=NOT POSTED PUBLICLY
security=802-11-wireless-security

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=NOT POSTED PUBLICLY

[ipv4]
method=auto
routes=192.168.179.0/24
never-default=true
route-metric=999

[ipv6]
method=ignore`

I did not try this yet, but Gemini tried to convince me to give up entirely of my plan and put everything into the same, router-managed network. Now my questions:

  • Am I on the right track thinking there might be routing issues?
  • Gemini warns me that doing this at NetworkManager-level will break with any HAOS update. Can I prevent this or store the config in a convenient place to restore it after updates?
  • Might there be other reasons for HA becoming unresponsive that I might not have considered (internal crash, errer in the web server part of HAOS, …? How can I know?

Any insight is welcome! I am short before considering to switch to a ubuntu server + Docker-contained HomeAssistant setup just because of these network issues.

Thanks!

Little disclaimer: I quote I tried things conversing with AI not to incense it but to show I tried to do some research, and I realise that any other answer from it is just wrong or pointless, so this is why I come to the community with some more extensive picture.

Enterprise Smart Home Syndrome
HA is designed to work on a flat network.
Have HA on the same network segment that the devices are on OR determine what protocals are missing and provide them. Since every case is different and you almost need to be a networking expert to understand what’s missing (I know I don’t know) then I suggest the first choice.

Get claude code and give him full access, or try

Philippe, I’m sorry I’m going to pick on this post but it’s happening enough I hope it gets picked up in our search…

no AI. INCLUDING Claude is infallible. And in fact HA is a fast moving OSS project that in most cases what most AI is trained on is flat out wrong and at best 18 months out of date.

This is one of those cases. The sheer amount of incorrect data on the internet v what actually works in current builds of HA is astoundingly wrong…

So guess what AI happily offers up… Total garbage. And itlll argue a perfectly valid nonsense point.

That part is not your fault. But what most people need to remember it means you cant blindly trust it and why I STILL do not allow a code agent blind access to my own install.

So I would suggest if you or anyone else for that matter would like to be halfway successful getting an ai to answer anything correct about HA… Include In your dataset that

information that conflicts with the Official HA docs at:
including the OFFICIAL HA development docs at:
or by read g the official build of HA at :
are deprioritized or ignored as sources and should not be used to answer this question.
Information from the HA community site should not be considered fact unless cross checked to current HA code. (current as what is on main in the HA github)

Because if you don’t you have about a 50% shot at it being wrong or even destructively wrong.

Ai is only as good as it’s sources people… Yes even Claude code and I feed that to my OWN code agents. On purpose.

Sorry back tk the original ask.

See what Sir G said. Ha was designed for flat network, you’re going to be a salmon upstream. It’s doable but takes work.

Hi all,
Thanks for the insights and I entirely feel now what @NathanCu says - I wouldn’t say it’s 50% garbage, but a sizable percentage, and I constantly ask back and cross-check for errors. AI use is no substitute for your own intelligence, but it can come handy if coding is not what I usually do (or check for spelling mistakes in code).

Long story short: I seem to have found a fix for my issue using the NetworkManager profiles on a CONFIG-USB key. At least, HA works fine with almost all devices on one guest Wifi and web interface/internet access on LAN. I will come back here to paste my configuration if anyone is interested. It somehow still required a couple of hard and soft reboots with and without USB key so that my settings stick, and I have no explanation for that.
The issue probably had multiple dimensions:

  1. I activated the Fritzbox integration – which I suspect of having messed up my network configuration, as I have two other Fritz repeaters in a Mesh, but realised there were not switched to Mesh-mode any longer. So, probably the WLAN part was assigned conficting IPs and routes depending on which WLAN access point it connected to. I had to fix the issue natively in Fritz (i.e. resetting all repeaters and reinitialising them with my router’s info again)

  2. HA possibly was confused about the default route. On LAN, it sat at 192.168.0.X, on WLAN on 192.168.179.X, both having a default route 0.0.0.0 set, but all traffic for the 192.168.0.X part going to the 192.168.179.X network was blocked because of the guest-WLAN rules. This is why explicitly doing all I can on the routing table using the CONFIG stick and NetworkManager (never-default=true) and route metrics were probably essential to the solution.

Happy that this works now, now I’m in the mess of setting up Zigbee devices who do not what to mesh properly, but that is a different story and shall be told another time.

I’m not quite sure how the DHCP part is related, but your post kind of reminded me of an issue I had in January, although there’s not enough details provided in your post to know.

Did you look at your Supervisor logs?

Regardless, thought I’d mention this just in case. Mine was also triggered by bringing Wifi into the network (but not on purpose) along with having an mDNS reflector set up, and then HAOS became unavailable. (Just guessing, but maybe the FritzBox attempts to do mDNS reflection?)

As promised, here the CONFIG/network files which made it work for me:
network/eth

id=LAN
type=802-3-ethernet
autoconnect=true

[ipv4]
method=auto
route-metric=100

[ipv6]
method=auto
route-metric=100

[802-3-ethernet]
mac-address=YOUR_MAC_ADDRESS

and the network/wlan file

[connection]
id=WLAN
type=802-11-wireless
autoconnect=true

[802-11-wireless]
ssid=YOUR_SSID
mode=infrastructure

[802-11-wireless-security]
key-mgmt=wpa-psk
psk=YOUR_PASSWORD
[ipv4]
method=auto
never-default=true
route-metric=999

[ipv6]
method=ignore

Maybe it would work with IPv6 as well, but I don’t know how necessary it is to change/add additional complexity.
Beware of the end of lines when editing the files (only UNIX format)