<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
On Tue, 2013-02-26 at 20:29 +0100, chicany wrote:<BR>
<BR>
Hi!<BR>
<BR>
Sorry for the delayed answer. Please see my inline comments below.<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    seems that /etc/modprobe.d/lisa.conf doesn't exist. Anyway I'd tried to create and configure it with the line you provided&nbsp; but MAC address kept to be the same -&nbsp; even LiSA was restarted afterwards.<BR>
    <BR>
</BLOCKQUOTE>
<BR>
It's normal that /etc/modprobe.d/lisa.conf didn't exist by default and you needed to create it. However, it's strange that it didn't solve the problem. The whole point of creating this file and restarting LiSA is to load the kernel module using the vif_mac parameter. But let's try to isolate the problem:
<UL>
    <LI>stop the lisa service
    <LI>check that the module is not loaded anymore: lsmod | grep switch
    <LI>manually load the module, using a custom MAC address: modprobe switch vif_mac=02:00:11:22:33:44
    <LI>start the lisa service
</UL>
<BR>
<BLOCKQUOTE TYPE=CITE>
    I also tried to create <TT>/etc/sysconfig/network-scripts/ifcfg-vlan30 and configure it as following but without success.</TT><BR>
    <BR>
    <TT>DEVICE=vlan30</TT><BR>
    <TT>HWADDR=02:00:11:22:33:44</TT><BR>
    <TT>ONBOOT=yes</TT><BR>
</BLOCKQUOTE>
<BR>
I'm not 100% sure, but I think HWADDR is used for identifying the interface by the current MAC, and there is another variable for specifying a new MAC address to be assigned. Anyway, this is not supported by the kernel part (see below).<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    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>
</BLOCKQUOTE>
<BR>
Yes, that's because the MAC address change method is not implemented on the kernel side. But it would be a nice feature though and I'll consider it for implementation.<BR>
<BR>
Cheers,<BR>
<BR>
Radu<BR>
<BR>
<BR>
</BODY>
</HTML>