Home General Stupid Mistake: The Hidden Network Conflict!

Stupid Mistake: The Hidden Network Conflict!

by Behrad
132 views

Having a smart home and running your own infrastructure is all fun until….

As I’ve wrote before, I’m running Home Assistant at home and running multiple Dockers on my Raspberry Pi4B. It’s always fun to play around and connect things together, automate it and make your life easier. However there are times when you, accidentally, break things and then the trouble starts.

This happened to me the other day. So, I was playing around with some new Dockers in my home lab. After tinkering with them for a while I deleted them and went to the gym. When I got back I noticed that some of the integrations within Home Assistant weren’t running any more. This is the moment when you start thinking and wondering what you’ve done and start to troubleshoot.

After a long time of troubleshooting I fixed some of them but still couldn’t find the root cause. At that moment the integration which didn’t work had 1 thing in common, they were all in my IoT VLAN. I didn’t think about a routing issue at first since some other integrations were connected

to the same IoT network but were still working. Also I was sure that I didn’t change anything to my networks and/or routings, did I?

A couple of hours later, when I was actually going to bed, it suddenly I asked myself: “Could it be that those containers created some networks?” I logged in Portainer and checked the Network Section. It was this moment when I realized that indeed some networks were created when I used the docker compose to create those containers earlier! One of the networks had the same IP segment as my IoT VLAN and upon deleting that, everything started working again! OUCH! 😳

So yeah, having a smart home is all fun and game until it doesn’t work and you start spending hours figuring out why the hell it doesn’t work! This is a lesson learned for me to simply delete everything after tinkering around with new stuff! This one I’ll not forget obviously! 😀

You may also like

Leave a Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More