I installed Xen a while ago but had not yet booted up with the hypervisor. Well I did yesterday and all hell broke loose. I completely lost internet connectivity on my server because of Xen.
When I start up my server and eth0
is not inside of br0
, Xen tries to virtualize it by renaming it to peth0
(physical eth0
), and then it's supposed to create a veth0
(virtual eth0
) and rename it to eth0
, at least according to Xen documentation.
The problem is that it does not bring up an eth0
and I am left with absolutely no internet connectivity. I have an eth1
on my server and would like to virtualize that interface instead of eth0
. To do this I placed eth1
inside of br0
and br0
is being virtualized to virbr0
. How do I stop Xen from virtualizing eth0
and use br0/eth1
instead?
Here is what I get from systemctl -o cat status network.service
:
Bringing up lookback interface: [ OK ]
Bringing up interface eth0: Error: either "dev" is a duplicate, or "virbr0" is a garbage.
ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Failed to bring up peth0 virbr0.
[FAILED]
Bringing up interface eth1: [ OK ]
Bringing up interface br0: [ OK ]
Gotta love that grammar on the second line (this is verbatim down to the spacing).
virbr0 is handled directly by libvirt, which can be seen from either of the replies to this message as being configured from /etc/libvirt/qemu/networks
.