[openstack-dev] [Network] Allocate MAC and IP address for a VM instance

Dong Liu willowd878 at gmail.com
Wed Feb 19 02:38:07 UTC 2014


yes, it does not worked via dashboard

Dong Liu

于 2014-02-19 8:11, Jay Lau 写道:
> Thanks Dong for the great help, it does worked with command line!
>
> This seems not available via dashboard, right?
>
> Thanks,
>
> Jay
>
>
>
> 2014-02-19 1:11 GMT+08:00 Dong Liu <willowd878 at gmail.com
> <mailto:willowd878 at gmail.com>>:
>
>     Hi Jay,
>
>     In neutron API, you could create port with specified mac_address and
>     fix_ip, and then create vm with this port.
>     But the mapping of them need to manage by yourself.
>
>
>     在 2014年2月18日,22:41,Jay Lau <jay.lau.513 at gmail.com
>     <mailto:jay.lau.513 at gmail.com>> 写道:
>
>      > Greetings,
>      >
>      > Not sure if it is suitable to ask this question in openstack-dev
>     list. Here come a question related to network and want to get some
>     input or comments from you experts.
>      >
>      > My case is as this: For some security issue, I want to put both
>     MAC and internal IP address to a pool and when create VM, I can get
>     MAC and its mapped IP address and assign the MAC and IP address to
>     the VM.
>      >
>      > For example, suppose I have following MAC and IP pool:
>      > 1) 78:2b:cb:af:78:b0, 192.168.0.10
>      > 2) 78:2b:cb:af:78:b1, 192.168.0.11
>      > 3) 78:2b:cb:af:78:b2, 192.168.0.12
>      > 4) 78:2b:cb:af:78:b3, 192.168.0.13
>      >
>      > Then I can create four VMs using above MAC and IP address, each
>     row in above can be mapped to a VM.
>      >
>      > Does any of you have any idea for the solution of this?
>      >
>      > --
>      > Thanks,
>      >
>      > Jay
>      > _______________________________________________
>      > OpenStack-dev mailing list
>      > OpenStack-dev at lists.openstack.org
>     <mailto:OpenStack-dev at lists.openstack.org>
>      > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>     _______________________________________________
>     OpenStack-dev mailing list
>     OpenStack-dev at lists.openstack.org
>     <mailto:OpenStack-dev at lists.openstack.org>
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
> --
> Thanks,
>
> Jay
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>




More information about the OpenStack-dev mailing list