Network Settings ---------------- Route Priority ^^^^^^^^^^^^^^ (ESP32 only) When using multiple network interfaces, like WiFi, Ethernet or PPP LTE Modem, it must be made clear which interface should be used for new connections initiated from ESPEasy to some other host. The connected network interface with the highest Route Priority is considered to be the default route. Default Route Priority values are: * WiFi STA = 100 * Ethernet = 50 * PPP (LTE modem) = 20 * WiFi AP = 10 Fallback Interface ^^^^^^^^^^^^^^^^^^ (ESP32 only) .. note:: The concept of a Fallback Interface is available on ESP8266, but only for WiFi AP. This is a special case, which is discussed here: :ref:`NW002_page` . A network interface can be marked as "Fallback Interface". A fallback interface will only be scheduled to start when: * A non-fallback interface failed to connect. * Route Priority changed to a value which is less than the set priority for the fallback interface. The scheduled delay to start the fallback interface is set as "Delay Startup" (see below). A fallback interface will be stopped when there is a default route with a route priority higher than the set Route Priority of the fallback interface. It is possible to set multiple interfaces as Fallback Interface. The fallback order can be tweaked using the Delay Startup and Route Priority. N.B. Network interfaces which should be started at boot, should not be marked as Fallback Interface. Example use cases """"""""""""""""" * Disable fallback on the WiFi AP and have it active continuously, allowing other nodes/devices to use the ESP node to act as a router/gateway using "NAPT". * Have WiFi STA set as fallback for Ethernet (or PPP for a LTE modem). When there is no connection via Ethernet (or PPP) you can try using WiFi STA as backup. * Have PPP (for connection via LTE) as fallback, so it will only be used if any of the other interfaces failed to get a connection. * Have Ethernet set to lowest startup delay, WiFi STA as fallback with longer startup delay and PPP as fallback with the longest startup delay. This way the preferred interface is Ethernet, WiFi the second and as last resort the LTE modem. Delay Startup ^^^^^^^^^^^^^ For various reasons, it can be useful to not immediately start a network interface at boot. For example to reduce the power consumption as most network interfaces may draw significant more power for a short time when starting. Another use case can be to check some sensor value before deciding to either start the network interface or enter deep sleep again. The set value (in msec) is the delay from boot before starting the network interface. Delay Startup for Fallback Interface """""""""""""""""""""""""""""""""""" A Fallback Interface is not started at boot. The set Delay Startup is then used as delay to schedule starting the network interface. See "Fallback Interface" for more information. Append Name to Hostname ^^^^^^^^^^^^^^^^^^^^^^^ (ESP32 only) When multiple network interfaces may connect to the same network (e.g. WiFi STA and Ethernet), it can be useful to set different hostnames per network interface. With this option checked, the network interface name as listed on the "Network" tab overview page will be appended to the hostname as used for that network interface. For example on an ESPEasy node called "ESPEasy", the WiFi STA interface will then use "ESPEasy-WiFi" as hostname. This will be used in for example DHCP requests and when using mDNS. Default setting is to have it disabled for WiFi STA and enabled for all other network interfaces. Block Web Access ^^^^^^^^^^^^^^^^ When checked, the ESPEasy web interface cannot be accessed via the IP-range of the network interface. .. note:: The PPP Network Interface (ESP32-only) will have this checked by default, since you typically can't access devices from the network of the mobile provider. If this is possible for some odd reason, you very likely would never want to allow this. Enable IPv6 ^^^^^^^^^^^ (ESP32 only) Checking this checkbox, will allow the network device to use IPv6. Collect Network Stats ^^^^^^^^^^^^^^^^^^^^^ (ESP32 only, not included in all builds) Checking this checkbox, will allow to collect network statistics like: * Connected Station Count (AP only) * RSSI (WiFi, PPP) * TX Power (WiFi STA) * BER (Bit Error Rate, only on PPP) * TX Bytes * RX Bytes