J
J
jammywork12014-07-28 10:41:31
linux
jammywork1, 2014-07-28 10:41:31

How to create a network bridge for guest axes (XEN, CentOS)?

Hello. I ask for help in creating a network bridge. I’ve been suffering for more than a week trying to achieve a result, I’ve already read more than a dozen manuals and there is no result (
And so we have CentOS 6.5 minimal, Linux 3.10, Xen 4.4
Guest axis Windows Server 2012 R2.
dhcp and dns server separately.
network 192.168.0.0/24. dhcp/dns 192.168.2.1
In fact, the task is to have both the hypervisor and guest axes have access to the gateway.I
tried to set it to a minimum so as not to clutter up the hypervisor... I connected via ssh.Configured and managed via xm.I recently installed libvirt and am trying to manage created bridge br0 via virsh
, disabled iptables for the time being, in the winsrv config specified the name of the network-bridge script, specified ip....
no result(
In the guest axis I ping the hypervisor or gateway, the result is destination host is unreachable.
I tried to prescribe routes, somehow I came across a manual ...
I also don’t understand what kind of interfaces are created by vif2.0 and vif2.0-emu at the start of the guest axis.
In general, I'm confused about how to make a bridge and what is really needed for this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jammywork1, 2014-08-04
@jammywork1

The problem was still solved... although to be honest, I didn’t understand how, once again I went through the config and it worked.... I just made Bridge on eth0 specified it in the guest config, and the script on network-bridge.... and now works... i don't know what to say, probably my hands are out of the ass....
As for libvirt, xl, xm.... these are all hypervisor toolkits, and xm and libvirt (virsh) are compatible, unlike xl ....
I'll probably stop at xm or libvirt, xl seems a bit rough to me, although it should be used in order to be able to use the virtio driver, which is faster than normal I/O emulation....
I hope this bathurt helped someone....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question