Quantcast
Channel: Playing with Juniper vMX on VIRL
Viewing all 63 articles
Browse latest View live

Playing with Juniper vMX on VIRL

$
0
0

@Remus_Grobei wrote:

This part not yet smile
What I did is save the config into the configuration tab like this.

configure
set version 14.1R1.10
set system root-authentication encrypted-password "$1$ys1UUhiu$6KjA4O3ph.TG4VotBaslu/"
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set interfaces em1 unit 0 family inet address 10.0.0.6/30
set interfaces em2 unit 0 family inet address 10.0.0.10/30
set interfaces em3 unit 0 family inet address 10.0.0.14/30
set interfaces em4 unit 0 family inet address 10.0.0.18/30
set protocols ospf area 0.0.0.0 interface all

Read full topic


Playing with Juniper vMX on VIRL

$
0
0

@skynw wrote:

Me culpa,

Old known error.

If you connect 2 vMX on the same interface i.e. ge-0/0/0 -- ge-0/0/0
you have to change MAC address

(In my case even on both sides)

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@skynw wrote:

Moin,
(Thats good morning in northern german)

I tried to use also this, with the config tab.
In set format and hierarchical format.

Didn't work.

What kind of config disk are you using in the image and the sub format for the vMX?
Maybe I got something wrong.

Did you change the disk from thin to flat or anything like this?

Cheers
Marcel

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@Remus_Grobei wrote:

This was enough for me.

configure
set version 14.1R1.10
set system root-authentication encrypted-password "$1$ys1UUhiu$6KjA4O3ph.TG4VotBaslu/"
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set interfaces em1 unit 0 family inet address 10.0.0.6/30
set interfaces em2 unit 0 family inet address 10.0.0.10/30
set interfaces em3 unit 0 family inet address 10.0.0.14/30
set interfaces em4 unit 0 family inet address 10.0.0.18/30
set protocols ospf area 0.0.0.0 interface all

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@skynw wrote:

Hi,

that is still not working for me.

Could you post your image and subtype settings?

Mine are:

Configuration disk type
disk
ISO 9660 level in cdrom disk
2
Name of file for config drive
/juniper.conf

and from the image:

config_disk_type
disk
hw_cdrom_bus
ide
hw_disk_bus
ide
hw_vif_model
virtio
release
14.1R2.12
serial
1
subtype
vMX
version
14.1

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@Remus_Grobei wrote:

Hey @skynw
Sure, here they are

Name
Junos MXv
OpenStack ID
ab11db1f-1a45-4693-8f29-03243d00c3ea
Project
uwmadmin (9c9da5a9cbff4936a3d5468b4eb07095)
Updated
2015-04-05 14:07:54
Status
active
Size
716.62 MiB (751435776)
Minimum Disk Size
20 GB
Converted qcow2 image checksum
51eb46435b7af877d49d06a86b102948 (every image is forced through conversion, even qcow2)

config_disk_type
cdrom
hw_disk_bus
ide
hw_vif_model
virtio
release
14.1R1.10
serial
3
subtype
Junos MXv

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@skynw wrote:

Hi, thanks

I understand you correctly, you save the config in the configuration tab,

and the vMX boots with this config?

Mine still does not use it.
It always boots with empty config.

frowning

Do you know, if this setting for the Subtype is correct:

Configuration disk type
cdrom
ISO 9660 level in cdrom disk
2
Name of file for config drive
/juniper.conf

Thanks
Marcel

Read full topic

Playing with Juniper vMX on VIRL


Playing with Juniper vMX on VIRL

$
0
0

@Remus_Grobei wrote:

And the subtype

Dynamic subtype based on
IOS XRv
Name of plugin
Junos MXv
Description of plugin
Juniper MXv Router
Name of management interface
em0
Pattern for data interface names
em{0}
First data interface number
1
Max count of data interfaces
8
Number of interfaces per LC
0
Number of serial interfaces
3
Protocol for network CLI
telnet
Make VNC access available
False
Name of icon for GUI
ios_xrv
Show subtype on GUI palette
True
Configuration disk type
cdrom
ISO 9660 level in cdrom disk
2
Name of file for config drive
/config/juniper.conf.gz
Virtual interface model
virtio
Main disk bus model
ide
RAM (MB) allocated per node
3072
Number of CPUs allocated per node
1
Extra comma-separated image properties
Name of default image
Use subtype
Name of default flavor
Use subtype

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@skynw wrote:

Hi,

i tried to use the same settings for the image and the subtype, but had no luck with preconfiguring / injecting
config into the vMX for startup.

Anyone any ideas?
Thanks
Marcel

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@YYang wrote:

How to create a node-subtype. I am runing on CML and can not find node_subtype under UWM GUI, is there a way to use CLI to create a node-subtype?

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@skynw wrote:

Aloha,
You can find here information, how to create a subtype.

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@YYang wrote:

Hi Skynw,
I am runing on CML instead of VIRL. so I do not see 'Subtypes' under User Workspace Management. . Is there a manual way to add a subtype on the server by CLI?

Thanks

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@hritter wrote:

Hi Marcel,

The procedure for the vMX is almost the same as for the vSRX. The only thing that changes is the entry for the config disk in /etc/fstab, which is as follow:

/dev/vtbd0s1 /config msdosfs rw 0 0

Hope this helps,

Harold

Read full topic

Playing with Juniper vMX on VIRL

$
0
0

@fcuiller wrote:

Hi all,

Here is my experience installing Juniper vMX 14.1R5.4 in my VIRL.

This vMX version normally uses several VMs: one for the vCP (jinstall64-vmx-14.1R5.4-domestic.img) and one for the vPFE (vPFE-20150707.img or vPFE-lite-20150707.img). Both VM communicate via the em1 internal interface. This architecture is by design to allow packet forwarding at high throughput. However this 2 VM architecture is a challenge for us to install in a VIRL, there are 2 solutions:

  1. build a nested VM (Ubuntu 14.04 containing both vCP and vPFE, then import this VM into VIRL)

  2. use only the vCP VM, and try to use it for our simulation. I will describe this solution below.

With this reference: https://ivorde.com/juniper-vmx-virtual-mx-router-in-vmware-esxi-5-5/ I found a trick to avoid installing the vPFE and enable a local virtual PFE. (edit /boot/loader.conf and add vm_local_rpio="1". save and reload)

This should allow to use a vPIC and associated ge-0/0/x interfaces. However, I never managed to have a stable vMX platforrm (several traceback such i386_junos[2946]: fpc0 PANIC PANIC PANIC PANIC PANIC PANIC and i386_junos[2946]: fpc0 Watchdog fired). I also never managed to get connectivty with the ge-0/0/x interfaces, the virtual PIC disapears randomly.

I gave up and use the solution mentioned here: don't enable the local vPFE and use instead em interfaces. I share below the subtype I created:

{
"dynamic-subtypes": [
{
"plugin_name": "Juniper vMX",
"hw_disk_bus": "ide",
"plugin_base": "generic",
"interface_first": 1,
"interface_pattern": "em{0}",
"hw_vcpus": 4,
"baseline_flavor": "",
"plugin_desc": "Juniper vMX",
"gui_visible": true,
"config_file": "/config/juniper.conf.gz",
"gui_icon": "router",
"hw_ram": 3072,
"interface_management": "em0",
"config_disk_type": "cdrom",
"cli_serial": 3,
"hw_vm_extra": "",
"interface_range": 10,
"baseline_image": ""
}
]
}

Then I added the jinstall64-vmx-14.1R5.4-domestic.img VM image.

For this particular vMX version, it's important not to use em1 interface as data: remember em1 is used for internal communication (it's by default allocated a 172.16.0.1/16). The first usable interface is em2. Either plug em1 to something and don't use it, or set em1 as dummy interface.

With this setup, I managed to get IP connectivity between my em2 (and following) interfaces and configure OSPF and LDP.

Thanks
Fred

Read full topic


Playing with Juniper vMX on VIRL

Playing with Juniper vMX on VIRL

Playing with Juniper vMX on VIRL

$
0
0

@june03 wrote:

Found the following post:

...update:

sudo vinstall rehost
reboot
sudo vinstall bridge
reboot
solved the issue... telnet ports are available in VM Maestro again...

Read full topic

Playing with Juniper vMX on VIRL

Playing with Juniper vMX on VIRL

Viewing all 63 articles
Browse latest View live