How to set static Ethernet parameters by API