Hey Giancarlo,
that’s what I did with my Onefinity Controller here.
As root on the Onefinity Controller, you create a new file called “eth0” in the directory /etc/network/interfaces.d with a content like this:
allow-hotplug eth0
iface eth0 inet static
address 192.168.bla.bla
netmask 255.255.255.0
network 192.168.bla.0
#broadcast 192.168.bla.255
## == bla blu is our DSL gateway: ==
gateway 192.168.bla.blu
## == DNS servers from your dsl provider: ==
dns-nameservers bla.bla.bla.bla1 bla.bla.bla.bla2
## == Or maybe we have local name servers: ==
#dns-nameservers 192.168.bla.blob 192.168.bla.blip
(replace bla and blub by meaningful numbers )
If you add the static IP address configuration, the user interface will then report two IP addresses:
The good thing is that if you then connect the Onefinity controller to a computer with an unconfigured network, zeroconf will still work (it’s the avahi package that provides this)