[ovirt-users] Confused by logical networks

Yaniv Kaul ykaul at redhat.com
Fri Feb 23 06:41:23 UTC 2018

On Feb 22, 2018 5:26 PM, "Paul-Erik Törrönen" <poltsi at poltsi.fi> wrote:

I'm not sure how the logical networks should work and would appreciate if
someone could shed some light into the matter, I've tried reading the
documentation¹ but have not become any wiser :-/

For the sake of argument, I have two hosts in the same cluster/DC, They
both have 2 network devices each (let's call them eth0 and eth1). On both
hosts the ovirtmgmgt is connected to eth0 and uses the
Host 1 is and host 2 is All four network devices are
connected to one switch.

Then I create a logical network, mylogic which should be,
which I assign to eth1 on each host, but define only for host 1 an
ip-address,, host 2 has also the network assigned to eth1, but
withouth an ip address.

There's no reason really to assign IPs to hosts on the logical network.
oVirt provides layer 2 (L2) connectivity to VMs. Whatever DHCP, DNS or
gateway is on that network, they'll use. It should not be one of the hosts.
Their interfaces just bridge the VM traffic over to the designated network,
nothing more.

Next I create vm1 on host 1, give it a single virtual network connection to
mylogic, and configure the guest to use with gw
Obviously I can from the guest ping which is the host address
on the logical network as the guest is running on the same hardware where
the host ip address is defined.

However, and this is where my confusion lies, if I now create another vm,
vm2, on host 2, attach its network device to the mylogic network and
configure it to use with gw, I can not ping neither nor

My understanding is that vm2 should be able to ping the wm1 as well as the
gateway address defined on host 1. However this does not seem to be the

What have I missed here?



¹ https://www.ovirt.org/documentation/admin-guide/chap-Logical_Networks/
Users mailing list
Users at ovirt.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180223/ac6b28fa/attachment.html>

More information about the Users mailing list