mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 23:36:51 +00:00
Fix remarks from PR 13291 (#13306)
This commit is contained in:
parent
b5cd87e3b4
commit
0b39bd73da
@ -105,28 +105,13 @@ Home Assistant should be on the same network as the devices for mDNS and UPnP di
|
||||
When running Home Assistant Core in a [Docker container](/docs/installation/docker/) command line option `--net=host` or the compose file equivalent `network_mode: host` must be used to put it on the host's network, otherwise mDNS and UPnP will not work.
|
||||
|
||||
If mDNS is still not working:
|
||||
- make sure there are no firewall rules blocking mDNS traffic. mDNS relies on sending and receiving UDP multicast packets on port 5353.
|
||||
- mDNS traffic may not be forwarded correctly between the wired and wireless interfaces of a Wi-Fi AP or router
|
||||
- Make sure there are no firewall rules blocking mDNS traffic. mDNS relies on sending and receiving UDP multicast packets on port 5353.
|
||||
- mDNS traffic may not be forwarded correctly between the wired and wireless interfaces of a Wi-Fi AP or router.
|
||||
|
||||
#### mDNS forwarding
|
||||
If it's not possible to have Home Assistant and the devices on the same network, mDNS forwarding can be enabled to allow mDNS discovery between networks.
|
||||
If it's not possible to have Home Assistant and the devices on the same network, mDNS forwarding may allow mDNS discovery between networks.
|
||||
|
||||
mDNS forwarding is a configurable option in some routers. It can also be called mDNS reflector or mDNS repeater, depending on the manufacturer.
|
||||
|
||||
For a Linux server acting as router, set up avahi-reflector on the server to make mDNS work between the networks:
|
||||
|
||||
{% raw %}
|
||||
```text
|
||||
# Install the Avahi-daemon
|
||||
sudo apt-get install avahi-daemon
|
||||
# Turn on the reflector. Go into /etc/avahi/avahi-daemon.conf and change the reflector section to:
|
||||
[reflector]
|
||||
enable-reflector=yes
|
||||
reflect-ipv=no
|
||||
# (re)start the Avahi daemon to reload config
|
||||
sudo service avahi-daemon restart
|
||||
```
|
||||
{% endraw %}
|
||||
mDNS forwarding is a configurable option in some routers. It can also be called mDNS reflector or mDNS repeater, depending on the manufacturer.
|
||||
|
||||
### Windows
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user