Community discussions

MikroTik App
 
yllwfsh
just joined
Posts: 6
Joined: Tue Aug 18, 2015 9:03 pm
Location: NL/DE
Contact:

Re: Cloud Hosted Router

Mon Jan 25, 2016 2:05 am

Hi guys,

Got it running on our XenServer 6.5 environment (CHR 6.34rc41), however, when I try to 'migrate' the vm to a different host it freezes. Also shutdown via Xen doesn't work (restart does).

Would it be possible to give the XenServer host some info via the Kernel? It currently looks like this:
Screen Shot 2016-01-25 at 00.58.59.png
I know that Xen support is possible via the Linux kernel because Debian/Ubuntu works (says Virtualisation state 'Optimised' and OS name) even without Xen Tools.

On a positive note: got full Gigabit performance between a Routerboard and CHR with the built-in speedtest. Nice.

I'm really looking forward to implement CHR in our environment. Starting as secondary router initially but who knows...
You do not have the required permissions to view the files attached to this post.
 
metricmoose
newbie
Posts: 48
Joined: Sat Nov 21, 2015 2:03 am

Re: Cloud Hosted Router

Mon Jan 25, 2016 5:11 am

The CHR is working mostly great from my brief tests on VMware and Hyper-V. I'd love to virtualize a couple old hotspot routers, though I've noticed an issue with Usermanager. For some reason, when I click on the "Maintenance" button, I immediately get a message saying "Invalid/unknown response from server:". Then I'm kicked out to the login screen with a "Your session has been reset due to inactivity" message. Should I create a support ticket for this issue?

Also, I really like the CHR licensing setup with the System IDs and the account interface to move around licenses. It makes a lot more sense to me than tying it to the CF card / HDD. Are there any plans to bring this licensing setup to the regular X86 image or other Routerboards?
 
paranoid
just joined
Posts: 7
Joined: Fri Dec 25, 2009 8:59 pm
Contact:

Re: Cloud Hosted Router

Mon Jan 25, 2016 12:13 pm

I'm trying to use a CHR as PPPoE Server with Radius authentication.
But every time a client reach a full traffic specified on queue... the CHR reboots.

This happens specially when using a SpeedTest.

If I kill the queue related to the PPPoE client, everything works OK. But then I cannot limit the client.
The queue is generated automatically, but even if I try to setup manually the same kind of queue, same thing happens.

Using latest version 6.34rc34

Please Help!

------------------------------------------------------------------------------------------------------------------------------------
Edit:
I've installed the stable version, 6.33.3 x86 on top of ESXi and everything went well.
Same scenario from the CHR, but CHR reboots it self when queue reaches the top.

It's probably a bug from CHR. Thanks
Hi

I use CHR 6.34rc41 on linux kvm ubuntu 14.04

If I enable mangling rules and queue tree, routeros reboots on queue limit. Seems to be the same bug.

Kind regards
 
s802
just joined
Posts: 3
Joined: Fri Jan 22, 2016 6:59 pm

Re: Cloud Hosted Router

Mon Jan 25, 2016 6:03 pm

Ok some more simple tests today in azure, (thanks to support for the test license)

Getting good bandwidth on receive tests inside Azure,

634 Mbps

Having some problems on send tests im looking at, ill update soon

One thing worth noting, every shutdown and restart enables a new interface, so after 7 startups I am on ether7 for my lan interface. This is probably udev related, ive seen this on centos on azure before.

https://azure.microsoft.com/en-us/docum ... hd-centos/

Going to try some vpn tunnels next, I have BGP already runnning over an openvpn tunnel between AWS & AZURE (two private networks, AWS ), very stable & low latency.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Tue Jan 26, 2016 1:14 am

Running pretty well in VMWare vCloud using VMXNET3. Not as well as on hardware, but I'm getting ~1.4Gbps raw TCP across 2 interfaces w/ 1 2Ghz CPU. I'm getting about 800Mbps across a simple queue.

When can we expect an upgradable release? I don't want to go through the process of making a vCloud compatible ovf more than once (VMWare workstation create VM w/ VMDK file, export, convert to vCloud ovf, upload to vCloud! ).

Thanks.
 
HaPe
Member Candidate
Member Candidate
Posts: 239
Joined: Fri Feb 10, 2012 10:24 pm
Location: Poland

Re: Cloud Hosted Router

Tue Jan 26, 2016 1:24 am

CHR 6.34rc41 (Release candidate) doesn't work with HYPER-V 1st generation. There is a boot loop after DSK key generation...
WIN 10 pro+hyper-v.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Jan 26, 2016 10:33 am

Ok some more simple tests today in azure, (thanks to support for the test license)

Getting good bandwidth on receive tests inside Azure,

634 Mbps

Having some problems on send tests im looking at, ill update soon

One thing worth noting, every shutdown and restart enables a new interface, so after 7 startups I am on ether7 for my lan interface. This is probably udev related, ive seen this on centos on azure before.

https://azure.microsoft.com/en-us/docum ... hd-centos/

Going to try some vpn tunnels next, I have BGP already runnning over an openvpn tunnel between AWS & AZURE (two private networks, AWS ), very stable & low latency.
create support output file on running, then shut down/start and if interface name has changed again - create another support output file and send it to us so we can check what is the issue with this.

syadnom
whan you mean - upgradable? It should be from the start upgradable to newer version. Only when you run out of the lincese time upgrade is not possible.
 
zylantha
just joined
Posts: 11
Joined: Sat Oct 30, 2010 3:06 pm

Re: Cloud Hosted Router

Tue Jan 26, 2016 12:41 pm

Got it running on our XenServer 6.5 environment (CHR 6.34rc41)
What is the trick to get it running in XenServer? All of us are stuck with the dreaded "Booting kernel failed: Invalid argument" message.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Tue Jan 26, 2016 6:56 pm

syadnom
whan you mean - upgradable? It should be from the start upgradable to newer version. Only when you run out of the lincese time upgrade is not possible.
right now I only see the images on the download page, no 'upgrade' packages.

I'm on rc41, but rc45 is available. How do I upgrade?
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kyiv

Re: Cloud Hosted Router

Tue Jan 26, 2016 7:27 pm

syadnom
whan you mean - upgradable? It should be from the start upgradable to newer version. Only when you run out of the lincese time upgrade is not possible.
right now I only see the images on the download page, no 'upgrade' packages.
I'm on rc41, but rc45 is available. How do I upgrade?
Current:
/system package update
set channel=current
check-for-updates

/system package update
set channel=current
download

/system reboot
Release-candidate:
/system package update
set channel=release-candidate
check-for-updates

/system package update
set channel=release-candidate
download

/system reboot
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Tue Jan 26, 2016 11:14 pm

got it. thanks.
 
yllwfsh
just joined
Posts: 6
Joined: Tue Aug 18, 2015 9:03 pm
Location: NL/DE
Contact:

Re: Cloud Hosted Router

Wed Jan 27, 2016 12:41 am

Got it running on our XenServer 6.5 environment (CHR 6.34rc41)
What is the trick to get it running in XenServer? All of us are stuck with the dreaded "Booting kernel failed: Invalid argument" message.
I downloaded the VDI image, then made a new VM in VirtualBox with that VDI as hard disk (according howto on page 1). Started the machine in VirtualBox to let the image install. Then exported the machine and imported it in XenServer 6.5 with the profile 'Other install media' and voila it boots!

Don't worry about adding the right number of interfaces beforehand, you can do that in XenServer.

Tip for expanding the hard drive of the image: just increase the disk size with XenServer and then boot the vm with Gparted Live iso. Expand the partition, reboot, eject the iso and you're done.
Last edited by yllwfsh on Wed Jan 27, 2016 12:59 am, edited 1 time in total.
 
yllwfsh
just joined
Posts: 6
Joined: Tue Aug 18, 2015 9:03 pm
Location: NL/DE
Contact:

Re: Cloud Hosted Router

Wed Jan 27, 2016 12:56 am

Don't know if it's allowed to share the XenServer image according to forum rules, but here goes:

Download here

It's a 96MB .xva export with two interfaces and 1GB disk. Enjoy testing.

Disclaimer: Own risk, no support etc etc (standard stuff)
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Wed Jan 27, 2016 1:06 pm

if you increase the virtual disk size before hand, then when RouterOS installs, it will take that new size. So, you can increase the image before the virtualbox.
 
User avatar
juanvi
Member Candidate
Member Candidate
Posts: 165
Joined: Mon May 05, 2014 6:55 pm
Location: SPAIN

Re: Cloud Hosted Router

Wed Jan 27, 2016 2:13 pm

http://www.mikrotik.com/chr-6.34rc45.img.zip not available

How I can resize VMware disk image file before installs?
 
biomesh
Long time Member
Long time Member
Posts: 562
Joined: Fri Feb 10, 2012 8:25 pm

Re: Cloud Hosted Router

Wed Jan 27, 2016 3:11 pm

Juanvi, you can use the vmware provided tool vmware-vdiskmanager for the pre deployment resizing.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Wed Jan 27, 2016 3:51 pm

I just uses VMware workstation to do it.

For vcloud you can just use it as is, then resize it once deployed. Boot up your fav partitioning iso and resize.
 
User avatar
juanvi
Member Candidate
Member Candidate
Posts: 165
Joined: Mon May 05, 2014 6:55 pm
Location: SPAIN

Re: Cloud Hosted Router

Wed Jan 27, 2016 4:36 pm

My walkaround:

Starting with raw. Downloaded chr-6.34rc19.img from this thread link.

Then qemu:
Resize image with quemu
cd "C:\Program Files\qemu\"
qemu-img resize -f raw chr.img +500M

And convert to VM:
qemu-img convert -f raw -O vmdk chr-6.31rc9.img chr-6.31rc9.vmdk

Working well. Updated with winbox to 6.34rc45 with no problems now. Thanks to all. No know about these tools for pre-deployment.
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: Cloud Hosted Router

Thu Jan 28, 2016 3:12 am

Any updates on making an OVA so it doesn't take 47 steps to get into vSphere?
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Thu Jan 28, 2016 3:23 am

Any updates on making an OVA so it doesn't take 47 steps to get into vSphere?
I just did it once and have imported the same 'bare image' a bunch of times. Then generate a new ID once you've booted it up. Now that I figured out (...was told what to do...) updating, this is really simple and takes just 30-40 seconds to spawn a new CHR from the template.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Jan 28, 2016 10:13 am

just do not downgrade below 6.34rc25 as older versions will not have licensing. So, when using /system package update, make sure to what version your CHR is going to be changed (upgraded or downgraded)
 
s802
just joined
Posts: 3
Joined: Fri Jan 22, 2016 6:59 pm

Re: Cloud Hosted Router

Thu Jan 28, 2016 7:20 pm

Quick update on azure, as a cold start (start from shutdown) results in a new mac address (static mac addresses are on the roadmap for azure). your interface number will increment eat every boot, so ether2 becomes ether3 etc.... If your planning to go 24x7 that is not really an issue, if your planning to stop and start a lot you could run into issues. Do not hard code any interface names into any rules etc...
 
eugenics61
just joined
Posts: 2
Joined: Fri Jan 29, 2016 8:28 pm

Re: Cloud Hosted Router

Fri Jan 29, 2016 8:46 pm

Running CHR 6.34 VHDX server 2012R2 an Fatal error.
Disk formatting, it is unnecessary
You do not have the required permissions to view the files attached to this post.
 
sacwireless
newbie
Posts: 33
Joined: Sat May 29, 2004 12:27 am
Location: Sacramento, Ca.
Contact:

Re: Cloud Hosted Router

Fri Jan 29, 2016 10:37 pm

for amazon cloud - you have to update to 6.34rc39 or newer.

Here is the new AMI IDs (~1GB of storage):
AMI ID us-west1 ami-8fba10fc (on us-east1 ami-5081a53a)

p.s. if there is important update we will create new AMI image so it is easier to launch as generic CHR as it is possible.
I could only find the ami-5081a53a in us-east-1, could not find anything in us-west-1 or us-west-2.

I was able to launch the ami-5081a53a and then create my own AMI image from the instance I launched, but it would not import the SSH key when launching a new instance, it only kept the original imported SSH key when I launched from your AMI.

Is there something I am missing from being able to have SSH keys imported from AWS when launching?
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Cloud Hosted Router

Sat Jan 30, 2016 6:30 am

Using CHR 6.34 on Qemu 2.4.0, I can duplicate the error eugenics61 mentions above with the vmdk, vdi and img images.
 
paranoid
just joined
Posts: 7
Joined: Fri Dec 25, 2009 8:59 pm
Contact:

Re: Cloud Hosted Router

Mon Feb 01, 2016 1:16 pm

I'm trying to use a CHR as PPPoE Server with Radius authentication.
But every time a client reach a full traffic specified on queue... the CHR reboots.

This happens specially when using a SpeedTest.

If I kill the queue related to the PPPoE client, everything works OK. But then I cannot limit the client.
The queue is generated automatically, but even if I try to setup manually the same kind of queue, same thing happens.

Using latest version 6.34rc34

Please Help!

------------------------------------------------------------------------------------------------------------------------------------
Edit:
I've installed the stable version, 6.33.3 x86 on top of ESXi and everything went well.
Same scenario from the CHR, but CHR reboots it self when queue reaches the top.

It's probably a bug from CHR. Thanks
Hi

I use CHR 6.34rc41 on linux kvm ubuntu 14.04

If I enable mangling rules and queue tree, routeros reboots on queue limit. Seems to be the same bug.

Kind regards
Hi

Updated to CHR 6.34 release, same issue. RouterOS reboots when firewall mangling an queue tree enabled. Ubuntu 14.04 KVM virtio net and blk.
Any Idea?

kind regards,
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Mon Feb 01, 2016 3:27 pm

Using CHR 6.34 on Qemu 2.4.0, I can duplicate the error eugenics61 mentions above with the vmdk, vdi and img images.
try with at least 128MB of RAM.
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Cloud Hosted Router

Tue Feb 02, 2016 4:36 am

Using CHR 6.34 on Qemu 2.4.0, I can duplicate the error eugenics61 mentions above with the vmdk, vdi and img images.
try with at least 128MB of RAM.
Huh... It worked.

I was about to suggest you update the Wiki, but I see you've already done just that. Nice.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Feb 02, 2016 12:29 pm

yes, the inclusion of the dude in the CHR by default caused this problem during the installation phase. After the installation, it is possible to reduce the RAM assigned to the CHR.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Feb 02, 2016 12:51 pm

btw, updated AMI image to the 6.34 new AMI IDs are as follows for the regions eu-west1 ami-7d77c10e, on us-east1 ami-07ddf26d

You can copy the AMI to the other region where you reside.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Feb 02, 2016 4:13 pm

I'm trying to use a CHR as PPPoE Server with Radius authentication.
But every time a client reach a full traffic specified on queue... the CHR reboots.

This happens specially when using a SpeedTest.

If I kill the queue related to the PPPoE client, everything works OK. But then I cannot limit the client.
The queue is generated automatically, but even if I try to setup manually the same kind of queue, same thing happens.

Using latest version 6.34rc34

Please Help!

------------------------------------------------------------------------------------------------------------------------------------
Edit:
I've installed the stable version, 6.33.3 x86 on top of ESXi and everything went well.
Same scenario from the CHR, but CHR reboots it self when queue reaches the top.

It's probably a bug from CHR. Thanks
do you have support output file generated for this setup, if so, then send it to support.
 
aboiles
Frequent Visitor
Frequent Visitor
Posts: 56
Joined: Sat Nov 07, 2015 6:52 pm

Re: Cloud Hosted Router

Tue Feb 02, 2016 4:23 pm

Server 2012R2 CHR as VM
Router OS c6.35rc2

Microsoft-Windows-Hyper-V-VmSwitch
EventID 27
Networking driver in chr loaded but has a different version from the server. Server version 5.0 Client version 3.2 (Virtual machine ID 59ECB3F6-B990-41F1-9013-786895557B5C). The device will work, but this is an unsupported configuration. This means that technical support will not be provided until this problem is resolved. To fix this problem, upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu.

Are there plans to upgrade the native drivers for Hyper-V?
 
sacwireless
newbie
Posts: 33
Joined: Sat May 29, 2004 12:27 am
Location: Sacramento, Ca.
Contact:

Re: Cloud Hosted Router

Wed Feb 03, 2016 7:23 am

btw, updated AMI image to the 6.34 new AMI IDs are as follows for the regions eu-west1 ami-7d77c10e, on us-east1 ami-07ddf26d

You can copy the AMI to the other region where you reside.
I get the following when trying to copy the us-east1 AMI:

"You do not have permission to access the storage of this ami"

To make sure I could actually copy an AMI, I made a copy Amazon's own ami-60b6c60a, which went without a hitch.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Feb 04, 2016 12:53 pm

sorry about that. Snapshots are made public now for US N.Arizona and EU Irelan clusters.
 
yllwfsh
just joined
Posts: 6
Joined: Tue Aug 18, 2015 9:03 pm
Location: NL/DE
Contact:

Re: Cloud Hosted Router

Thu Feb 04, 2016 1:05 pm

Any update on Xen kernel support for upcoming releases? CHR itself is working nicely but it's useless to me in a XenServer environment if I cannot make it migrate between servers.
 
sacwireless
newbie
Posts: 33
Joined: Sat May 29, 2004 12:27 am
Location: Sacramento, Ca.
Contact:

Re: Cloud Hosted Router

Thu Feb 04, 2016 10:34 pm

sorry about that. Snapshots are made public now for US N.Arizona and EU Irelan clusters.

perfect! i was able to copy the ami and launch an instance in us-west-2 without any issues, thank you!!
 
sacwireless
newbie
Posts: 33
Joined: Sat May 29, 2004 12:27 am
Location: Sacramento, Ca.
Contact:

Re: Cloud Hosted Router

Fri Feb 05, 2016 4:50 am

sorry about that. Snapshots are made public now for US N.Arizona and EU Irelan clusters.
I just noticed that no matter what you set the disk size to on AWS EC2 when launching the official AMI(or copied), it seems to be only around 100MB...

[admin@] > /system resource print
uptime: 3m39s
version: 6.34 (stable)
build-time: Jan/29/2016 10:25:47
free-memory: 479.0MiB
total-memory: 496.3MiB
cpu: Intel(R)
cpu-count: 1
cpu-frequency: 2400MHz
cpu-load: 0%
free-hdd-space: 64.1MiB
total-hdd-space: 95.2MiB
write-sect-since-reboot: 2224
write-sect-total: 2225
architecture-name: x86_64
board-name: CHR
platform: MikroTik

Trying to import a 245MB Dude export obviously fails because there is not enough storage. Thoughts/Fixes?
 
sacwireless
newbie
Posts: 33
Joined: Sat May 29, 2004 12:27 am
Location: Sacramento, Ca.
Contact:

Re: Cloud Hosted Router

Fri Feb 05, 2016 10:29 pm

I have managed to expand the partition myself on AWS and give the instance I launched more space, it would be nice though if the official AMI actually used the 1GB of space it was built with originally.

I am sure some people out there might have large Dude backups that they would want to import/export, or other optional services/files that run on MikroTik that might require more space that we had running on x86 version of MikroTik.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Sat Feb 06, 2016 12:35 am

You can use secondary drive for Dude.
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Playing with my first install - time is off..

Sun Feb 07, 2016 6:31 pm

Just installing my first install CHR and playing with it. Hyper-V host.

The time service is off. It seems to take the time from the host. But it ignores the datetime offset.

If I configure CHR timezone, the offset gets applied twice ;) Quite obvious for me, as I am in europe, the machine in chicago and the server is running US local time.

In order to get the correct time, I must set it to Etc/GMT+0 - which neither me nor the machine have.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Playing with my first install - time is off..

Sun Feb 07, 2016 6:40 pm

Just installing my first install CHR and playing with it. Hyper-V host.

The time service is off. It seems to take the time from the host. But it ignores the datetime offset.

If I configure CHR timezone, the offset gets applied twice ;) Quite obvious for me, as I am in europe, the machine in chicago and the server is running US local time.

In order to get the correct time, I must set it to Etc/GMT+0 - which neither me nor the machine have.
Hyper-v has given me issues setting the hardware time on Linux vms. I suspect this is just hyper-v being peculiar.
 
brwainer
newbie
Posts: 47
Joined: Tue Feb 02, 2016 2:55 am

Re: Playing with my first install - time is off..

Sun Feb 07, 2016 10:19 pm

Just installing my first install CHR and playing with it. Hyper-V host.

The time service is off. It seems to take the time from the host. But it ignores the datetime offset.

If I configure CHR timezone, the offset gets applied twice ;) Quite obvious for me, as I am in europe, the machine in chicago and the server is running US local time.

In order to get the correct time, I must set it to Etc/GMT+0 - which neither me nor the machine have.
Hyper-v has given me issues setting the hardware time on Linux vms. I suspect this is just hyper-v being peculiar.
Do you try to use the Hyper-V "Integration feature" of "Time synchronization"? try setting up VMs with that on and off and see if there is a difference. I never have time issues with Time Synchronization on, but I only use Centos 6/7 on Hyper-V, and I always install the hyper-v tools in the guest via yum.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Mon Feb 08, 2016 11:40 am

sorry about that. Snapshots are made public now for US N.Arizona and EU Irelan clusters.
I just noticed that no matter what you set the disk size to on AWS EC2 when launching the official AMI(or copied), it seems to be only around 100MB...

[admin@] > /system resource print
uptime: 3m39s
version: 6.34 (stable)
build-time: Jan/29/2016 10:25:47
free-memory: 479.0MiB
total-memory: 496.3MiB
cpu: Intel(R)
cpu-count: 1
cpu-frequency: 2400MHz
cpu-load: 0%
free-hdd-space: 64.1MiB
total-hdd-space: 95.2MiB
write-sect-since-reboot: 2224
write-sect-total: 2225
architecture-name: x86_64
board-name: CHR
platform: MikroTik

Trying to import a 245MB Dude export obviously fails because there is not enough storage. Thoughts/Fixes?
my bad. Here are new AMIs with 6.34.1 and proper image size: eu-west1 ami-bef141cd; us-east1 ami-3f486355

as any size below 1GB is not reasonable as that is the smallest possible image size.


Edit: all fixed now
Edit: even us-east1 permissions fixed. Also, there are 2 AMIs usually, so any of you can copy any of those to the other cluster.
 
pfalconi
just joined
Posts: 3
Joined: Tue Jun 10, 2014 1:29 am
Location: Quito

Re: Cloud Hosted Router

Thu Feb 11, 2016 5:14 pm

Hi Normis,

I can purchase a license and assign it to CHR?

Thanks for your reply.
 
User avatar
shaoranrch
Member Candidate
Member Candidate
Posts: 184
Joined: Thu Feb 13, 2014 8:03 pm

Re: Cloud Hosted Router

Mon Feb 15, 2016 2:31 am

Hi,

Could anyone tell me if Bridge Filter works on CHR? Been working on some simulations, need to filter traffic comming from an especific port with an especific VLAN tag, but the problem is, the rules never "trigger". It's a simple rule matching:

1.- In-Interface (the interface belongs to a bridge)
2.- MAC Protocol = VLAN
3.- VLAN ID = 100

Running V6.33.5
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Mon Feb 15, 2016 3:38 am

What virt environment? Some don't support vlans...
 
User avatar
shaoranrch
Member Candidate
Member Candidate
Posts: 184
Joined: Thu Feb 13, 2014 8:03 pm

Re: Cloud Hosted Router

Mon Feb 15, 2016 4:35 am

What virt environment? Some don't support vlans...
This is running on GNS3 I can see the tags by using Wireshark, so the issue is not a lack of support.

As a matter of fact I've tested the VLANS a lot with virtual switches connected to the mk boxes and mikrotik connected to another mikrotik. The issue is the rules never trigger. Even though the interface is receiving tagged traffic.

Enviado desde mi MotoE2(4G-LTE) mediante Tapatalk
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Mon Feb 15, 2016 8:18 am

Bridge firewall has to be enabled explicitly. It is off by default.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re:

Mon Feb 15, 2016 4:01 pm

Bridge firewall has to be enabled explicitly. It is off by default.
did you mean 'use-ip-firewall' in bridge settings? it should not affect Bridge Filter
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Mon Feb 15, 2016 5:21 pm

I did. Even CHR may behave differently, I realised that when I needed to use filter rules on bridge level I needed to switch this option on. Maybe I am wrong, it was just hint that could be tried easily within a second.
 
User avatar
shaoranrch
Member Candidate
Member Candidate
Posts: 184
Joined: Thu Feb 13, 2014 8:03 pm

Mon Feb 15, 2016 6:29 pm

It shouldn't do that. That option is for using the /ip firewall. Anyway I tried still no success. I did upgrade to 6.34.1 same issue.

The interface is inside the bridge, I'm talking about the physical interface not a vlan interface. The frames are being received tagged. The rule is a simple in-interface; mac-protocol; vlan-tag.

Whatever I do it doesn't trigger.

Enviado desde mi MotoE2(4G-LTE) mediante Tapatalk
 
User avatar
shaoranrch
Member Candidate
Member Candidate
Posts: 184
Joined: Thu Feb 13, 2014 8:03 pm

Re: Cloud Hosted Router

Tue Feb 16, 2016 2:31 am

So I did try the rule on real equipment and works as intended. I think this is a bug of some sort or a non-supported feature on CHR (which would be nice to have)
 
nmaton
Frequent Visitor
Frequent Visitor
Posts: 72
Joined: Fri Feb 18, 2011 12:31 am

Re: Cloud Hosted Router

Tue Feb 16, 2016 8:46 pm

Is there any news regarding SR-IOV support?
I've demo installed a Cloud hosted router in openstack but I can't seem to see my SR-IOV interface?
Has this been cancelled? We would really like to use the CHR as our routing engine in Openstack, however without SR-IOV we can't use it decently.

Thanks!
 
User avatar
shaoranrch
Member Candidate
Member Candidate
Posts: 184
Joined: Thu Feb 13, 2014 8:03 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 1:58 am

Also, still got issues with BGP and CHR, routes being advertised by other routers don't appear in the:

/routing bgp advertisements print

But the routes are installed inside the routing table.

V6.34.1
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Wed Feb 17, 2016 3:00 pm

iam getting this here

[raffaello@CHR-1] > system license renew account=raffav level=p1
password: ******
status: ERROR: This System ID with old ID already received trial
license key pause]

[raffaello@CHR-1] > system license print
system-id: Bfj8Y2IKdRJ
level: free
[raffaello@CHR-1] > system license generate-new-id
Your license will become invalid. Continue, yes? [y/N]:
y
[raffaello@CHR-1] > system license print
system-id: CCpSFPsCZkE
level: free
[raffaello@CHR-1] >
[raffaello@CHR-1] > system license renew account=raffav level=p1
password: ******
status: ERROR: This System ID with old ID already received trial
license key pause]

[raffaello@CHR-1] >
/system resource> print
uptime: 9m56s
version: 6.35rc8 (testing)
build-time: Feb/11/2016 07:07:30
free-memory: 219.7MiB
total-memory: 245.8MiB
cpu: Intel(R)
cpu-count: 4
cpu-frequency: 2394MHz
cpu-load: 0%
free-hdd-space: 14.8GiB
total-hdd-space: 14.9GiB
write-sect-since-reboot: 1176
write-sect-total: 1177
architecture-name: x86_64
board-name: CHR
platform: MikroTik
 
aboiles
Frequent Visitor
Frequent Visitor
Posts: 56
Joined: Sat Nov 07, 2015 6:52 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 5:14 pm

I am no longer able to update the CHR,

/system license> print
system-id: -
level: p1
limited-upgrades:yes
next-renewal-at: feb/21/2016 19:03:55
deadline-at: feb/16/2016 21:59:59
 
HellMind
Member Candidate
Member Candidate
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 5:43 pm

iam getting this here

[raffaello@CHR-1] > system license renew account=raffav level=p1
password: ******
status: ERROR: This System ID with old ID already received trial
license key pause]

[raffaello@CHR-1] > system license print
system-id: Bfj8Y2IKdRJ
level: free
[raffaello@CHR-1] > system license generate-new-id
Your license will become invalid. Continue, yes? [y/N]:
y
[raffaello@CHR-1] > system license print
system-id: CCpSFPsCZkE
level: free
[raffaello@CHR-1] >
[raffaello@CHR-1] > system license renew account=raffav level=p1
password: ******
status: ERROR: This System ID with old ID already received trial
license key pause]

[raffaello@CHR-1] >
/system resource> print
uptime: 9m56s
version: 6.35rc8 (testing)
build-time: Feb/11/2016 07:07:30
free-memory: 219.7MiB
total-memory: 245.8MiB
cpu: Intel(R)
cpu-count: 4
cpu-frequency: 2394MHz
cpu-load: 0%
free-hdd-space: 14.8GiB
total-hdd-space: 14.9GiB
write-sect-since-reboot: 1176
write-sect-total: 1177
architecture-name: x86_64
board-name: CHR
platform: MikroTik
Same to me,
I bought a new p1 also to use it , And it doesnt work,
I dont see it in the mikrotik webpage.
I got my system down :(
 
HellMind
Member Candidate
Member Candidate
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 6:28 pm

How can I change the old ID?
I really need to active the routeros again.
I cant doit with a trial or with a paid license.
Im trapped
 
HellMind
Member Candidate
Member Candidate
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 6:31 pm

I bought 2 upgrade license p1
and I see nothing in the site:(
http://puu.sh/nbmT0/75256a753a.png
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Wed Feb 17, 2016 7:08 pm

maybe because the license is not 100% available for sell
and i think that for the trial time for now was supposed to able renew it
 
HellMind
Member Candidate
Member Candidate
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 7:18 pm

Well the system is available , it let you pay without problem.
Its sad I dont get a reply from mikrotik
 
aboiles
Frequent Visitor
Frequent Visitor
Posts: 56
Joined: Sat Nov 07, 2015 6:52 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 7:19 pm

I am no longer able to update the CHR,

/system license> print
system-id: -
level: p1
limited-upgrades:yes
next-renewal-at: feb/21/2016 19:03:55
deadline-at: feb/16/2016 21:59:59
update
purchased license, renewed from winbox and rebooted.
system upgraded to 6.35rc11
 
HellMind
Member Candidate
Member Candidate
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 7:31 pm

There must be a way at least to get the 24 h unlimited license!
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Wed Feb 17, 2016 7:53 pm

any one have some idea how this will work
Perpetual is a lifetime license (buy once, use forever). It is possible to transfer a perpetual license to another CHR instanse.
 
HellMind
Member Candidate
Member Candidate
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 8:08 pm

How can I generate a new sys id , Chould I change cpu mac or something?
 
HellMind
Member Candidate
Member Candidate
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 8:16 pm

How can I contact Mikrotik besides email support@mikrotik.com ?
It seems they arent working, or dont reply about chr anymore
 
HellMind
Member Candidate
Member Candidate
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

Re: Cloud Hosted Router

Wed Feb 17, 2016 9:35 pm

I get no reply in 5 hours!
Im limited at 1Mb.
 
HellMind
Member Candidate
Member Candidate
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

Re: Cloud Hosted Router

Thu Feb 18, 2016 4:43 am

Solved myself reinstalling the whole vps
 
swoky
just joined
Posts: 2
Joined: Wed Sep 30, 2015 5:58 pm

Re: Cloud Hosted Router

Thu Feb 18, 2016 10:24 am

I bought a p1 license ,but the CHR's license is still free,how can i make it work ?

i tried to renew and also restarted the CHR,but it is still free

[admin@MikroTik] > /system license renew
account: ***
password: ************
level: p1
status: done

[admin@MikroTik] > /system license print
system-id: *****
level: free
[admin@MikroTik] >

i also sent email to support@mikrotik.com,but no response,

i am really in a hurry to fix this problem, pls reply soon
 
enginechassisworks
just joined
Posts: 1
Joined: Fri Feb 19, 2016 7:59 am

Re: Cloud Hosted Router

Fri Feb 19, 2016 8:02 am

Hi guys,

Got it running on our XenServer 6.5 environment (CHR 6.34rc41), however, when I try to 'migrate' the vm to a different host it freezes. Also shutdown via Xen doesn't work (restart does).

Would it be possible to give the XenServer host some info via the Kernel? It currently looks like this:
Screen Shot 2016-01-25 at 00.58.59.png
I know that Xen support is possible via the Linux kernel because Debian/Ubuntu works (says Virtualisation state 'Optimised' and OS name) even without Xen Tools.

On a positive note: got full Gigabit performance between a Routerboard and CHR with the built-in speedtest. Nice.

I'm really looking forward to implement CHR in our environment. Starting as secondary router initially but who knows...
How do you get CHR to work on Xenserver . Still be trying with no luck .
 
User avatar
ploquets
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Nov 17, 2015 12:49 pm
Location: Uruguaiana, RS, Brazil
Contact:

Re: Cloud Hosted Router

Mon Feb 22, 2016 4:44 pm

Is there any stable version for CHR ?
On mikrotik download page we can find a stable version, but, after installing, it recognizes as x86, which make our license invalid.

Thanks
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Feb 23, 2016 2:07 pm

is GNS3 by itself aware of the VLANs sometimes these virtual systems just bork the VLAN tags.
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Cloud Hosted Router

Tue Feb 23, 2016 6:17 pm

is GNS3 by itself aware of the VLANs sometimes these virtual systems just bork the VLAN tags.
While I haven't played with VLANs myself, I've noticed that GNS3 switches have the option to specify a VLAN at each port, and there's no "pass-through" option - you must specify a VLAN, and it defaults to 1.

So it's very much possible that GNS3 effectively ignores all of your VLAN settings, in favor of whatever the switch node says.

Hubs on the other hand have no VLAN setting, so these should definitely preserve VLAN settings.
 
Ascendo
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Sun Sep 09, 2012 12:06 pm

Re: Cloud Hosted Router

Tue Feb 23, 2016 9:00 pm

I bought a p1 license ,but the CHR's license is still free,how can i make it work ?

i tried to renew and also restarted the CHR,but it is still free

[admin@MikroTik] > /system license renew
account: ***
password: ************
level: p1
status: done

[admin@MikroTik] > /system license print
system-id: *****
level: free
[admin@MikroTik] >

i also sent email to support@mikrotik.com,but no response,

i am really in a hurry to fix this problem, pls reply soon
Same problem here except with trial license. Did you ever get it working?
 
User avatar
apteixeira
Trainer
Trainer
Posts: 50
Joined: Fri Oct 05, 2012 5:54 pm

Re: Cloud Hosted Router

Wed Feb 24, 2016 5:17 am

* POST UPDATED: 24-02-2016 @ 09:12AM

How to run CHR on AWS (Amazon Web Services) VPC (Virtual Private Cloud) as the default firewall / router gateway

Many people have been asking me how to use the CHR as the default firewall / router of your VMs behind a VPC in AWS. Here is a guide that will guide you step by step. Is not as hard as it seems.

Basic concepts:

What is AWS?
https://aws.amazon.com/

What is an EC2?
https://aws.amazon.com/ec2/

What is a VPC?
https://aws.amazon.com/vpc/

Considerations
- You have to define different LAN/WAN segments for your CHR and for your VMs behind the CHR
- Your LAN segment on the CHR will be different from your LAN segment on your VMs. AWS will route then for you
- The VPC will control the routes between your networks

Network layout:

Image

Steps:

1. Create a VPC using the wizard. Choose "VPC with Public and Private Subnets"
* LAN for VMs: 10.10.21.0/24 (LAN1)
* LAN for CHR: 10.10.11.0/24 (LAN2)

Image

Image

Image

2. Once done you will need to delete the NAT gateway or NAT instance automatically created by the wizard. The CHR will replace this NAT instance.

3. Now you need to create another subnet that will connect the CHR to the internet
* WAN for CHR: 10.10.12.0/24 (WAN)

Image

4. At the VPC subnets menu you have to change the route table assigned to the new subnet. You have to choose the NOT main table where target for 0.0.0.0/0 will be something like this "igw-c064bfa4"

Image

5. Create you CHR VM based on AMI (image)
* Assign and IP from WAN network
* Create and assign a security profile with full access (because the CHR will be your firewall)

Image

6. Once created you have to disable "Source/Destination Check" to allow the CHR to be the gateway of your VMs

Image

Image

7. Create and assign an elastic IP for you CHR
* Now you can access your CHR from internet
* Highly recommended: change default password of the CHR
* Check that you can access the CHR, then shutdown the VM

Image

* UPDATED: 24-02-2016 @ 09:12AM
8. Create a new network interface and assign it to the CHR
* Assign and IP from LAN2 (this will be used to reach your VMs)
* Also disable "Source/Destination Check" on this new interface (check step 6)

Image

* UPDATED: 24-02-2016 @ 09:12AM
9. VPC main routing table: you have to change the VPC main routing table to allow you CHR to be the default gateway of your VMs. To do that you have to:
* Modify the main routing table selecting your CHR VM as gateway for destination 0.0.0.0/0

Image

10. Start your CHR VM
* Access it using winbox or webfig (use elastix IP)

11. Add a DHCP client on the ether2 (subnet to access LAN servers) without default route

Image

Image

12. Add a static route to reach the LAN segment

Image

13. Create and start a new VM and assign to your LAN1 segment (10.10.21.0/24)
* Assign a security profile with full access (because the CHR will be your firewall)

Image

14. Once started you should ping it from your CHR

Image

15. Create the appropriate masquerade rule and a dst-nat to access your VM.

Image

16. Finally access your VM from the public IP

Image

17. Configuring your CHR as firewall, vpn server, etc

18. You can access the actual example CHR to see the configuration (use winbox):
IP: 52.72.63.46
User: mikrotik
Password: mikrotik
Group: read


* UPDATED: 24-02-2016 @ 09:12AM
19. Access the web server behind the CHR
* To check that is working you can access via web browser to http://52.72.63.46:380/
* There is a dst-nat to access the web server on the Ubuntu server behind the CHR
Last edited by apteixeira on Wed Feb 24, 2016 3:20 pm, edited 3 times in total.
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: Cloud Hosted Router

Wed Feb 24, 2016 10:52 am

is GNS3 by itself aware of the VLANs sometimes these virtual systems just bork the VLAN tags.
The GNS switches are VLAN aware if you change the port from access to dot1q. I've been using VLANs with CHR in GNS3 successfully since the CHR 6.32 image
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Mon Feb 29, 2016 5:54 pm

just linking in my request http://forum.mikrotik.com/viewtopic.php?f=1&t=105277

I really would like to have this setup in HA, but need the integration tools/kernel module to do so. I believe this should be pretty easy to integrate, but can only be done by mikrotik.. Thanks.
 
yllwfsh
just joined
Posts: 6
Joined: Tue Aug 18, 2015 9:03 pm
Location: NL/DE
Contact:

Re: Cloud Hosted Router

Tue Mar 01, 2016 9:19 am

just linking in my request http://forum.mikrotik.com/viewtopic.php?f=1&t=105277

I really would like to have this setup in HA, but need the integration tools/kernel module to do so. I believe this should be pretty easy to integrate, but can only be done by mikrotik.. Thanks.
As per my earlier request I second that.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Tue Mar 01, 2016 4:27 pm

I can live-migrate... but without the xentools kernel module installed, the CHR is freezing on resume. I've found plenty of posts about the linux kernel freezing the same way then xentools isnt installed. I can't pull anything of value out of the CHR's logs so can only assume this is the issue.

Also, xentools implies he PV NIC drivers. It's apparent that these are not in use because the network performance is 1/3 of what it is in VMWARE with VMXNET3.

Just to maybe entice mikrotik, here is a VERY nice scenario

2x XenServer hosts with glusterfs on dom0 using local storage, exported via nfs, and used in XenCenter as NAS storage. CHR hosted on this storage and able to be configured HA *and* able to be live migrated between XenServer hosts. This is a FANTASTIC 2 node, redundant cluster for hosting CHR, as well as ntopng, dns servers, etc in service to a wISP and can be done in 2U as to not break the bank if your uplink is a datacenter.. This cannot be done with vmware... Can be done with Hyper-V and kvm too.

I guess what I'm saying is please don't make vmware the only priority, xen pv and kvm pv will certainly be ideal hosts and hyper-v potentially .
 
C0ReDuMP
just joined
Posts: 9
Joined: Fri Sep 12, 2014 8:11 pm

Re: Cloud Hosted Router

Thu Mar 03, 2016 8:31 pm

CHR 6.34rc41 (Release candidate) doesn't work with HYPER-V 1st generation. There is a boot loop after DSK key generation...
WIN 10 pro+hyper-v.
Using the synthetic network adapter the boot loop occurs also on Windows 2012 R2 and Windows 8.1. With legacy network adapter the CHR boot correctly but the speed is limited to 100 Mbps.

On Windows 2012 (not R2) the CHR boots correctly also with synthetic network adapter. Probably it works also on Windows 8 (I didn't test this last configuration).

Could MikroTik help us to solve this problem? In our server farm all the hypervisors are 2012 R2 and we would like to buy some CHR licenses.

Thanks in Advace,
Davide
 
kbuska
newbie
Posts: 49
Joined: Fri Oct 15, 2010 7:45 pm

Re: Cloud Hosted Router

Thu Mar 03, 2016 10:39 pm

So stupid question time, unlimited license is still per interface or its unlimited?
Last edited by kbuska on Mon Mar 07, 2016 9:56 pm, edited 2 times in total.
 
C0ReDuMP
just joined
Posts: 9
Joined: Fri Sep 12, 2014 8:11 pm

Re: Cloud Hosted Router

Fri Mar 04, 2016 2:43 am

CHR 6.34rc41 (Release candidate) doesn't work with HYPER-V 1st generation. There is a boot loop after DSK key generation...
WIN 10 pro+hyper-v.
Using the synthetic network adapter the boot loop occurs also on Windows 2012 R2 and Windows 8.1. With legacy network adapter the CHR boot correctly but the speed is limited to 100 Mbps.

On Windows 2012 (not R2) the CHR boots correctly also with synthetic network adapter. Probably it works also on Windows 8 (I didn't test this last configuration).

Could MikroTik help us to solve this problem? In our server farm all the hypervisors are 2012 R2 and we would like to buy some CHR licenses.

Thanks in Advace,
Davide

Hello,
I found a solution on Windows 2012 R2: I set the Synthetic network adapter as connected and I assigned a static MAC address to it. It seems that if you leave the synthetic network adapter disconnected the reboot loop occurs.

Now I'm facing another problem related to MikroTik:
I set the VMSwitch port connected to the VM on my hypervisor 2012 R2 in trunk mode using the powershell command:

Set-VMNetworkAdapterVlan –VMName MyVM –Trunk –AllowedVlanIdList 150-155 –NativeVlanId 1

as suggested here: https://technet.microsoft.com/en-us/lib ... 79878.aspx

then I created the vlan150 (ID: 150) on MikroTik device and assigned an IP to it. Unfortunately the VM can't reach any other server on the VLAN 150.

I tried installing a debian jessie VM instead of CHR and I created the VLAN 150 on the linux VM. From the linux VM I can reach all other servers in VLAN 150.

I read in some thread that some versions of the synthetic network adapter driver (included in Linux Integration Services) have problems working with VLAN.

I hope that someone at MikroTik could help us to solve this issue.

Thanks in Advace,
Davide
 
kbuska
newbie
Posts: 49
Joined: Fri Oct 15, 2010 7:45 pm

Re: Cloud Hosted Router

Mon Mar 07, 2016 9:57 pm

So stupid question time, unlimited license is still per interface or its unlimited?
Bump.
 
brotherdust
Member Candidate
Member Candidate
Posts: 130
Joined: Tue Jun 05, 2007 1:31 am

Re: Cloud Hosted Router

Mon Mar 07, 2016 10:37 pm

Any thoughts on offering a lab-type license?
- No limits on anything
- Can be cloned infinitely

I'm sure there could be some concern over lost revenue due to possibility of someone using this in production. Maybe have something like Cisco VIRL where it's all in a self-contained VM image?

Or, perhaps, a time-limit on how long the instance of a router can be live before some kind of soft-expiration that causes the 1Mbps limit to again be enforced.

Thoughts?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Mon Mar 07, 2016 11:59 pm

 
kbuska
newbie
Posts: 49
Joined: Fri Oct 15, 2010 7:45 pm

Re:

Tue Mar 08, 2016 12:37 am

I read this, and it leads me to believe the P1 and P10 is per interface and the P-Unlimited is just that, Unlimited. You pay $250 and Mikrotik doesn't care how many interfaces you have on your CHR and at what speed. I'm just trying to clear up my confusion as I don't want to tell my supervisor one thing and then have to go back and tell him something different later.

Regards,
Ken
 
brotherdust
Member Candidate
Member Candidate
Posts: 130
Joined: Tue Jun 05, 2007 1:31 am

Re:

Tue Mar 08, 2016 6:27 am

I was hoping to avoid the trial license because it will require a new one every time I spin up an instance.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Mar 08, 2016 8:34 am

A 60-day trial is really good for some field testing. It is possible to build and test the intended setup.

For more lab work in network topologies, Free tier is enough as it provides just enough bandwidth.

Also, it is not "per-interface" license it is per instance license. The limitation is per interface. So with either license, it is possible to run as many interfaces as you want on the router.
 
User avatar
munkitkat
just joined
Posts: 7
Joined: Wed Mar 09, 2016 3:14 pm

Re: Cloud Hosted Router

Wed Mar 09, 2016 3:17 pm

I don´t understand that 1Mbit limitation. It is only usefull to see if it runs or not.
For testing I would be much more happy with the 24h test-version (or even less time), to see how it performs compared to the "old" virtualized x86 version.
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Thu Mar 10, 2016 3:17 am

I don´t understand that 1Mbit limitation. It is only usefull to see if it runs or not.
For testing I would be much more happy with the 24h test-version (or even less time), to see how it performs compared to the "old" virtualized x86 version.
Hello
Please read the wiki for chr
You can test 60 day for free all the 3 license type
1gb,10gb or unlimited speed
All functions is unlocked even on the free 1mbit speed limited
The 1 mbit is free and is for lab, training or maybe for dude monitoring
I can't see why a 24h is better than 60day
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Thu Mar 10, 2016 3:25 am

The license transfer has some kind of limit count or some type of cool down period to do a transfer again?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Wed Mar 23, 2016 1:53 pm

just heads up post:

CHR since 6.35rc37 will not require initial installation at first boot. So you can use this without issues on XEN or ESXi that had issues and image hat to bee booted up in KVM or similar to perform the installation. Another nice feature is an automatic expansion of storage, if you increase image in size, CHR will automatically adjust to the new size (do not attempt to reduce the size). So, shutdown the guest, increase image size, start the guest and enjoy additional storage available. Also, a lot of fixes for Hyper-V VMS - It is now working on Windows 8/10, VLANs are fixed, you have to enable them for the guest.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Wed Mar 23, 2016 5:26 pm

Automatic expansion! That's something! Will it work for x86 too?
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Cloud Hosted Router

Wed Mar 23, 2016 7:40 pm

IMHO, it might be wiser to have a command in RouterOS to expand the storage, and perhaps also another one that compresses the partition to a point. This would give better control over disk size and partitions.

That said, yeah, having CHR be already installed is great.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Wed Mar 23, 2016 9:57 pm

I am with boen robot. His ideas are much better. But please, implement it on x86 too.
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Wed Mar 23, 2016 10:27 pm

Hello

On proxmox i'am getting this bug
You do not have the required permissions to view the files attached to this post.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Mar 24, 2016 12:03 pm

expansion will work on new installations only. It was removed from standard x86 due to it causing problems. It is not possible to reduce the size.

we decided, that if you increased image size, you want the router to use more storage. Why make 2 steps when you can do this in one.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Thu Mar 24, 2016 12:10 pm

So it will not expand on reboot everytime when there is a space for expand? Can you solve the problems to allow it for x86 too?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Mar 24, 2016 12:22 pm

on x86 (non-chr) it formats the disk and tries to use entire disk when installing. CHR is for virtual machines and the assumption is that it is running on the virtual disk, that can be expanded if you so desire.

if CHR sees that disk suddenly has expanded, it will attempt to expand the storage partition. On CHR installation that was done with the version older than 6.35rc36 this will not work as additional partition table changes were needed for this to work at all
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Thu Mar 24, 2016 2:32 pm

Many of us are running virtualized x86 ros. The possibility to enable the disk expansion will be very useful anyway.
And not only during the installation, because the systems are already running and there will be very bad to loose the license.
Last edited by jarda on Thu Mar 24, 2016 2:34 pm, edited 1 time in total.
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re:

Thu Mar 24, 2016 2:33 pm

Many of us are running virtualized x86 ros
Why? CHR has many benefits. What are the drawbacks?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Thu Mar 24, 2016 2:35 pm

... the license.
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Mar 24, 2016 2:39 pm

Thanks for being honest :)
Although, CHR will run in full unrestricted mode for 60 days for free. It will stop allowing upgrades then, but you can just make a new one.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Thu Mar 24, 2016 2:48 pm

So you are advising to reload the CHR each 2 months and keep it running so for free for ages?
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re:

Thu Mar 24, 2016 2:49 pm

So you are advising to reload the CHR each 2 months and keep it running so for free for ages?
No, I am not. It would be cumbersome and not OK with systems that need to keep running. But possible it is.
Let me emphasise - it will not stop running. Even after 70 days. It will just not allow upgrades.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Thu Mar 24, 2016 3:03 pm

Nice hint.
 
andriys
Forum Guru
Forum Guru
Posts: 1527
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: Cloud Hosted Router

Thu Mar 24, 2016 3:18 pm

... the license.
Thanks for being honest :)
I think he meant existing license.
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Thu Mar 24, 2016 3:33 pm

I will be great if we can do some type of migration license from x86 to CHR since 3 type of level license has the same price


Level 4 = P1 ($45)
Level 5 = P10 ($95)
Level 6 = Unlimited ($250)
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Mar 24, 2016 3:35 pm

Raffav, can you email support ?
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Thu Mar 24, 2016 3:37 pm

Raffav, can you email support ?

yes, doing just now
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Status Hyper-V shutdown integration?

Fri Mar 25, 2016 9:23 am

Any news on that?

I would love starting to test CHR to replace a quite not up to what I want installation using a windows instance for some cloud routing. But I NEED CHR to shut down when the host tells it to - because otherwise a restart after patching the host will require a manual power off of the VM, which is breaking all update scripts.
 
andriys
Forum Guru
Forum Guru
Posts: 1527
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: Status Hyper-V shutdown integration?

Fri Mar 25, 2016 10:14 am

But I NEED CHR to shut down when the host tells it to
Have you seen this:
Version 6.35rc42 has been released.

Changes since previous version:
*) chr - fixed bridge firewall;
*) chr - make shutdown request from hyper-v work (might fix other hypervisor as well);
*) dude - fixed dude login logging, no more shows as winbox login;
*) timezone - fixed reboot by watchdog when selecting timezones from the end of list
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Re: Cloud Hosted Router

Fri Mar 25, 2016 4:03 pm

No, I have not. Time to do another test now - if that works, I am going to get a license and start seriously testing CHR.
 
FreeNetPB
just joined
Posts: 8
Joined: Mon Dec 09, 2013 1:21 pm

Re: Cloud Hosted Router

Fri Mar 25, 2016 5:47 pm

tried everything and keep getting this error
error.jpg
I'm getting same error here....

When installing routerOS..... almost done and it fails with same error:

Image

Image

The error is while installing the OS (from the download image)

What I've tried:

Install OS from VMware Workstation: Works.
Resize disk with VMware Workstation: Works
Migrate resized and installed image to ESXi: Work for sometime but after disk write it fails with same error
Download image and resize the RAW image with qemu: Resize Works
Convert RAW image to VMDK with qemu: Works
Create a Virtual Machine inside ESXi with the resized vmdk image by qemu: Works
Start virtual Machine on ESXi and start install: works
Finished install: SAME ERROR!


What is wrong ??!?!?!

HELP PLEASE!

Nice day,
I discovered the same problem, I had to first use VMware Workstation for the installation VMDK, and then convert into ESXi by using:https://my.vmware.com/web/vmware/info/s ... dalone/6_1

Unfortunately it is not possible to select another ethernet card than the emulated E1000. VMware VMXNET3 card is not in the selection.

VMware Tools also do not work :(

Image
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Fri Mar 25, 2016 6:18 pm

tried everything and keep getting this error
error.jpg
I'm getting same error here....

When installing routerOS..... almost done and it fails with same error:

Image

Image

The error is while installing the OS (from the download image)

What I've tried:

Install OS from VMware Workstation: Works.
Resize disk with VMware Workstation: Works
Migrate resized and installed image to ESXi: Work for sometime but after disk write it fails with same error
Download image and resize the RAW image with qemu: Resize Works
Convert RAW image to VMDK with qemu: Works
Create a Virtual Machine inside ESXi with the resized vmdk image by qemu: Works
Start virtual Machine on ESXi and start install: works
Finished install: SAME ERROR!


What is wrong ??!?!?!

HELP PLEASE!

Nice day,
I discovered the same problem, I had to first use VMware Workstation for the installation VMDK, and then convert into ESXi by using:https://my.vmware.com/web/vmware/info/s ... dalone/6_1

Unfortunately it is not possible to select another ethernet card than the emulated E1000. VMware VMXNET3 card is not in the selection.

VMware Tools also do not work :(

Image
Had you tryed the last 35.rc42?
Ps you will need winbox3.4 to access it
 
FreeNetPB
just joined
Posts: 8
Joined: Mon Dec 09, 2013 1:21 pm

Re: Cloud Hosted Router

Fri Mar 25, 2016 7:36 pm

Had you tryed the last 35.rc42?
Ps you will need winbox3.4 to access it


I think that the functions of VMware Tools and VMXNET must be implemented at compile of Linux. Only that Mikrotik made extra package for VMware, Hyper-V etc.


Oh, why he disappeared NTP package? Mikrotik use as an NTP server for other routers.
 
methou
just joined
Posts: 11
Joined: Sun Jun 15, 2014 1:26 pm

Re: Cloud Hosted Router

Sat Mar 26, 2016 6:12 pm

I tried to upload the raw image to Google Compute Engine, it started but neither does ssh nor winbox working.
Do I need additional steps to make it work with those vps providers?
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Sat Mar 26, 2016 7:33 pm

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
 
FreeNetPB
just joined
Posts: 8
Joined: Mon Dec 09, 2013 1:21 pm

Re: Cloud Hosted Router

Sat Mar 26, 2016 9:48 pm

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
Hello Normis,

I understand that Mikrotik does not contain the complete VMware Tools, but should have implemented Linux drivers , at least for the network card: https://kb.vmware.com/selfservice/micro ... Id=1001805. It would be nice to have a SCSI controller for hard disks and as a bonus, heartbeat function. But then you have to support only one version of VMware Solution: Workstation or better ESXi (or ESX paid).


Without the support Linux drivers not VMDK image continues to make sense.
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Cloud Hosted Router

Sat Mar 26, 2016 10:33 pm

No need to request already included features, both vmxnet3 and pvscsi are already there, just select them when creating new VM. :)
 
FreeNetPB
just joined
Posts: 8
Joined: Mon Dec 09, 2013 1:21 pm

Re: Cloud Hosted Router

Sun Mar 27, 2016 12:12 am

No need to request already included features, both vmxnet3 and pvscsi are already there, just select them when creating new VM. :)
Sob, thank you! Solved! I must change recommended "Other 64-bit" (http://wiki.mikrotik.com/wiki/Manual:CH ... stallation - step 2) to "Other 2.6.x Linux (64bit)".

Image

Image
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Confirmed: Hyper-V CHR now a good citizen ;)

Sun Mar 27, 2016 2:14 pm

When told to shut up (ah, shut down) it reacts to it.

Commencing testing now. Extremely happy about it. Seriously. I love windows as server OS, but for a pure VPN endpoint is is too expensive (financially and in terms of ressources used on the VM) and not powerful enough. FINALLY I can start moving that out towards RouterOS. Been waiting for that for years.

Normis, thanks - at least I can unify.
 
AlexS
Member Candidate
Member Candidate
Posts: 272
Joined: Thu Oct 10, 2013 7:21 am

Re: Cloud Hosted Router

Wed Mar 30, 2016 5:58 am

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
Hello Normis,

I understand that Mikrotik does not contain the complete VMware Tools, but should have implemented Linux drivers , at least for the network card: https://kb.vmware.com/selfservice/micro ... Id=1001805. It would be nice to have a SCSI controller for hard disks and as a bonus, heartbeat function. But then you have to support only one version of VMware Solution: Workstation or better ESXi (or ESX paid).


Without the support Linux drivers not VMDK image continues to make sense.

Yep if we had the full free vmtools install that would be a lot better. heartbeat ...
 
jwebb109
just joined
Posts: 2
Joined: Fri Mar 25, 2016 3:17 pm

Re: Cloud Hosted Router

Wed Mar 30, 2016 9:32 pm

I am trying to expand from the standard 128Mb disk size of the downloaded CHR vmdk.

qemu-img resize -f raw chr-6.31rc9.img +1G

Using qemu-0.9.0-windows.

Just keeps returning :

qemu-img version 0.9.0, Copyright (c) 2004-2007 Fabrice Bellard
usage: qemu-img command [command options]
QEMU disk image utility

Command syntax:
create [-e] [-b base_image] [-f fmt] filename [size]
commit [-f fmt] filename
convert [-c] [-e] [-f fmt] filename [-O output_fmt] output_filename
info [-f fmt] filename

Command parameters:
'filename' is a disk image filename
'base_image' is the read-only disk image which is used as base for a copy on
write image; the copy on write image only stores the modified data
'fmt' is the disk image format. It is guessed automatically in most cases
'size' is the disk image size in kilobytes. Optional suffixes 'M' (megabyte)
and 'G' (gigabyte) are supported
'output_filename' is the destination disk image filename
'output_fmt' is the destination format
'-c' indicates that target image must be compressed (qcow format only)
'-e' indicates that the target image must be encrypted (qcow format only)

Supported format: qcow2 vvfat vpc bochs dmg cloop vmdk qcow host_device raw


Can anyone give me any direction. My Dude config is over 500Mb
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Cloud Hosted Router

Thu Mar 31, 2016 12:27 am

Find newer qemu-img, current is 2.5.0. Your 0.9.0 does not even list "resize" as supported command.
 
User avatar
apteixeira
Trainer
Trainer
Posts: 50
Joined: Fri Oct 05, 2012 5:54 pm

Re: Cloud Hosted Router

Fri Apr 01, 2016 2:38 am

Hello,

There is an issue with the ethernet interface order on CHR using VMware (tested on EXSi and Workstation). When you add several interfaces to the CHR then the interfaces appear in different order as created. This means they cannot be matched easily when connecting to other VMs. You have to check the MAC address of the interfaces to match then correctly.

Here is a supout file:
https://dl.dropboxusercontent.com/u/381 ... ut-chr.rif

Here is an example:
Image

All the interfaces are "VMXNET 3"

I tested with stable and last RC and the same happened.

This issue is not present on x86 version.

Best regards.
 
User avatar
apteixeira
Trainer
Trainer
Posts: 50
Joined: Fri Oct 05, 2012 5:54 pm

Re: Cloud Hosted Router

Wed Apr 06, 2016 2:46 pm

Hello,

There is an issue with the ethernet interface order on CHR using VMware (tested on EXSi and Workstation). When you add several interfaces to the CHR then the interfaces appear in different order as created. This means they cannot be matched easily when connecting to other VMs. You have to check the MAC address of the interfaces to match then correctly.

Here is a supout file:
https://dl.dropboxusercontent.com/u/381 ... ut-chr.rif

Here is an example:
Image

All the interfaces are "VMXNET 3"

I tested with stable and last RC and the same happened.

This issue is not present on x86 version.

Best regards.
Hello,

Anyone experience this issue?
I just tested again on other ESXi and the result is the same.

Regards.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Wed Apr 06, 2016 4:19 pm

Normis, I don't get the unlimited license. At this point, it's pretty unrealistic to get 10Gbps+ from a CHR and that's unlikely to change. VM playforms simply aren't able to provide such speeds and wont for some time.

Can we have a similar option to do a 'site' or 'cluster' license? and allow unlimited instances of a CHR at a site?
 
jebz
Member
Member
Posts: 367
Joined: Sun May 01, 2011 12:03 pm
Location: Australia

Re: Cloud Hosted Router

Fri Apr 08, 2016 12:17 pm

on x86 (non-chr) it formats the disk and tries to use entire disk when installing. CHR is for virtual machines and the assumption is that it is running on the virtual disk, that can be expanded if you so desire.

if CHR sees that disk suddenly has expanded, it will attempt to expand the storage partition. On CHR installation that was done with the version older than 6.35rc36 this will not work as additional partition table changes were needed for this to work at all
Please expand on this disk resize for CHR. I tried on a QEMU virtual server but after expanding the router wouldn't reboot, it said unable to find operating system. So I restored a backup and the CHR restarted with a disk size of 128MB on a 1GB partition. I'm currently running 6.35rc48.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Fri Apr 08, 2016 12:37 pm

CHR guest has to be made using RouterOS 6.35rc42 or newer. Note the __made__. If it is made with version, then resize will work. If this was made with older - it will not, even if you update to the latest version.
 
jebz
Member
Member
Posts: 367
Joined: Sun May 01, 2011 12:03 pm
Location: Australia

Re: Cloud Hosted Router

Fri Apr 08, 2016 5:47 pm

CHR guest has to be made using RouterOS 6.35rc42 or newer. Note the __made__. If it is made with version, then resize will work. If this was made with older - it will not, even if you update to the latest version.
All good now. Original version was RouterOS 6.35rc35 then RouterOS 6.35rc42 and finally 6.35rc48. I've reformatted and rebuilt it with RouterOS 6.35rc48, restored the configuration and expanded the OS partition successfully. :D
 
bkvargyas
Trainer
Trainer
Posts: 3
Joined: Fri May 28, 2004 10:31 pm

Re: Cloud Hosted Router

Tue Apr 12, 2016 7:02 pm

1) I'm still stuck trying to resize the .VMDK pre-built image on the website. There isn't enough room to even upgrade a image after it's running. I wish the pre-built images were 128MB in size at least, not 56MB. In any case, can someone explain the process to increase the size of the vmware disk image so that RouterOS shows at least 128MB available for files and new downloaded images? I've tried the qemu windows utility and have had no such luck, after a resize, ESXI will not see the image as a valid file.

2) Also, I really wish the vmware image would incorporate vmware tools, as you cannot properly shutdown the image --- Even the 6.35rc48 does not work. Yes, Hyper-V works, but not ESXI 6.

I've even had luck with ESXI Direct IO PCI-E passthrough, so you bypass internal network switch and have RouterOS talk directly to the hardware at the PCI-E level -- giving you more PPS and lower latency.

Thanks,

Brian
 
Rudios
Forum Veteran
Forum Veteran
Posts: 973
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: Cloud Hosted Router

Fri Apr 15, 2016 12:15 pm

How great!

Just tried again today with the latest RC (6.35rc49) and it seems to work on Hyper-V running on Windows 10!
Also the 'normal' Hyper-V network interface is functional!
Keep up the good work!
 
pebkac
just joined
Posts: 2
Joined: Mon Apr 18, 2016 3:31 am

Re: Cloud Hosted Router

Mon Apr 18, 2016 3:34 am

I've successfully got CHR running in Microsoft Azure (ARM).

Some brief notes here:

https://pebkac.io/2016/04/mikrotik-chr- ... azure-arm/
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Apr 19, 2016 3:53 pm

really nice write-up pebkac. Just a small note, regarding license - it is just a few steps to relicense the CHR:
1) get trial for the new instance
2) on mikrotik.com portal head over to CHR license section
3) transfer the license from old ID to the new one.

we will consider creating older standard VHD image for Azure users.
 
anuser
Long time Member
Long time Member
Posts: 601
Joined: Sat Nov 29, 2014 7:27 pm

Re: Cloud Hosted Router

Wed Apr 20, 2016 5:32 pm

So, I have a P1 license (day 1) and it shows within the license info:
- "Limited Upgrades" => What does this mean?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Apr 21, 2016 11:21 am

try to renew the license from account server using the '/system license renew' command.
 
ludekhabarta
just joined
Posts: 9
Joined: Tue Feb 16, 2016 3:44 pm

Re: Cloud Hosted Router

Fri Apr 22, 2016 2:17 am

Nice job.

but :-) there are some issues with the VMWARE platform.

1) vmdk format is not compatible with ESXi.
----------------------------------------------------------------
Therefore i suggest to alter the vmdk format to be ESXi compatible.
Until then, there is an easy solution for this:
After uploading .vmdk to the ESXi storage.
Connect to ESXi console by SSH.
Change directory to your designated VM "cd /vmfs/volumes/<store>/<MikroTik>".
Run vmkfstool to convert it: "vmkfstools --clonevirtualdisk chr-6.35.vmdk --diskformat thin mikrotik.vmdk"
Look if everything is right. "ls -al"
The output should be like this:
----------------------------------------------------------------------------------------------------------------
[root@esxi:/vmfs/volumes/datastore/MK] ls -al
total 125960
drwxr-xr-x 1 root root 700 Apr 21 23:06 .
drwxr-xr-t 1 root root 1680 Apr 21 23:01 ..
-rw-r--r-- 1 root root 60227584 Apr 21 23:04 chr-6.35.vmdk
-rw------- 1 root root 134217728 Apr 21 23:06 mikrotik-flat.vmdk
-rw------- 1 root root 515 Apr 21 23:06 mikrotik.vmdk
---------------------------------------------------------------------------------------------------------------
Now the original chr-<ver>.vmdk could be removed. "rm chr-6.35.vmdk"
The disk image is now ready to be used.
Enjoy.

2) The VM has no vmtools or open-vm-tools installed.
Therefore there is no way to shutdown it gracefully like other VMs.
There is no information from the managing tools about assigned IP addresses.
This is actually not a big problem, but it would be nice to have feature.


Regards

Ludek
 
Fraction
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Wed Jan 16, 2013 9:42 pm
Location: Helsinki, Finland

Re: Cloud Hosted Router

Sat Apr 23, 2016 1:43 pm

I will be great if we can do some type of migration license from x86 to CHR since 3 type of level license has the same price


Level 4 = P1 ($45)
Level 5 = P10 ($95)
Level 6 = Unlimited ($250)
Any news/instuctions about this topic?

I saw Normis asked raffav to contact support after this post, is that the way to get the license migrated?
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Mon Apr 25, 2016 3:35 pm

I will be great if we can do some type of migration license from x86 to CHR since 3 type of level license has the same price


Level 4 = P1 ($45)
Level 5 = P10 ($95)
Level 6 = Unlimited ($250)
Any news/instuctions about this topic?

I saw Normis asked raffav to contact support after this post, is that the way to get the license migrated?
Hi Fraction

i din't contact support for that question, i contact support from a CHR problen :lol:

Support Answer
Hello, Raffaello.

Thank you very much for your idea.
We do not have plans to make any migration at the moment.

Regards,
Sergejs
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Wed Apr 27, 2016 8:48 am

it is easier now to make Amazon instances of the CHR, no more images to move around clusters:

https://aws.amazon.com/marketplace/pp/B01E00PU50
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Fri Apr 29, 2016 4:05 pm

something to play with CHR 6.36rc10 ESXi OVA file http://www.mikrotik.com/download/share/RouterOS_CHR.ova
 
pebkac
just joined
Posts: 2
Joined: Mon Apr 18, 2016 3:31 am

Re: Cloud Hosted Router

Wed May 04, 2016 5:25 am

it is easier now to make Amazon instances of the CHR, no more images to move around clusters:

https://aws.amazon.com/marketplace/pp/B01E00PU50
This is fantastic :)

An Azure template soon? That would make my day a lot easier.
 
abyss
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Wed Sep 21, 2005 10:51 am

Re: Cloud Hosted Router

Wed May 04, 2016 6:09 pm

Hi,

I can use 6.35.1 cloning the disk:

- upload vmdk
- open ssh session and go to VM folder
- type vmkfstools -i chr-6.35.1.vmdk -d thin yourvmname.vmdk
- use the cloned disk insteed of the original one..

Best regards,
Julien
 
macb57
just joined
Posts: 1
Joined: Wed May 11, 2016 3:24 am

Re: Cloud Hosted Router

Wed May 11, 2016 4:13 am

Anyone can post directions on getting CHR to run on linode. I have followed all available leads including dd transfer of raw .img to linode using finnix environment with no luck. Seems a number of folks indicate they have been successful without details. Guidance would be REALLY appreciated.
 
Buster2
newbie
Posts: 46
Joined: Sun Jan 06, 2013 9:04 pm
Contact:

Re: Cloud Hosted Router

Fri May 13, 2016 9:29 pm

CHR on XenServer 6.5

http://forum.mikrotik.com/viewtopic.php ... 23#p524423
I can live-migrate... but without the xentools kernel module installed, the CHR is freezing on resume. I've found plenty of posts about the linux kernel freezing the same way then xentools isnt installed. I can't pull anything of value out of the CHR's logs so can only assume this is the issue.
http://forum.mikrotik.com/viewtopic.php ... 31#p517531
Got it running on our XenServer 6.5 environment (CHR 6.34rc41), however, when I try to 'migrate' the vm to a different host it freezes. Also shutdown via Xen doesn't work (restart does).
I tried today with 6.36rc12. Installing/setting up a VM works flawless, but live migration still does not work as expected. XenCenter shows the VM on the new host, but the network stops working, all vCPU went to 100% and console stops responding. So there is no chance to watch what is going on in VM. Migrating the VM back to the origin host does not work either. Although XenCenter says first migration completed, it seems like the migration did not. XenCenter shows migration error for second migration.

Shutting down a CHR normally does not work either, because XenTools are needed (XenCenter shows virtualization state: "Unknown (please wait)"). Updating a XenServer pool is a pain like that. XenCenter automation can not be used. You need to migrate VM, but migration does not work. You need to shutdown VM to power it on at another host, but shutdown does not work. Only way is to force shutdown.
 
User avatar
aditrodostress
just joined
Posts: 13
Joined: Fri May 20, 2016 7:46 am
Location: Jakarta

Re: Cloud Hosted Router

Fri May 20, 2016 7:55 am

How to deploy CHR on KVM VPS with Virtualizor Client panel ?
the provider Just support ISO instalation file ?
 
User avatar
apteixeira
Trainer
Trainer
Posts: 50
Joined: Fri Oct 05, 2012 5:54 pm

Re: Cloud Hosted Router

Mon May 23, 2016 5:11 am

Hello,

Here is an OVA optimized for VMware vSphere with SCSI hard disk and SCSI controller (paravirtualization). The hard drive has 1GB.

Version: 6.35.2
OVA: https://dl.dropboxusercontent.com/u/381 ... phere6.zip

It can be used on VMware Workstation as well.

Enjoy!

Image

Image

Best regards.
 
yarikello
just joined
Posts: 1
Joined: Mon May 30, 2016 11:04 am

Re: Cloud Hosted Router

Mon May 30, 2016 11:31 am

hi!
i have CHR chr-6.35.2 on hyper-v 2012r2. License P10
after 4 days, uptime it reboots and died with error. It was the second death of CHR. First was on 6.34.1
https://snag.gy/yWKCP7.jpg
on the vhdx i foundet temp_panic.log
http://pastebin.com/cYLJ23zT
i reinstall the chr, but how long it will work...
 
edwardcolin
just joined
Posts: 1
Joined: Sat Jun 11, 2016 9:01 am

Re: Cloud Hosted Router

Sat Jun 11, 2016 9:13 am

We are releasing a test version of an exciting new feature - Cloud Hosted Router (CHR).

It is a Virtual Machine image of RouterOS that has full functionality of RouterOS without any kind of conventional RouterOS license, with the limitation of 1Mbit per interface, in future, we will offer unlimited speed with a paid subscription. This allows you to use RouterOS in training classes, for testing, for experimentation or any other purpose, without the need for 24h trial or Demo license.

We provide a generic (RAW) format IMG, VMDK file for VMWare, VDI for VirtualBox and VHDX for Hyper-V. These are ready to use virtual disk images (add as a virtual hard drive to your VM). These are NOT templates for importing. Cdn reviews



qemu commands for converting images (if you need to convert to another format)

RAW to VMware:
qemu-img convert -f raw -O vmdk chr-6.31rc9.img chr-6.31rc9.vmdk
RAW to VirtualBox:
qemu-img convert -f raw -O vdi chr-6.31rc9.img chr-6.31rc9.vdi
See below for steps how  to run this new system.

If you need a bigger virtual hdd (currently 128Mb), resize the image before first run
qemu-img resize -f raw chr-6.31rc9.img +1G
This will increase the disk by 1GB

Downloads:
http://www.mikrotik.com/download


VMware Player (Free): https://my.vmware.com/web/vmware/free#d ... player/7_0
VirtualBox (Free): https://www.virtualbox.org/wiki/Downloads

Instructions for VMware:

Screenshot 2015-07-27 14.44.27.png
Screenshot 2015-07-27 14.44.31.png
Screenshot 2015-07-27 14.44.34.png

Screenshot 2015-07-27 14.44.39.png
Screenshot 2015-07-27 14.44.46.png
Screenshot 2015-07-27 14.44.50.png
Screenshot 2015-07-27 14.44.57.png
Screenshot 2015-07-27 14.45.06.png
Screenshot 2015-07-27 14.45.20.png

Instructions for VirtualBox:
Screenshot 2015-07-27 14.46.09.png
Screenshot 2016-03-11 14.10.24.png
Screenshot 2016-03-11 14.10.35.png
Screenshot 2015-07-27 14.47.16.png
Screenshot 2015-07-27 14.46.28.png

IMPORTANT STEP, change CPU setting to KVM:

Screenshot 2015-07-27 14.46.51.png
Screenshot 2015-07-27 14.46.55.png
Screenshot 2015-07-27 14.47.16.png
Waoo That's Great i will definitely try this but i just say one thing to you if you want to add some more things on that and new feature you can get some cool instruction from that.
 
wise0tamas
just joined
Posts: 14
Joined: Sun Oct 03, 2010 1:12 am

Re: Cloud Hosted Router

Sat Jun 11, 2016 12:11 pm

How to deploy CHR on KVM VPS with Virtualizor Client panel ?
the provider Just support ISO instalation file ?
Probably you could try clonezilla:
1) beforehand, in a local vm boot clonezilla iso with the CHR image as the disk, and create a clonezilla archive of that disk,
2) then boot the VPS via the same clonezilla iso, network prepared, and then "reload" the prepared clonezilla archive of the CHR onto the disk of the VPS,
3) boot the VPS via the disk.
Hopefully, then CHR would boot normally on the VPS.
 
odge
Member Candidate
Member Candidate
Posts: 110
Joined: Mon Nov 29, 2010 2:53 pm

Re: Cloud Hosted Router

Sat Jun 11, 2016 4:45 pm

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
one of the most important reasons to have vm-tools is so that the hyper-visor is aware of the state of the VM, and can reboot it if no heartbeats are received.  Check out https://pubs.vmware.com/vsphere-50/inde ... D78E7.html
I think given that development of open-vm-tools, its inclusion in every single linux distributions package distribution system, is testament to exactly how important it is.
Currently when CHR crashes in hypervisor enviroment. It requires manual intervention, and there is no way around that except to use other unsupported techniques.
Every other vmware appliance I've come across that punts any kind of support for vmware has open-vm-tools installed. Personally I dont care so much about the drivers, but I do care about keeping my RouterOS on when its locked up.
 
odge
Member Candidate
Member Candidate
Posts: 110
Joined: Mon Nov 29, 2010 2:53 pm

Re: Cloud Hosted Router

Sat Jun 11, 2016 4:48 pm

Hello,

Here is an OVA optimized for VMware vSphere with SCSI hard disk and SCSI controller (paravirtualization). The hard drive has 1GB.

Version: 6.35.2
OVA: https://dl.dropboxusercontent.com/u/381 ... phere6.zip

It can be used on VMware Workstation as well.

Enjoy!



Best regards.
Hi
Why the Paravirtual route? 
 
odge
Member Candidate
Member Candidate
Posts: 110
Joined: Mon Nov 29, 2010 2:53 pm

Re: Cloud Hosted Router

Sat Jun 11, 2016 4:57 pm

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
Hello Normis,

I understand that Mikrotik does not contain the complete VMware Tools, but should have implemented Linux drivers , at least for the network card: https://kb.vmware.com/selfservice/micro ... Id=1001805. It would be nice to have a SCSI controller for hard disks and as a bonus, heartbeat function. But then you have to support only one version of VMware Solution: Workstation or better ESXi (or ESX paid).


Without the support Linux drivers not VMDK image continues to make sense.
Agreed. In Cluster environments (SAN etc) SCSI is a kind of a must, because IDE over iSCSI is just terrible.  I think having proper support for ESXi is the only path. VMWare Workstation - is not for production enviroment, its for testing enviroments.
 
th0massin0
Member Candidate
Member Candidate
Posts: 156
Joined: Sun May 11, 2014 4:16 am
Location: Poland

Re: Cloud Hosted Router

Sat Jun 11, 2016 8:50 pm

If you are interested IN CHR on OVH VPS SSD, here you go:
1. Install any linux distro
2. From OVH control panel boot VPS to rescue mode
3. Type the magic from below :) :
cd /root
curl -O http://download2.mikrotik.com/routeros/6.35.2/chr-6.35.2.img.zip
gunzip -S .zip chr-6.35.2.img.zip

umount /mnt/vdb1
dd if=/root/chr-6.35.2.img of=/dev/vdb
... now reboot from control panel, to escape from rescue mode. Click KVM console, and now you have installed CHR :)
 
claudionei
just joined
Posts: 4
Joined: Wed Feb 11, 2015 4:06 pm

Re: Cloud Hosted Router

Sat Jul 02, 2016 3:07 pm

Hello Mikrotik Masters.


I would like to suggest a Cloud Hosted Dude Server for free.

Is it possíble to release?

We would love to have, and I think many others will.

I have tested the Dude Server, but the traffic exceeds the limitation proposed of 1 Mbps. I am sure, if it were limitated to 10 Mbps it would run well, at least for us.

Thanks for all and good weekend..

Claudionei F. Mendes
A.K.A Nei
Mikrotik Fan and Network Technician.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Sat Jul 02, 2016 7:42 pm

"I would like to suggest a Cloud Hosted Dude Server for free."

$40 is too much for your could hosted monitoring ?  
 
vanel86
just joined
Posts: 11
Joined: Mon Jul 04, 2016 2:50 pm
Location: Trieste, Italy

Re: Cloud Hosted Router

Mon Jul 04, 2016 2:58 pm

Hi there,
I am a potential customer, the potential comes from the lack of open-vm-tools. Being unable to gracefully shutdown/restart the vm without logging on is a no-go for me. Once you add that you have a at least a p1 license sold
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Mon Jul 04, 2016 3:06 pm

Hi there,
I am a potential customer, the potential comes from the lack of open-vm-tools. Being unable to gracefully shutdown/restart the vm without logging on is a no-go for me. Once you add that you have a at least a p1 license sold
RouterOS does not need graceful shutdown. OK, except maybe if you added some config and need to turn off immediately. 
 
vanel86
just joined
Posts: 11
Joined: Mon Jul 04, 2016 2:50 pm
Location: Trieste, Italy

Re: Cloud Hosted Router

Mon Jul 04, 2016 3:34 pm

RouterOS does not need graceful shutdown. OK, except maybe if you added some config and need to turn off immediately. 
Is router os running from a read-only filesystem? If it doesn't, there is a real risk about the FS getting corrupted if i "yank the power cord", shutting it down without the agents, everytime i service my host. I understand about keeping the attack surface as slim as possible but adding the open-vm-tools package as an optional pkg shouldn't be much work, the code is opensource(https://github.com/vmware/open-vm-tools) so you just need to compile it.
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Mon Jul 04, 2016 3:59 pm

I have never seen a FS problem and everyone here is "yanking the cord" for 15 years or so. 
 
Buster2
newbie
Posts: 46
Joined: Sun Jan 06, 2013 9:04 pm
Contact:

Re: Cloud Hosted Router

Mon Jul 04, 2016 4:06 pm

RouterOS does not need graceful shutdown. OK, except maybe if you added some config and need to turn off immediately. 
RouterOS might not need it but the virtualization host totally depends on it. No proper hypervisor will kill a VM when it signals all VM to shutdown normally. Killing a VM, as you suggest, is a totally different action than shutting it down!
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Mon Jul 04, 2016 6:07 pm

Yes ^^^^

It's not just about routeroz, it's about what the host expects to see and how the host will behave. No sane vm host will hard kill a vm unless explicitly told to do so
 
vanel86
just joined
Posts: 11
Joined: Mon Jul 04, 2016 2:50 pm
Location: Trieste, Italy

Re: Cloud Hosted Router

Mon Jul 04, 2016 6:42 pm

I have never seen a FS problem and everyone here is "yanking the cord" for 15 years or so. 
Good to know then, another thing that having the tools adds is the fact that my standalone hosts autoloads a series of vms and having the agents working cuts dramatically the time before the next autostart vms starts(instead of waiting 30 minutes it will instantly startup the next in order). Logically i would load the router before the rest of the stack and adding say 15 to 30 minutes for each reboot is something i would prefer to avoid if i can.
 
andriys
Forum Guru
Forum Guru
Posts: 1527
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: Cloud Hosted Router

Mon Jul 04, 2016 7:02 pm

Just checked the free version of ESXi, it allows to configure shutdown action (with options "Guest Shutdown", "Power Off" and "Suspend" available) and startup and shutdown delays on a per VM basis. I'm pretty sure any decent virtualization platform should allow to set such options as well.
 
vanel86
just joined
Posts: 11
Joined: Mon Jul 04, 2016 2:50 pm
Location: Trieste, Italy

Re: Cloud Hosted Router

Tue Jul 05, 2016 9:26 am

Just checked the free version of ESXi, it allows to configure shutdown action (with options "Guest Shutdown", "Power Off" and "Suspend" available) and startup and shutdown delays on a per VM basis. I'm pretty sure any decent virtualization platform should allow to set such options as well.
Yeah, the my main issue with the lack of agents is that, without the agents, i will need to have the host wait for the vm delay at every host power up(which is a cool 15 minutes for my homelab) that would be zero if the agents were there
As far as I know only ESXi and hyperv lets you do autostart setup in GUI mode(only VMware lets you set up a priority order), xenserver require quite a bit of cli to do so, horses for courses :)
 
toxicfusion
Member Candidate
Member Candidate
Posts: 267
Joined: Mon Jan 14, 2013 6:02 pm

Re: Cloud Hosted Router

Wed Jul 06, 2016 9:19 pm

If you are interested IN CHR on OVH VPS SSD, here you go:
1. Install any linux distro
2. From OVH control panel boot VPS to rescue mode
3. Type the magic from below :) :
cd /root
curl -O http://download2.mikrotik.com/routeros/6.35.2/chr-6.35.2.img.zip
gunzip -S .zip chr-6.35.2.img.zip

umount /mnt/vdb1
dd if=/root/chr-6.35.2.img of=/dev/vdb
This worked like a charm... beautifully!  However, I used another VPS provider ;). Similar concept
Are you able to apply more than one(1) ethernet interface? I only have one(1) by default.  Probably can just create VLAN's if needed...
 
th0massin0
Member Candidate
Member Candidate
Posts: 156
Joined: Sun May 11, 2014 4:16 am
Location: Poland

Re: Cloud Hosted Router

Tue Jul 19, 2016 2:30 pm

If you are interested IN CHR on OVH VPS SSD, here you go:
1. Install any linux distro
2. From OVH control panel boot VPS to rescue mode
3. Type the magic from below :) :
cd /root
curl -O http://download2.mikrotik.com/routeros/6.35.2/chr-6.35.2.img.zip
gunzip -S .zip chr-6.35.2.img.zip

umount /mnt/vdb1
dd if=/root/chr-6.35.2.img of=/dev/vdb
This worked like a charm... beautifully!  However, I used another VPS provider ;). Similar concept
Are you able to apply more than one(1) ethernet interface? I only have one(1) by default.  Probably can just create VLAN's if needed...
I belive that quantity of ethernet interfaces is provider-depended thing.
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Jul 26, 2016 9:03 am

When you will do the CHR version for Amazon and Azure please notice that there is not support of remote display and console. The only way to make it accessable is to introduce to network infrastruture and create a real working profile for current routerOS such as Home AP and etc.
Yes there is console screen, but read only. Again, this is Amazon limitation. Interactive console is not available for any OS in Amazon EC2: http://docs.aws.amazon.com/AWSEC2/lates ... nsole.html

[attachment=0]Captura de pantalla 2016-07-26 a las 09.01.56.png[/attachment]
You do not have the required permissions to view the files attached to this post.
 
User avatar
chrone
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Fri Mar 28, 2008 7:16 am
Location: planet earth

Re: Cloud Hosted Router

Wed Jul 27, 2016 9:34 pm

Just tested this out on Proxmox VE 4.2 Linux KVM. Both virtio disk and net work great.

Will there be support for virtio net 10GbE in the future? :)
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Thu Jul 28, 2016 4:40 pm

accessing my account  all my trial license instance was cleared but since i have a p1 paid license
now i cant transfer to a new instance because there is 0 instance on my account page,

(Ticket#2016072766000892)
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Fri Jul 29, 2016 10:44 pm

i am stil waiting for a solution on my case, :(
 
amit213
just joined
Posts: 5
Joined: Sat Aug 27, 2016 10:49 pm

Re: Cloud Hosted Router

Sun Aug 28, 2016 6:12 am

Hi Normis,

Congratulations to you and your team for a solid product. The CHR on KVM seems to be working nicely so far.

Quick question: Let's say we have 5 powerful bare metal servers spread across continental US. And we have 5 total instances of "CHR + KVM" running on each of those five servers forming a secure IPSec circuit.

Will I need to purchase 5 separate PI-10 licenses to allow those five instances to work normally at 10Gigbit throughput? Or does buying one "PI-10 unlimited" perpetual license allows me to apply it to multiple CHR instances?

Kindly please help advice at the earliest.

-Amit
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: RE: Re: Cloud Hosted Router

Sun Aug 28, 2016 4:49 pm

Hi Normis,

Congratulations to you and your team for a solid product. The CHR on KVM seems to be working nicely so far.

Quick question: Let's say we have 5 powerful bare metal servers spread across continental US. And we have 5 total instances of "CHR + KVM" running on each of those five servers forming a secure IPSec circuit.

Will I need to purchase 5 separate PI-10 licenses to allow those five instances to work normally at 10Gigbit throughput? Or does buying one "PI-10 unlimited" perpetual license allows me to apply it to multiple CHR instances?

Kindly please help advice at the earliest.

-Amit
The license as far a I know is for instance, so you need to buy 5 license but you have the possibility to move the license to another instance when needed

Enviado do Moto X Force
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Mon Aug 29, 2016 10:36 am

Raffav is right. Each running instance needs it's own license, but once you terminate it, it's license becomes available for some other virtual installation, making migration simple.
 
amit213
just joined
Posts: 5
Joined: Sat Aug 27, 2016 10:49 pm

Re: Cloud Hosted Router

Tue Aug 30, 2016 12:13 am

Raffav and Normis, thank you for the clarification.

Normis, as far as the ability to move the license around between different CHR instances is concerned: Is this still valid if I were to purchase your CHR PI-10 licenses from a reseller? Does it have to be any special type of PI-10 licenses? Or does buying regular CHR PI-10 in bulk good enough.

Also - What specific steps should we have to follow for moving the currently active license key to a new CHR instance? Let's assume I had licensed CHR running and I just deleted that instance. Now I need to re-purpose that license key to a new CHR instance. The RouterOS does not allow me to change its router identity key.

best

-Amit
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: RE: Re: Cloud Hosted Router

Tue Aug 30, 2016 1:41 am

Raffav and Normis, thank you for the clarification.

Normis, as far as the ability to move the license around between different CHR instances is concerned: Is this still valid if I were to purchase your CHR PI-10 licenses from a reseller? Does it have to be any special type of PI-10 licenses? Or does buying regular CHR PI-10 in bulk good enough.

Also - What specific steps should we have to follow for moving the currently active license key to a new CHR instance? Let's assume I had licensed CHR running and I just deleted that instance. Now I need to re-purpose that license key to a new CHR instance. The RouterOS does not allow me to change its router identity key.

best

-Amit
The CHR license I think only is possible to purchase on mikrotik site via your account also there is where you manage your CHR license

Step
Install CHR
go to system license
Select you license type,
upgrade, put you user and password used on mk site

Go to you account on mk site
There is all CHR license
You will see one CHR just added and there will be a upgrade option after you purchase
go back to you CHR
and do a renew after that you CHR is permanent activated

To move to another instance

Just install a new CHR
Put your account information
Go to the site there will be a recent CHR added with a options to transfer
you just need to choose the software I'd and transfer
Go back to CHR and do renew
Done


Edit
I would like to suggest an improvement
The transfer license is a little nasty
Since you need to find the software id,
Would be nice if the system pick the note field as reference only if empty pick software I'd


Enviado do Moto X Force
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Aug 30, 2016 8:34 am

Normis, as far as the ability to move the license around between different CHR instances is concerned: Is this still valid if I were to purchase your CHR PI-10 licenses from a reseller?
You can't buy CHR licenses from a reseller. What you can do, is buy a "coupon" (a prepaid key) and then use that to pay for your CHR. But in reality this still means you make your own CHR keys.
 
Siona
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Thu Jan 29, 2015 11:56 am

Re: Cloud Hosted Router

Tue Aug 30, 2016 10:25 am

Is it possible to run CHR on qnap NAS server?
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Wed Aug 31, 2016 1:50 pm

Please make new topics for each new question, post them in the Virtualisation section of this forum

Who is online

Users browsing this forum: No registered users and 15 guests