Community discussions

MikroTik App
 
WISPa
just joined
Topic Author
Posts: 12
Joined: Wed Sep 16, 2015 11:52 am

GNS3 with CHR 6.43.1

Wed Sep 19, 2018 1:58 pm

Hey guys

We're running some GNS3 labs with CHR version 6.41.4 at present with great success. We're about to start a new project and wanted to use the latest stable version 6.43.1.

We've added entries into the gns3a file to match the new versions....

Code: Select all

"images": [
{
"filename": "chr-6.43.1.img",
"version": "6.43.1",
"md5sum": "e280d4f9e6357e35830061ac0c34e1ce",
"filesize": 134217728,
"download_url": "http://www.mikrotik.com/download",
"direct_download_url": "https://download2.mikrotik.com/routeros/6.43.1/chr-6.43.1.img.zip",
"compression": "zip"
},
...
],
"versions": [
{
"name": "6.43.1",
"images": {
"hda_disk_image": "chr-6.43.1.img"
}
},
...
],
We've also successfully imported the img file into GNS3 and are able to choose to start a new CHR 6.43.1 instance. However, after start we see no console output for the instance. On the server, we're able to see that QEMU virtualisation has begun...

Code: Select all

# ps aux | grep qemu
gns3 18379 8.2 1.3 989752 57692 ? Sl 11:49 0:33 /usr/bin/qemu-system-x86_64 -name MikroTikCHR6.43.1-1 -m 128M -smp cpus=1 -boot order=c -drive file=/opt/gns3/projects/033dd240-ae7b-42ae-bac9-515fc1609792/project-files/qemu/66a75586-4cda-4b09-a1b7-9b2b449bd334/hda_disk.qcow2,if=virtio,index=0,media=disk -uuid 66a75586-4cda-4b09-a1b7-9b2b449bd334 -serial telnet:127.0.0.1:5001,server,nowait -monitor tcp:127.0.0.1:37662,server,nowait -net none -device virtio-net-pci,mac=0c:97:92:d3:34:00,netdev=gns3-0 -netdev socket,id=gns3-0,udp=127.0.0.1:10001,localaddr=127.0.0.1:10000 -device virtio-net-pci,mac=0c:97:92:d3:34:01,netdev=gns3-1 -netdev socket,id=gns3-1,udp=127.0.0.1:10003,localaddr=127.0.0.1:10002 -nographic
In the same project, a 6.41.4 instance connects to console just fine.

Should this approach work, or is there something in version 6.43.1 that might prevent it running in QEMU on GNS3?
 
WISPa
just joined
Topic Author
Posts: 12
Joined: Wed Sep 16, 2015 11:52 am

Re: GNS3 with CHR 6.43.1

Wed Sep 19, 2018 7:59 pm

To get somewhere with this, we've successfully upgraded the v6.41.4 instance to v6.43.1 inside GNS3. This was mainly to test that 6.43.1 can indeed run inside GNS3 successfully.

It's pretty slow going though across many devices, so I'd still like to get the v6.43.1 image working directly.

Any help would be appreciated.

Who is online

Users browsing this forum: No registered users and 13 guests