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

2014-02-22 Thread Jay Lau
Sorry to bring this up again, just want to ask more, currently, I can only use neutron to bind IP and MAC but cannot reach this goal via nova-network, right? Thanks, Jay 2014-02-19 21:05 GMT+08:00 Jay Lau jay.lau@gmail.com: Thanks Liu Dong. Clear now! ;-) 2014-02-19 20:17 GMT+08:00

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

2014-02-19 Thread Dong Liu
Jay, what the mac belong to? Is it a vm mac, or a mac of floatingip. If it is a vm mac, you can associate any floatingip to vm port. If it is a floatingip mac, I have no idea. 2014-02-19 11:44, Jay Lau : Thanks Liu Dong. In case that you may not get my previous question, so here just post it

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

2014-02-19 Thread Jay Lau
Thanks Liu Dong. It is a VM mac address, so do you have any idea for how can I make sure the VM mac address can bind to a floating ip address? Also what do you mean by floatingip mac? Really thanks very much for your kind help, it is really helped me a lot! Thanks, Jay 2014-02-19 16:21

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

2014-02-19 Thread Dong Liu
Sorry for replying so late. Yes, that is what I mean, btw, if you only need floatingip to bind vm mac, you do not need to specified --fix_ip, just specify the --mac-address is ok. What I mean floatingip-mac is that, actually, when you creating a floatingip, neutron will automatic create a port

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

2014-02-19 Thread Jay Lau
Thanks Liu Dong. Clear now! ;-) 2014-02-19 20:17 GMT+08:00 Dong Liu willowd...@gmail.com: Sorry for replying so late. Yes, that is what I mean, btw, if you only need floatingip to bind vm mac, you do not need to specified --fix_ip, just specify the --mac-address is ok. What I mean

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

2014-02-18 Thread Jay Lau
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

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

2014-02-18 Thread Dong Liu
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@gmail.com 写道: Greetings, Not sure if it is suitable to ask this question in

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

2014-02-18 Thread Tim Bell
- From: Dong Liu [mailto:willowd...@gmail.com] Sent: 18 February 2014 18:12 To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Network] Allocate MAC and IP address for a VM instance Hi Jay, In neutron API, you could create port with specified

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

2014-02-18 Thread Amir Sadoughi
) Subject: Re: [openstack-dev] [Network] Allocate MAC and IP address for a VM instance 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

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

2014-02-18 Thread 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 willowd...@gmail.com: Hi Jay, In neutron API, you could create port with specified mac_address and fix_ip, and then create vm

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

2014-02-18 Thread Jay Lau
Also thanks Tim and Amir for the input here. Just one more question and hope can also get some help from you ;-) I have tried that we can create VM with MAC and FIXED IP bind together, what about floating IP? Is it possible that I also bind MAC and FLOATING IP for a VM? ===MAC and

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

2014-02-18 Thread Dong Liu
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 willowd...@gmail.com mailto:willowd...@gmail.com:

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

2014-02-18 Thread Jay Lau
Thanks Liu Dong. In case that you may not get my previous question, so here just post it again to see if you can give a help. Is it possible to bind MAC to a FLOATING IP? Thanks, Jay 2014-02-19 10:38 GMT+08:00 Dong Liu willowd...@gmail.com: yes, it does not worked via dashboard Dong Liu