...
Edit the /etc/network/interfaces file
Code Block language bash azeti@Nexcom-Master:~$ sudo vi /etc/network/interfaces
Set the IP, gateway and DNS for each interface (enp2s0 for Ethernet 1 and enp3s0 for Ethernet 2)
Code Block language bash allow-hotplug enp3s0 iface enp3s0 inet static address 10.0.0.1 netmask 255.255.255.0 gateway 10.0.0.100 dns-nameservers 8.8.8.8 8.8.4.4
Start the connection
Code Block language bash root@Nexcom-Master:~#sudo ifdown enp3s0 ;sudo ifup enp3s0
...