[Openstack-operators] networking question

J.O'Loughlin at surrey.ac.uk J.O'Loughlin at surrey.ac.uk
Tue Feb 22 18:16:50 UTC 2011

In vlan networking mode, are vpns and cloud pipes the only way to assess your instances ? Is there a way of associating a public IP address to an instance, as happens with ec2 ?


John O'Loughlin
FEPS IT, Service Delivery Team Leader
From: Ahmed El Gamil [ahmed at manhag.org]
Sent: 17 February 2011 07:01
To: O'Loughlin JF Mr (FEPS Faculty Admin)
Cc: openstack-operators at lists.openstack.org
Subject: Re: [Openstack-operators] networking question

I would also like an answer to this question, with the current networking models of Nova, When i need to assign private IP addresses to my instances, I have to create an alias on NIC of the node that holds eucatools so that the routing will be correct so as to access the instance via SSH or whatever.

On Wed, Feb 16, 2011 at 5:55 PM, <J.O'Loughlin at surrey.ac.uk<mailto:J.O%27Loughlin at surrey.ac.uk>> wrote:


I have a nova install on a single machine, I have launched an instance which I can log into from the compute node, and have associated a public IP address to the instance, see below.

root at kvm-dev02:~/project2# euca-describe-instances
RESERVATION     r-omedt4i6      project2        default
INSTANCE        i-00000001      ami-bn6x5xnb        running mykey (project2, kvm-dev02)     0               m1.small        2011-02-15 22:57:17.803241      nova

security groups allow ssh and icmp:

root at kvm-dev02:~/project2# euca-describe-groups
GROUP   project2        default default
PERMISSION      project2        default ALLOWS  icmp    -1      -1      FROM    CIDR<>
PERMISSION      project2        default ALLOWS  tcp     22      22      FROM    CIDR<>

but I'm not sure about the routing should now work, under eucalyptus the public IP is added as an alias to the public interface and a rule is added to iptables to nat the traffic to the instances private IP address.
It appears nova networking is different, are there any steps I have missed ?

Any help or pointers much appreciated.


John O'Loughlin
FEPS IT, Service Delivery Team Leader
Openstack-operators mailing list
Openstack-operators at lists.openstack.org<mailto:Openstack-operators at lists.openstack.org>

More information about the Openstack-operators mailing list