<div dir="ltr"><div><div><div><div>Hi,<br></div>seems that /etc/modprobe.d/lisa.conf doesn&#39;t exist. Anyway I&#39;d tried to create and configure it with the line you provided  but MAC address kept to be the same -  even LiSA was restarted afterwards.<br>
<br></div>I also tried to create <code>/etc/sysconfig/network-scripts/ifcfg-vlan30 and configure it as following but without success.</code><br><code><br>DEVICE=vlan30<br>HWADDR=02:00:11:22:33:44<br>ONBOOT=yes<br><br><br>
</code></div>When I tried to change MAC address of vlan30 with command ifconfig vlan30 hw ether 02:00:11:22:33:44 I got &quot;SIOCSIFHWADDR: Operation not supported&quot;<br><br></div>Thanks.<br><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/2/25 Radu Rendec <span dir="ltr">&lt;<a href="mailto:radu.rendec@mindbit.ro" target="_blank">radu.rendec@mindbit.ro</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, 2013-02-25 at 18:22 +0100, chicany wrote:<br>
<br>
&gt; I&#39;ve installed LISA from rpm packages to Qemu image. It works fine<br>
&gt; except of trunking when two LISA Centos Qemu images are connected<br>
&gt; together. I found out that MAC address of particular VLAN interface is<br>
&gt; always the same for all my LISA QEMU nodes in my topology.<br>
</div>=== cut ===<br>
<div class="im">&gt; Is it any way how to change LISA to generate random MAC address for<br>
&gt; VLAN interface?<br>
<br>
</div>Hi,<br>
<br>
There is no way to get the LiSA kernel module to generate a random MAC<br>
address, but you can manually assign a specific (and distinct, of<br>
course) MAC address on each node.<br>
<br>
To do this, you need to configure a kernel module option by adding a<br>
line to /etc/modprobe.conf (or to /etc/modprobe.d/lisa.conf, if you are<br>
on a newer distro). The line should look like this:<br>
<br>
options switch vif_mac=02:00:11:22:33:44<br>
<br>
Then restart LiSA using /etc/init.d/lisa restart.<br>
<br>
Please let me know if this solves your problem.<br>
<br>
Cheers,<br>
<br>
Radu<br>
<br>
<br>
_______________________________________________<br>
LiSA-Users mailing list<br>
<a href="mailto:LiSA-Users@lisa.mindbit.ro">LiSA-Users@lisa.mindbit.ro</a><br>
<a href="http://lisa.mindbit.ro/mailman/listinfo/lisa-users" target="_blank">http://lisa.mindbit.ro/mailman/listinfo/lisa-users</a><br>
</blockquote></div><br></div>