# Ethernet Interface Configuration

The Skynode Ethernet interface acts as a DHCP client by default and can be assigned an IP address by a DHCP server.

The Ethernet interface can be further configured by setting environment variables.

{% content-ref url="../../auterion-developer-tools/modifying-environment-variables" %}
[modifying-environment-variables](https://docs.auterion.com/hardware-integration/auterion-developer-tools/modifying-environment-variables)
{% endcontent-ref %}

## Setting a static IP address

Set the IP address to, for example, **192.168.1.5** with:

```sh
AP_CONFIGURE_ETHERNET_IP=192.168.1.5
```

## Automatically set the default gateway

To allow the default gateway to be set automatically (for example, when connected to a DHCP server), set the following:

```sh
AP_CONFIGURE_ETHERNET_ROUTING=1
```
