<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi,</div><div>If you are using neutron then you can create pass the MAC address as part of the create port call. Please see <a href="https://wiki.openstack.org/wiki/Neutron/APIv2-specification#Port">https://wiki.openstack.org/wiki/Neutron/APIv2-specification#Port</a></div><div>Thanks</div><div>Gary</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> varun bhatnagar <<a href="mailto:varun292006@gmail.com">varun292006@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Tuesday, January 21, 2014 8:35 AM<br><span style="font-weight:bold">To: </span> "<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> [Openstack] How to get the MAC Address in Openstack<br></div><div><br></div><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div><div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>
How can I get the MAC Address of the network interface which I have created on Openstack?<br><br></div>
Also, is there any way where in I can define the MAC Address while creating any network?<br><br></div>
I tried digging in the code and I found out that the MAC Address assigned by Openstack starts with "fa:16:3e:". I want to assign fa:16:3e:00:00:01 first network interface, fa:16:3e:00:00:02 to second and fa:16:3e:00:00:03 to third network interface of my VM.<br></div>
Is this possible?<br><br></div>
Regards,<br></div>
Varun<br></div></div></div></span></body></html>