My home network is 192.168.5.1/24. Ubuntu with Home Assistant has 2 IP addresses. First 192.168.5.29 and second (virtual) 192.168.8.29. Router connected to inverter(wifi) and home network by Lan cable has this config: