[Users] oVirt in PAT - NAT environment
Jarno Puff
relaxibus at akfree.it
Tue Mar 11 08:13:57 UTC 2014
Hi René,
I don´t have a second NIC, only a public on eth0.
So, if I understood correctly, Neutron is not part of oVirt, but needs to be installed a part.
I need to use the All-in-one version of oVirt, so I need to install Neutron on this same host?
Any additional advice?
----- Ursprüngliche Mail -----
Von: "René Koch" <rkoch at linuxland.at>
An: "relaxibus" <relaxibus at akfree.it>
CC: "Assaf Muller" <amuller at redhat.com>, users at ovirt.org
Gesendet: Montag, 10. März 2014 16:20:40
Betreff: Re: [Users] oVirt in PAT - NAT environment
Hi Jarno,
It should work in the following way (needs to be tested - had a similar
setup with plain KVM, but didn't test it with oVirt):
- create a new network in oVirt and bridge it to your second nic (I
guess the server will have 2 nics) or a dummy/virtual interface
- create your nat rules in iptables (if you're not that familiar with
iptables you could use FWBuilder or shorewall).
Here's a documentation on how to setup Neutron:
http://www.ovirt.org/OVirt_Neutron_Integration
Regards,
René
On 03/10/2014 02:43 PM, Jarno Puff wrote:
> Hi Assaf,
>
> thanks for the answer.
>
> the data center where my server reside is a server4you.net, so all what you get is a dedicated server and a public IP, thats it. You don´t have a "private" network via a NIC, the only access to the server is via the public IP.
>
> Ok, let´s try Neutron. Where can I find details on this? How to enable it and how to configure it?
>
> Anyone could also give me advices on how to setup the iptables on my server for correct DNAT and port forwarding to VMs? I would like to try boths.
>
> -Jarno
>
>
> ----- Ursprüngliche Mail -----
> Von: "Assaf Muller" <amuller at redhat.com>
> An: "relaxibus" <relaxibus at akfree.it>
> CC: users at ovirt.org
> Gesendet: Montag, 10. März 2014 10:59:28
> Betreff: Re: [Users] oVirt in PAT - NAT environment
>
> ----- Original Message -----
>> Hello folks,
>>
>
> Hi!
>
>> I know, this is a topic where you have spend a lots of words, but, after
>> installing oVirt 3.3 and 3.4 on CentOS and let goign google search engine to
>> become hot, I don´t found any solution for my environment.
>>
>> My environment:
>>
>> - dedicated server at "server4you.net" with CentOS 6
>> - Main IP (public) 82.25.xx.yy
>> - Addon IP (public) 62.75.xx.yy
>>
>> What I will do:
>>
>> - create VMs on a private network 192.x.y.z
>> - talk to the internet from the VMs (NAT)
>> - reach the VMs from the internet (PAT)
>> - reach the VMs via SSH from the host server
>>
>
> oVirt doesn't have built-in support for NAT. What you can do is either:
> 1) Define PAT on the data center edge router. For accessing VMS from the outside
> you can either define port forwarding or DNAT. As for reaching the VMs from your
> dedicated server, the easiest approach would be ensuring that the server has
> a leg in the private network.
>
> 2) You might want to try the oVirt Neutron integration. In Neutron you can
> create arbitrary private networks and VMs will get IPs from a DHCP server
> created in Neutron. You can then define a 'floating ip', which is a mapping
> between the VM's private IP and an allocated public IP on your public network.
> Neutron will do the DNAT for you.
>
> The oVirt Neutron integration in the recent 3.4 release [1] greatly improved
> the integration and it now includes IP address management, so you'll be
> able to do *nearly* everything from the oVirt GUI.
>
> [1] http://www.ovirt.org/OVirt_3.4.0_release_notes
>
>> I found some "workarounds", but no one was easy to implement or the infos was
>> not cobering all the aspects.
>>
>> I have seen the possibility to use a "hook", but no user guide and step by
>> step instruction found.
>>
>> Looking forward to get a working solution :-)
>>
>> Cheers,
>>
>> -Jarno
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list