Re: [Users] oVirt in PAT - NAT environment

2014-03-11 Thread Jarno Puff
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 rk...@linuxland.at
An: relaxibus relaxi...@akfree.it
CC: Assaf Muller amul...@redhat.com, users@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 amul...@redhat.com
 An: relaxibus relaxi...@akfree.it
 CC: users@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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt in PAT - NAT environment

2014-03-10 Thread Jarno Puff
Hello folks,

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

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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt in PAT - NAT environment

2014-03-10 Thread Assaf Muller
- 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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt in PAT - NAT environment

2014-03-10 Thread Jarno Puff
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 amul...@redhat.com
An: relaxibus relaxi...@akfree.it
CC: users@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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt in PAT - NAT environment

2014-03-10 Thread Sven Kieske
Hi,

well you wrote, you will create vms on a private net, I assume
on this host at server4you, so you _must_ have some kind of
virtual network interface on this server, which, at least, acts
as a virtual bridge to provide the vms with this network.

So you should adjust the routing(/pat/nat) accordingly
for this interface on your server.

HTH

Am 10.03.2014 14:43, schrieb Jarno Puff:
 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.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users