setting routing rules for guests?

Hello everyone! I'm wondering there is any feature like applying routing rules for VM to reach the external network (and vice versa). and I guess it's different according to using external provider(OVN). if not, how to users usually assign floating IP to VM?? Thanks Sincerely,

You can use vdsm hooks to do almost everything. About the Floating IP, I keep it for VMs in the same VLAN. Best Regards, Strahil Nikolov В понеделник, 9 ноември 2020 г., 10:35:47 Гринуич+2, yam yam <hyunooudy@gmail.com> написа: Hello everyone! I'm wondering there is any feature like applying routing rules for VM to reach the external network (and vice versa). and I guess it's different according to using external provider(OVN). if not, how to users usually assign floating IP to VM?? Thanks Sincerely, _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/5263QEXAOBCZIX...

Thanks, Strahil You mean I should define hook scripts for such network setting? and in case of using OVN, can I use direct ovn commands or related (neutron)rest API calls for it instead of vdsm hooks? last one, could you please explain in more detail about floating IP.. I couldn't understand relationship with the VLAN and I'm wondering whether I should assign host network IP to VM for public communication. Sincerely,

You mean I should define hook scripts for such network setting? and in case of using OVN, can I use direct ovn commands or related (neutron)rest API calls for it instead of vdsm hooks?
At least you could try to create a vdsm hook that does whatever you want - this is just a script.
last one, could you please explain in more detail about floating IP.. I couldn't understand relationship with the VLAN and I'm wondering whether I should assign host network IP to VM for public communication.
Floating IP is an IP that you use for Highly Available resources. You need both VMs to be in the same VLAN. For example: VM1 - 192.168.0.1/24 VM2 - 192.168.0.1/24 Floating IP - 192.168.0.200/24 Best Regards, Strahil Nikolov

Thanks for the reply! Do you know why oVirt doesn't support such basic(at least to me) features like NAT, dhcp server, ...? it seems somewhat harsh to the users. just curious Sincerely,

I had a need for this on one of my clusters. Spun up a VM to host, installed and configured the software. -----Original Message----- From: yam yam <hyunooudy@gmail.com> Sent: Tuesday, November 10, 2020 12:08 AM To: users@ovirt.org Subject: [ovirt-users] Re: setting routing rules for guests? Thanks for the reply! Do you know why oVirt doesn't support such basic(at least to me) features like NAT, dhcp server, ...? it seems somewhat harsh to the users. just curious Sincerely, _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/BM63KMSRQWGNMY...

Erm... cause it tries to do one thing - Virtualization. If you need a DHCP server, deploy a VM and create the DHCP server. Best Regards, Strahil Nikolov В вторник, 10 ноември 2020 г., 08:09:57 Гринуич+2, yam yam <hyunooudy@gmail.com> написа: Thanks for the reply! Do you know why oVirt doesn't support such basic(at least to me) features like NAT, dhcp server, ...? it seems somewhat harsh to the users. just curious Sincerely, _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/BM63KMSRQWGNMY...
participants (3)
-
Matthew.Stier@fujitsu.com
-
Strahil Nikolov
-
yam yam