EthernetConfig.StaticHostConfig

public void EthernetConfig.StaticHostConfig(String ipAddress, int prefixLength, String gatewayAddress, List<String> dnsServers)

Parameters

ipAddress

- numeric ip address to be applied, for example: 192.168.0.5

prefixLength

- prefix length for the address (subnet size)

gatewayAddress

- numeric address or hostname for the gateway

dnsServers

- numeric address or hostname for dns servers to be used