I would like to disable IPv6 on HAOS or disable broadcasting because the IPv6 address of Home Assistant is sending requests EVERY second. As you can see on my firewall. This generates a huge amount of packets. How can I do this?
I don’t think you have a clear idea on the number of tcp/ip packets going through your network every seconds
5353/udp is mDNS. You can disable it in HA by not using default_config: in your configuration.yaml but enumerating all the services you need, and Zeroconf is the one generating those packets.
You should be able to deactivate IPv6 in the Settings → System → Network, but you will then also make Matter and Thread unable to work.
Besides that the future is going towards IPv6, so you will have to tackle that beast in the future.
IPV6 is not disabled, as you have an IP. “FE80” addresses (link-local) are non-routed addresses that always exists on any ipv6 enabled interface.
That “disabled” pertains to DHCP, I think.
I think the fe80 is related to docker bridge, where the “public” local IP is also residing.
IPv6 might be disabled in HA, but the docker bridge might still have it enabled to support addons.
It is really just a guess though, because the IPv6 support in HA is a bit half-baked.
At the end of the day, you can only completely enable/disable IPV6 at the OS or docker level. Whether HA or addons are actually using it is another story but clearly there is IPV6 support up to docker level, here.
A query to [ff02:fb] :5535 is a standard mDNS lookup on an Ipv6 network. THIS IS NORMAL TRAFFIC stop trying to block it.
No. It’s not huge. On the grand scheme of TCP/IP. One packet per second (an MDNS lookup is miniscule And it’s your mDNS lookup. It’s doing what it’s supposed to do.
fe80 is used for a lot of other stuff too, like DAD (Dupplicate Address Detection) checks in relation to SLAAC and auto-configuration of IPv6 addresses.
FFXX indicates its a multicast address and FF02:: in general is multicast of “Link Local” Scope.
FF02::FB is indeed designated for mDNSv6.
FF02::C is SSDP
FF02::1:3 Link-Local Multicast Name Resolution (an older method vs. mDNS)
FE80::/64 is unicast, and the scope of the addressing is “Link Local”,
Link Local Scope - One can think of as a Layer 2 LAN or if one is using VLANs, its a single VLAN. So multicast address of Link Local Scope are not to traverse beyond the LAN/VLAN, and unicast addresses are unique only within the LAN/VLAN.
BTW, I kind of agree that this is not that much traffic.
As for disabling IPv6, nmcli is usually the tool of choice for HAOS, but its a bit of work to use it, and I’ve found some of the settings don’t persist across reboots anyway.
Link local scopes can not really be compared to anything IPv4 or VLAN/LAN.
It is a unique feature of IPv6 and that fact that every interface will have a FE80 link local scope, but might or might not share the subnet they are connected to will confuse people coming from an IPv4 only POV.
fe80 will still hit the firewall, because any interface connected to an IPv6 network will have have an address on that network.
And some routers see the ff02 as a different subnet than fe80, so it is thinking it is supposed to route it.
The firewall is usually in front of the router, even though they are physically one device.
I have Home Assistant running on my Proxmox server, and I can’t disable IPv6 because I need it for another project.
I dislike this broadcast because it’s unnecessary for me, and it’s the only device that appears in my firewall blocks, thus filling up my logs.
Why can’t I disable the broadcast? Why is it being blocked without giving me the option to choose?
It’s your network. You do what you want at this point you know its not a problem and it’s not hurting anyone or anything.
Ive been doing IT ops for well over 20 years at this point… Two things you try to avoid or it leads to pain.
Putting configuration in place to work around a non-issue - it’s just busy work.
Creating nonstandard configurations because inevitably sometime on the future - you need that thing and you forget that a few years ago you configured something that breaks the config and developers RARELY test non-standard configuration so you may also be opening yourself up to random bugs because things expect it to be there.
And FINALLY it’s only a log in the router.
A that said. If you block it do I expect you to have issues. Probably not - but you need to be aware of the ramifications of doing so. Future troubshooting is MUCH easier when you know you don’t have no standard configurations.
After googling around some, I couldn’t find why a firewall would flag IPv6 packets it received with ff02 link local multicast destinations with source fe80 link locals as they shouldn’t be forwarded anyway. But it does seem that others have complained about their firewalls do indeed log these. One solution I saw hints at setting rules in the firewall that don’t log these particular events.