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?

2

1 Answer 1

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

3
  • On XenServer by default the network stack is via vSwitch, the OP will need to issue 'xe-switch-network-backend bridge' to switch back to Linux's based networkstack to try your tip.
    – yagmoth555
    Sep 22, 2016 at 1:16
  • Is there any more straightforward way to do this? Possibly through Xen Center
    – user376989
    Sep 22, 2016 at 6:53
  • @user376989 no, through xencenter it was my tip that I erased
    – yagmoth555
    Sep 22, 2016 at 9:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .