
I have the following configuraton: 1 cluster, 2 Hosts I would like to use a Vm-router under Host 1 to act as a dhcp server for both HOST1 and HOST2 VMs is it possible?

On Mon, 21 Jan 2019 14:00:14 -0000 adamantini.peratikou@ouc.ac.cy wrote:
I have the following configuraton: 1 cluster, 2 Hosts
I would like to use a Vm-router under Host 1 to act as a dhcp server for both HOST1 and HOST2 VMs is it possible?
Yes. oVirt's logical networks provides isolation on layer 2. If the switch connection the two hosts does not block this, you can 1. create a new logical network with a vlan tag in oVirt, 2. connect this new logical network to both hosts, ( Compute > Hosts > xxx > Network Interfaces > Setup Host Networks) 3. add a new network interface with network profile of the new logical network to the router/dhcp server VM and 4. use the same logical network for the network interface of the client VMs.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/4NBEAG24CADMVT...

Thank you for your reply amd advice. I ve tried that, but unfortunately when the vm-router starts on host1 it will only assign IPs toVMs residing on host1. If i migrate the vm-router on host2 it will assign IPs only on Vms residing on host2. And even if i assign IPs manually.. I can ping all the VMs under host1 from a host1 VM, I can ping all the VMs under host2 from a host2 VM. I cannot ping a host2 VM from a host1VM and vice versa. ---- Dominik Holler wrote ---- On Mon, 21 Jan 2019 14:00:14 -0000 adamantini.peratikou@ouc.ac.cy wrote:
I have the following configuraton: 1 cluster, 2 Hosts
I would like to use a Vm-router under Host 1 to act as a dhcp server for both HOST1 and HOST2 VMs is it possible?
Yes. oVirt's logical networks provides isolation on layer 2. If the switch connection the two hosts does not block this, you can 1. create a new logical network with a vlan tag in oVirt, 2. connect this new logical network to both hosts, ( Compute > Hosts > xxx > Network Interfaces > Setup Host Networks) 3. add a new network interface with network profile of the new logical network to the router/dhcp server VM and 4. use the same logical network for the network interface of the client VMs.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/4NBEAG24CADMVT...

On Mon, 21 Jan 2019 17:56:14 +0000 Adamantini Peratikou <adamantini.peratikou@ouc.ac.cy> wrote:
Thank you for your reply amd advice.
I ve tried that, but unfortunately when the vm-router starts on host1 it will only assign IPs toVMs residing on host1. If i migrate the vm-router on host2 it will assign IPs only on Vms residing on host2.
And even if i assign IPs manually.. I can ping all the VMs under host1 from a host1 VM, I can ping all the VMs under host2 from a host2 VM.
I cannot ping a host2 VM from a host1VM and vice versa.
Let's ensure that the hosts can communicate via the logical network: If you assign IP addresses to the network attachments of the logical network on host1 and host2, can host1 ping from host2 via this IP addresses on the VLAN/logical network? How are the hosts connected?
---- Dominik Holler wrote ----
On Mon, 21 Jan 2019 14:00:14 -0000 adamantini.peratikou@ouc.ac.cy wrote:
I have the following configuraton: 1 cluster, 2 Hosts
I would like to use a Vm-router under Host 1 to act as a dhcp server for both HOST1 and HOST2 VMs is it possible?
Yes. oVirt's logical networks provides isolation on layer 2. If the switch connection the two hosts does not block this, you can 1. create a new logical network with a vlan tag in oVirt, 2. connect this new logical network to both hosts, ( Compute > Hosts > xxx > Network Interfaces > Setup Host Networks) 3. add a new network interface with network profile of the new logical network to the router/dhcp server VM and 4. use the same logical network for the network interface of the client VMs.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/4NBEAG24CADMVT...

Thank you i try pinging Host1 from Host 2 with the following results: On a logical network Host1 can ping host2 but while on a VLAN host 1 cannot ping host2. The hosts are physically connected via a switch.

On Tue, 22 Jan 2019 07:33:19 -0000 "ada per" <adaper3@gmail.com> wrote:
Thank you i try pinging Host1 from Host 2 with the following results: On a logical network Host1 can ping host2 but while on a VLAN host 1 cannot ping host2.
The hosts are physically connected via a switch.
Can you please check if the switch allows VLANs on the used ports? Alternatively, you can connect the VMs via external networks without subnets, e.g. provided by preconfigured ovirt-provider-ovn, to the router VM.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/AASF52IJU4SEUC...

Thank you for all the advice. The reason for the issue was the physical switch like you said!! The issue is now fixed. Thanks 😊 On Tue, 22 Jan 2019, 10:04 Dominik Holler <dholler@redhat.com wrote:
On Tue, 22 Jan 2019 07:33:19 -0000 "ada per" <adaper3@gmail.com> wrote:
Thank you i try pinging Host1 from Host 2 with the following results: On a logical network Host1 can ping host2 but while on a VLAN host 1 cannot ping host2.
The hosts are physically connected via a switch.
Can you please check if the switch allows VLANs on the used ports?
Alternatively, you can connect the VMs via external networks without subnets, e.g. provided by preconfigured ovirt-provider-ovn, to the router VM.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/AASF52IJU4SEUC...

On Tue, 22 Jan 2019 16:18:06 +0200 ada per <adaper3@gmail.com> wrote:
Thank you for all the advice.
The reason for the issue was the physical switch like you said!!
The issue is now fixed.
Thanks for letting us know!
Thanks 😊
On Tue, 22 Jan 2019, 10:04 Dominik Holler <dholler@redhat.com wrote:
On Tue, 22 Jan 2019 07:33:19 -0000 "ada per" <adaper3@gmail.com> wrote:
Thank you i try pinging Host1 from Host 2 with the following results: On a logical network Host1 can ping host2 but while on a VLAN host 1 cannot ping host2.
The hosts are physically connected via a switch.
Can you please check if the switch allows VLANs on the used ports?
Alternatively, you can connect the VMs via external networks without subnets, e.g. provided by preconfigured ovirt-provider-ovn, to the router VM.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/AASF52IJU4SEUC...
participants (4)
-
ada per
-
Adamantini Peratikou
-
adamantini.peratikou@ouc.ac.cy
-
Dominik Holler