0

I'm trying to achieve the following: Network Diagram

Question: How can I do what's in red? I know how to add a network interface when it's about a physical interface. But how can I create a virtual network interface(s) that I would use it to connect only two VMs to one another?

Greg Askew
  • 34,339
  • 3
  • 52
  • 81
  • Without knowing how to do this in Xen: create a new bridge xenbr1 and add vifs corresponding to vm02-eth2 – Mark Wagner Sep 22 '16 at 00:11
  • check there for info; https://wiki.xenproject.org/wiki/Xen_Networking#Attaching_virtual_devices_to_the_appropriate_bridge – yagmoth555 Sep 22 '16 at 01:29

1 Answers1

0

Without knowing how to do this in Xen: create a new bridge xenbr1 and add vifs corresponding to vm02-eth2 and vm02-eth0 to it. If Xen's bridging scripts are not flexible enough to do this you can use a dummy interface on the host: see https://unix.stackexchange.com/questions/152331/how-can-i-create-a-virtual-ethernet-interface-on-a-machine-without-a-physical-ad

Mark Wagner
  • 17,764
  • 2
  • 30
  • 47