[Openstack] Associate network to one port

gustavo panizzo (gfa) gfa at zumbi.com.ar
Mon Aug 25 14:02:21 UTC 2014


is not possible to attach a subnet to a vnic, AFAIK.
however you could allow each ip of that subnet to a nic then configure that range inside of the vm (dhcp won't do it)



On August 25, 2014 6:30:23 AM GMT-03:00, "Sławek Kapłoński" <slawek at kaplonski.pl> wrote:
>Hello,
>
>I was checking that option but it is not what I'm looking for. I need 
>something like for example:
>1. Have got subnet with 192.168.1.0/24
>2. I attach to that subnet instance (with one NIC) and it not allocate 
>me only one IP from subnet (e.g. 192.168.1.1) but some subnet e.g. 
>192.168.1.1/28 (or something like that)
>
>Do You know is it possible in some way to do such think?
>
>Thanks in advance
>Slawek Kaplonski
>slawek at kaplonski.pl
>
>W dniu 2014-08-23 22:05, gustavo panizzo (gfa) napisał(a):
>> you can use allowed-pairs extension to assign more than one ip
>address
>> to a port
>> 
>>
>http://docs.openstack.org/api/openstack-network/2.0/content/allowed_address_pair_ext.html
>> 
>> 
>> 
>> On 08/23/2014 08:13 AM, Sławek Kapłoński wrote:
>>> Hello,
>>> 
>>> I'm using openstack Havana release with neutron. Is it possible 
>>> somehow to
>>> associate more than one IP to one port in neutron. For example if I 
>>> have
>>> subnet /24 is it possible to associate to one port /27 or /28 from 
>>> that
>>> subnet? Is it possiblem somehow?
>>> 
>>> --
>>> Thanks in advance,
>>> Sławek Kapłoński
>>> slawek at kaplonski.pl
>>> 
>>> --
>>> Klucz GPG można pobrać ze strony:
>>> http://kaplonski.pl/files/slawek_kaplonski.pub.key
>>> --
>>> My public GPG key can be downloaded from:
>>> http://kaplonski.pl/files/slawek_kaplonski.pub.key
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Mailing list: 
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to     : openstack at lists.openstack.org
>>> Unsubscribe : 
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> 
>
>-- 
>Pozdrawiam
>Sławek Kapłoński
>slawek at kaplonski.pl
>
>_______________________________________________
>Mailing list:
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>Post to     : openstack at lists.openstack.org
>Unsubscribe :
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

sent from mobile




More information about the Openstack mailing list