Virtualization RouterOs

I’d suggest starting with a good host if you want to get familiar with virtualization. Novell’s been doing it longer than most linux vendors and it’s getting fairly polished. Here it is in OpenSuSE 11.0.

Installation options:

Virtual machines running and MT console:

Modifying a virtual machine:

I have one question Can I have the interfaces that I have in host? I have three interfaces:

WAN and LAN(bridge of LAN1 and LAN2) hot to configure them in order to configure the same like masquerade, and other ruls?

Whe I’m using the centos image available in wiki page, and does not detec the any interface
I see one bridge interface but isn’t working correctly

I can make Router OS but after I can not connect to it, I would like to have the same interfaces line in Router Host, also in Router Guest in order to copy my current configuration in Guest, and to run. I also plan to install a linux system and than put squid on it to make it web proxy for my clients but till I will have any help how to configure interfaces I must wait!!!

And one question for jp if the virtual mashines run but itself if power goes off and on and came back, or will need to start them like in VMware Workstation?

Depends on whether you have the XEN manager enabled for the runlevel 5. I’m not worried about power going out. We have UPSs, diesel gen, and good power at my datacenter building. I’ve got some old machines with >1000 day uptime.

It works, but it didn’t convince me.

Now I’m trying to run the xen routeros img on a Ubuntu host
Isn’t there any routeros premade xen image to use with any xen linux host?
How I should create the img for routeros? (swap data?) (xen-tools.conf)

The way I understand things is that XEN is simply the equivalent of VMWare or Virtual Server. So all you have to do is create a new virtual machine on the host server and then capture the appropriate ISO image. So download the latest x86 image from Mikrotik.

I specify the disks used to be the x86 installation ISO, then the second disk is to create a 250MB file for a virtual disk. After installation, you can remove the ISO from the configuration. For upgrades, ftp the new file to the virtual machine like any other MT. To move it to another host, move the virtual disk file and the two files in /etc/xen/vm to the new hypervisor machine.

I want to do that way but I can’t.
I don’t got any linux desktop to create the image and install the routeros
Xen isn’t available for windows xp
So I must do everything remote from a shell

Would be cool having a standard routeros instalation image to start with.

Jp can you post your xen routeros config file?

If I use an image made with routeros
I get
ERROR: Your disk file system is corrupted!

If i use an image from vmware converted to raw with qemu
I get

Demo license expired!
Please reinstall the router.

connect failed (errno=2)

Is my cfg ok?

kernel = “/boot/vmlinuz-2.6.24-21-xen”
ramdisk = “/boot/initrd.img-2.6.24-21-xen”
name = “Jenny”
memory = “128”
disk = [ ‘tap:aio:/xen/domains/Jenny/disk.img,xvda,w’, ]
vif = [ ‘bridge=xenbr0’, ]
vcpus=1
on_reboot = ‘destroy’
on_crash = ‘destroy’
root = “/dev/xvda1 ro”