Hi Varun, When Neutron is enabled, the last 3 octects of the MAC address are randomly generated. This is for avoiding clashes when instances are created concurrently and for preventing potentially malicious users from guessing other users' MAC addresses.
Any change to this logic will need code changes, as the algorithm for MAC generation is not currently configurable. The first three octects can instead be specified in a configuration file and, as you wrote, default to fa:16:3e It is my understanding that nova-network adopts a similar logic. Regards, Salvatore On 21 January 2014 06:35, varun bhatnagar <varun292...@gmail.com> wrote: > Hi, > > How can I get the MAC Address of the network interface which I have > created on Openstack? > > Also, is there any way where in I can define the MAC Address while > creating any network? > > 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. > Is this possible? > > Regards, > Varun > > _______________________________________________ > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack