[Openstack] [Neutron] one virtual port with two IP, what is the best way to bind the addresses in VM?

sylecn sylecn at gmail.com
Mon Apr 14 01:59:53 UTC 2014


On Sun, Apr 13, 2014 at 9:57 PM, Ashok Kumaran <ashokkumaran.b at gmail.com>wrote:

>
>
>
> On Sun, Apr 13, 2014 at 11:06 AM, sylecn <sylecn at gmail.com> wrote:
>
>> Hi all,
>>
>> neutron port-create usually allocate one IP with one port, but in a
>> recent use case, I need to allocate two IP addresses on one port. I am
>> glade to see it is already supported by neutron.
>>
>> Didn't you try something like this ?
> neutron port-create --fixed-ip subnet_id=<subnet1> --fixed-ip
> subnet_id=<subnet1> net1
>
> now use the above port in nova boot as nic port id. I dont see any reason
> why this shouldnt work, I havent tried this myself though, let me know the
> outcome
>
>

Appreciated the reply but you are missing my question. Please read the
original post again.


*YY Inc. is hiring openstack and python developers. Interested? Check
http://www.nsbeta.info/jobs <http://www.nsbeta.info/jobs>*

--
Thanks,
Yuanle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140414/32b70697/attachment.html>


More information about the Openstack mailing list