I have a Debian Stretch server with a network card. I want it to connect to my (normal configured standart DHCP) Router.
So normaly i would say something like iface eth0 inet dhcp
.
But i have a network Card installed with two additional ethernet ports.
The names of the ports are different based on the PCI Slot of the Network Card:
- No Network Card installed.
The Ethernet Jack is called
enp5s0
- Network Card is installed in PCI Slot 1:
The Mainboard Jack is called
enp8s0
The First Card Jack is calledenp3s0
The Second Card Jack is calledenp4s0
- Network Card is Installed in PCI Slot 2:
The Mainboard Jack is called
enp9s0
The First Card Jack is calledenp6s0
The Second Card Jack is calledenp7s0
I want my Server to connect to the Router with enp5s0
, enp8s0
or enp9s0
whatever is available as a normal dhcp client.
I don't want to use the other connections because i was to assign special Virtualisation Configuration later on :)
Can anyone recommend me a /etc/network/interfaces configuration which can achieve this ?