List more private and link-local IP networks 
diff --git a/homeassistant/util/network.py b/homeassistant/util/network.py
index 87077a0eb0a2..7d0d6e99639c 100644
--- a/homeassistant/util/network.py
+++ b/homeassistant/util/network.py
@@ -14,14 +14,21 @@
 
 # RFC6890 - Address allocation for Private Internets
 PRIVATE_NETWORKS = (
-    ip_network("fd00::/8"),
     ip_network("10.0.0.0/8"),
     ip_network("172.16.0.0/12"),
     ip_network("192.168.0.0/16"),
+    ip_network("fd00::/8"),
+    ip_network("::ffff:10.0.0.0/104"),
+    ip_network("::ffff:172.16.0.0/108"),
+    ip_network("::ffff:192.168.0.0/112"),
 )
 
 # RFC6890 - Link local ranges
-LINK_LOCAL_NETWORK = ip_network("169.254.0.0/16")
+LINK_LOCAL_NETWORKS = (
+    ip_network("169.254.0.0/16"),
+    ip_network("fe80::/10"),
+    ip_network("::ffff:169.254.0.0/112"),
+)
 
 
 def is_loopback(address: IPv4Address | IPv6Address) -> bool:
@@ -30,18 +37,18 @@ def is_loopback(address: IPv4Address | IPv6Address) -> bool:
 
 
 def is_private(address: IPv4Address | IPv6Address) -> bool:
-    """Check if an address is a private address."""
+    """Check if an address is a unique local non-loopback address."""
     return any(address in network for network in PRIVATE_NETWORKS)
 
 
 def is_link_local(address: IPv4Address | IPv6Address) -> bool:
-    """Check if an address is link local."""
-    return address in LINK_LOCAL_NETWORK
+    """Check if an address is link-local (local but not necessarily unique)."""
+    return any(address in network for network in LINK_LOCAL_NETWORKS)
 
 
 def is_local(address: IPv4Address | IPv6Address) -> bool:
-    """Check if an address is loopback or private."""
-    return is_loopback(address) or is_private(address)
+    """Check if an address is on a local network."""
+    return is_loopback(address) or is_private(address) or is_link_local(address)
 
 
 def is_invalid(address: IPv4Address | IPv6Address) -> bool:
diff --git a/tests/util/test_network.py b/tests/util/test_network.py
index 4f372e5e1a7d..7339b6dc51d6 100644
--- a/tests/util/test_network.py
+++ b/tests/util/test_network.py
@@ -30,7 +30,9 @@ def test_is_private():
 def test_is_link_local():
     """Test link local addresses."""
     assert network_util.is_link_local(ip_address("169.254.12.3"))
+    assert network_util.is_link_local(ip_address("fe80::1234:5678:abcd"))
     assert not network_util.is_link_local(ip_address("127.0.0.1"))
+    assert not network_util.is_link_local(ip_address("::1"))
 
 
 def test_is_invalid():
@@ -43,7 +45,13 @@ def test_is_local():
     """Test local addresses."""
     assert network_util.is_local(ip_address("192.168.0.1"))
     assert network_util.is_local(ip_address("127.0.0.1"))
+    assert network_util.is_local(ip_address("fd12:3456:789a:1::1"))
+    assert network_util.is_local(ip_address("fe80::1234:5678:abcd"))
+    assert network_util.is_local(ip_address("::ffff:192.168.0.1"))
     assert not network_util.is_local(ip_address("208.5.4.2"))
+    assert not network_util.is_local(ip_address("198.51.100.1"))
+    assert not network_util.is_local(ip_address("2001:DB8:FA1::1"))
+    assert not network_util.is_local(ip_address("::ffff:208.5.4.2"))
 
 
 def test_is_ip_address():

<!--
  You are amazing! Thanks for contributing to our project!
  Please, DO NOT DELETE ANY TEXT from this template! (unless instructed).
-->

## Proposed change
<!--
  Describe the big picture of your changes here to communicate to the
  maintainers why we should accept this pull request. If it fixes a bug
  or resolves a feature request, be sure to link to that issue in the
  additional information section.
-->

The list of private networks was missing IPv4 ones mapped to IPv6, and no IPv6 addresses were recognized as link-local. This made local-only accounts unusable on IPv6-capable networks with no IPv6 DHCP server.

## Type of change
<!--
  What type of change does your PR introduce to Home Assistant?
  NOTE: Please, check only 1! box!
  If your PR requires multiple boxes to be checked, you'll most likely need to
  split it into multiple PRs. This makes things easier and faster to code review.
-->

- [ ] Dependency upgrade
- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New integration (thank you!)
- [ ] New feature (which adds functionality to an existing integration)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests

## Checklist
<!--
  Put an `x` in the boxes that apply. You can also fill these out after
  creating the PR. If you're unsure about any of them, don't hesitate to ask.
  We're here to help! This is simply a reminder of what we are going to look
  for before merging your code.
-->

- [x] The code change is tested and works locally.
- [x] Local tests pass. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
- [x] I have followed the [development checklist][dev-checklist]
- [x] The code has been formatted using Black (`black --fast homeassistant tests`)
- [x] Tests have been added to verify that the new code works.

The integration reached or maintains the following [Integration Quality Scale][quality-scale]:
<!--
  The Integration Quality Scale scores an integration on the code quality
  and user experience. Each level of the quality scale consists of a list
  of requirements. We highly recommend getting your integration scored!
-->

- [ ] No score or internal
- [ ] 🥈 Silver
- [ ] 🥇 Gold
- [ ] 🏆 Platinum

<!--
  This project is very active and we have a high turnover of pull requests.

  Unfortunately, the number of incoming pull requests is higher than what our
  reviewers can review and merge so there is a long backlog of pull requests
  waiting for review. You can help here!
  
  By reviewing another pull request, you will help raise the code quality of
  that pull request and the final review will be faster. This way the general
  pace of pull request reviews will go up and your wait time will go down.
  
  When picking a pull request to review, try to choose one that hasn't yet
  been reviewed.

  Thanks for helping out!
-->

To help with the load of incoming pull requests:

- [ ] I have reviewed two other [open pull requests][prs] in this repository.

[prs]: https://github.com/home-assistant/core/pulls?q=is%3Aopen+is%3Apr+-author%3A%40me+-draft%3Atrue+-label%3Awaiting-for-upstream+sort%3Acreated-desc+review%3Anone+-status%3Afailure

<!--
  Thank you for contributing <3

  Below, some useful links you could explore:
-->
[dev-checklist]: https://developers.home-assistant.io/docs/en/development_checklist.html
[manifest-docs]: https://developers.home-assistant.io/docs/en/creating_integration_manifest.html
[quality-scale]: https://developers.home-assistant.io/docs/en/next/integration_quality_scale_index.html
[docs-repository]: https://github.com/home-assistant/home-assistant.io
