Hello all. I have Virtual Environment 7.2-7 installed. The server has 3 NICS,
The onboard on a fixed IP address (eno1), and an Intel dual NIC that I use exclusively for my VM installation of PFSense - so the 2 ports on that card use PCI passthrough (enp1s0f0 and enp1s0f1).
All was great and everything has been working well for the last month after I installed pfsense. I came to restart the server yesterday evening and pfsense had lost a network card, so wouldn't boot. On taking a look from the O/S one of the NICS I was passing through had obtained an IP address from my DHCP server - that was why passthrough didn't work, pfsense couldn't see my second NIC, and therefore wouldn't start correctly.
I used
ifdown enp1s0f0
to unassign the IP, then restarted the pfsense VM and all was well in that both NICS were passed through.
Any idea how to stop enp1s0f0 and enp1s0f1 being assigned an IP by Debian prior to me starting the pfsense VM please?
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04) = en01
01:00.0 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connection (rev 02) = enp1s0f0
01:00.1 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connection (rev 02) = 1s0f1

Thanks
The onboard on a fixed IP address (eno1), and an Intel dual NIC that I use exclusively for my VM installation of PFSense - so the 2 ports on that card use PCI passthrough (enp1s0f0 and enp1s0f1).
All was great and everything has been working well for the last month after I installed pfsense. I came to restart the server yesterday evening and pfsense had lost a network card, so wouldn't boot. On taking a look from the O/S one of the NICS I was passing through had obtained an IP address from my DHCP server - that was why passthrough didn't work, pfsense couldn't see my second NIC, and therefore wouldn't start correctly.
I used
ifdown enp1s0f0
to unassign the IP, then restarted the pfsense VM and all was well in that both NICS were passed through.
Any idea how to stop enp1s0f0 and enp1s0f1 being assigned an IP by Debian prior to me starting the pfsense VM please?
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04) = en01
01:00.0 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connection (rev 02) = enp1s0f0
01:00.1 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connection (rev 02) = 1s0f1

Thanks