...
Edit the /etc/network/interfaces file
Code Block language bash azeti@azeti-4300:~$ sudo nano /etc/network/interfaces
Set the IP for each interface. If necessary add a gateway and DNS.
Code Block language bash #configuration for Ethernet 1 allow-hotplug enp2s0 iface enp2s0 inet static address 10.240.1.24/24 gateway 10.240.1.254 dns-nameservers 10.31.1.130 10.44.1.130 #configuration for ethernet 2 allow-hotplug enp3s0 iface enp3s0 inet static address 192.168.0.100/23
Interface list:
InteraceInterface Port enp2s0 Ethernet 1 enp3s0 Ethernet 2 enp4s0 Ethernet 3 enp5s0 Ethernet 4 enp6s0 Ethernet 5
enp7s0 Ethernet 6 - Save the configuration file (press Ctrl+x, write "y" so save the changes, and enter)
Start the connection
Code Block language bash azeti@azeti-4300:~#sudo ifdown enp2s0 ;sudo ifup enp2s0
...