From 0b39bd73da09b11f4f47afe4775166786d09e01c Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 5 May 2020 13:41:03 +0200 Subject: [PATCH] Fix remarks from PR 13291 (#13306) --- source/_integrations/discovery.markdown | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/source/_integrations/discovery.markdown b/source/_integrations/discovery.markdown index 27985eb2a3a..d50efb97b5c 100644 --- a/source/_integrations/discovery.markdown +++ b/source/_integrations/discovery.markdown @@ -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