How to use intel eth0 and eth1 nic passthrough to mikrotik vm

akil

Active Member
Jan 9, 2020
3
0
41
47
hello guys

i want to use my nic as pci passthrough but when i add them on hardware tab of vm i get locked out.

I am having issue with mikrotik chr not being able to give me mtu 1492 on my pppoe connections i have been told in mk forumns that nic pic passthrough is the way to go for me

post

Do i need to have both linux bridge and pci devices in hardware section of the vm or only pci device to get passthrough .
 

Attachments

  • Untitled2.png
    Untitled2.png
    210.4 KB · Views: 10
  • Untitled 1.png
    Untitled 1.png
    106.2 KB · Views: 9
  • pci passthrough1.png
    pci passthrough1.png
    127.3 KB · Views: 9
  • ProxMox.txt
    ProxMox.txt
    1.2 KB · Views: 1
Last edited:
Only the PCI device. Remember that any passed through device can't be used in the host once the VM has started, don't pass through the one that you used for your vmbr0 or vmbr1!
 
Only the PCI device. Remember that any passed through device can't be used in the host once the VM has started, don't pass through the one that you used for your vmbr0 or vmbr1!
i understand what you mean, my isp gives a single cable from ont box and i make a lan network from it ,i dont have any switches
lets say now my proxmoxx host ip address is on 10.255.10.10/24(what will be default gateway ??)

My internet is terminating from this box say i make a new Openwrt vm and use 2 new ports(since i have 4 ports) other than enp2so and enp3so like enp4s0 (wan) enp5s0 (lan) and create a new network with internet as 10.255.20.1/24 ( or should i use 10.255.10.1/24 ??) ,now how will the host get internet connection ,since it will be on another ip range (to make updates,to install new vm etc) from this lan and how can i access the host web gui can you clear my concept victor.


Will proxmoxx allow me to have my new network also 10.255.10.1/24 same as my host.
 

Attachments

  • 1598185322_max.jpg
    1598185322_max.jpg
    143.1 KB · Views: 6
  • pci passthrough1.png
    pci passthrough1.png
    127.3 KB · Views: 6
  • how-to-use-intel-eth0-and-eth1-nic-passthrough-to-mikrotik-.webp
    how-to-use-intel-eth0-and-eth1-nic-passthrough-to-mikrotik-.webp
    57.6 KB · Views: 2
Last edited: