[LiSA-Users] vlan interfaces are generated with the same MAC addresses

Victor Duta duta.victor.marin at gmail.com
Tue Feb 26 12:59:43 EET 2013


I have a question  . Is there a daemon that you need to run in order to
asign an IP adress to a vlan interface. I tried "ip addr 192.168.10.1
255.255.255.0" on that vlan interface but the cli just blocks.
The entire configuration for the interface looks like this :
conf t
int vlan 2
ip addr 192.168.10.1 255.255.255.0

On Mon, Feb 25, 2013 at 10:17 PM, Radu Rendec <radu.rendec at mindbit.ro>wrote:

> On Mon, 2013-02-25 at 18:22 +0100, chicany wrote:
>
> > I've installed LISA from rpm packages to Qemu image. It works fine
> > except of trunking when two LISA Centos Qemu images are connected
> > together. I found out that MAC address of particular VLAN interface is
> > always the same for all my LISA QEMU nodes in my topology.
> === cut ===
> > Is it any way how to change LISA to generate random MAC address for
> > VLAN interface?
>
> Hi,
>
> There is no way to get the LiSA kernel module to generate a random MAC
> address, but you can manually assign a specific (and distinct, of
> course) MAC address on each node.
>
> To do this, you need to configure a kernel module option by adding a
> line to /etc/modprobe.conf (or to /etc/modprobe.d/lisa.conf, if you are
> on a newer distro). The line should look like this:
>
> options switch vif_mac=02:00:11:22:33:44
>
> Then restart LiSA using /etc/init.d/lisa restart.
>
> Please let me know if this solves your problem.
>
> Cheers,
>
> Radu
>
>
> _______________________________________________
> LiSA-Users mailing list
> LiSA-Users at lisa.mindbit.ro
> http://lisa.mindbit.ro/mailman/listinfo/lisa-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lisa.mindbit.ro/pipermail/lisa-users/attachments/20130226/25c3d92e/attachment.html 


More information about the LiSA-Users mailing list