Thursday, April 25, 2019

Virtual router options

Need to virtualize OpenWRT to support SQM for 250/250 Mbit connection - here´s more info about how to run OpenWrt on x86 hardware: https://openwrt.org/docs/guide-user/installation/openwrt_x86

Gadgets at my disposal:

  • 1x Intel I219V as part of Asus Z390-F (virtualization host)
  • Intel E139761 D33025 Dual Port PCI E Network Card
  • Netgear Prosafe GS105 (dumb switch)
  • Ubiquiti ER-X (router / ?)

Software:

  • Proxmox /w KVM virtualization

Option #1 - Pass-through of Dual Port PCI E Network card to VM

Connect the cable from internet to one of the ports of the pass-throughed nic. Other passed-thoughed port connected to netgear GS105 switch, which also is connected to Intel I219V and rest of the LAN.

Pass-through is tagges as "experiemental" in Proxmox even though there´s GUI support. How reliable is it?

Option #2 Bridge w/ virtio-net drivers

Don´t know if OpenWRT supports this option since it puts requirements on the kernel in the guest, or if this even is an option at all, but the idea is something like connect Internet to one of the nics, and use a virtual bridge for the other two nics to connect the nic used for the LAN VLAN in the virtual router with the last nic.

Option #3 - physical install

I actually have access to a physical server as well. A quad core L5440 with 6 GB of DDR2 RAM. Should I simply install the router in this setup instead?

Better options?

Virtual Router General Do´s n Don´ts

  • The host will boot faster than the virtual router and to prevent a dependence of DHCP assignments, good practice is to use static IP:s for important hosts - such as the virtualization host
  • More..?

EDIT #1: Added physical option



No comments:

Post a Comment