I have a Sungrow inverter I'd like to connect to. The inverter only has the option to change the ip and subnet ( My RPi (Stretch) is physically connected to the inverter and I have set the RPi to have a static IP ( I cannot connect or even ping the inverter. I have a wireless router providing dhcp ( The wlan0 is connected to the router via a static ip ( How do I set the eth0 ip to connect to the inverter without providing the eth0 with a gateway or dns? Have I got this wrong? Should I be putting in the dns and gateway of my router in the eth0 settings as well?

  • 1
    You claim to have done various things but not how and provided no diagnostics. Do you expect us to guess?
    – Milliways
    Aug 16, 2020 at 9:10
  • Be aware that there have been allegations of serious security issues with Sungrow. Maybe consider setting up iptables.
    – Seamus
    Aug 16, 2020 at 14:37

1 Answer 1


As far as I understand your Raspberry Pi uses two interfaces: wlan0 to connect to your local wireless router, and eth0 to connect wired to the Sungrow inverter. With different interfaces you also have to use different subnets, each interface connected to a subnet. The wireless network (interface wlan0) uses subnet with ip addresses to

You set eth0 to and the inverters ip address to This cannot work because these ip addresses are on the same subnet of wlan0. I suggest to configure eth0 to subnet and give it the ip address and the inverter set to (or what you like between and except, or in netmask notification: to netmask

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.