Install Guide EXOS VM VirtualBox
Install Guide EXOS VM VirtualBox
Name
MHELM
Versio
n
0.2
Comments
Refreshing a rather old application note
Table of Contents
1. Introduction & Purpose...................................................................................... 3
2. Downloading and Preparing OVB.......................................................................3
3. Creating an "Host-Only" Network in OVB...........................................................4
4. Creating and using an EXOS VM........................................................................5
5. Networking with the EXOS VM in OVB...............................................................9
6. Caveats........................................................................................................... 11
T h e E XO S V M i n O V B
Page | 3
05/04/2016
T h e E XO S V M i n O V B
Page | 4
Box
from
here:
Oracle Virtual Box best functions with the addition of the Extension Pack. To
install the OVB Extension Pack, download it (per the link above) and then
install it as follows:
1.
2.
3.
4.
5.
Start up OVB
Enter the Preferences dialog
Enter the Extensions dialog
Click on the Add Package button
Select
the
Extension
pack
file
(e.g.
Oracle_VM_VirtualBox_Extension_Pack-5.0.20-106931.vbox-extpack)
6. Accept the Terms and Conditions
05/04/2016
T h e E XO S V M i n O V B
Page | 5
7. Click OK.
05/04/2016
T h e E XO S V M i n O V B
Page | 6
05/04/2016
T h e E XO S V M i n O V B
Page | 7
10.Double click on the newly created but powered off virtual machine that
should appear in the left frame in the Oracle VM Virtual Box Manager window.
05/04/2016
T h e E XO S V M i n O V B
Page | 8
05/04/2016
T h e E XO S V M i n O V B
Page | 9
05/04/2016
T h e E XO S V M i n O V B
P a g e | 10
20.The EXOS VM is now ready. To start it, double click on it again within the left
frame in the Oracle VM Virtual Box Manager window.
The EXOS VM is the same as any EXOS switch. The default administrator's login is
"admin" with no password. The first adapter, in the Host-Only network, is the "outof-band" management port associated with the MGMT VLAN and VR-MGMT.
The VM can be upgraded to a later EXOS image (e.g. vm-21.1.1.4-patch1-2.xos)
through any VLAN with an IP, but in this case, it would probably be best to use the
MGMT VLAN, which, once assigned the proper IP, should be able to communicate
with the Host-Only interface on the host.
As of EXOS 21.1 there is no separate SSH XMOD, but for EXOS VMs with version 16.x
and below there is an SSH XMOD available.
Lastly, like any EXOS switch, one can license the EXOS VM for any software
capability using the trial license via the "debug epm enable trial-license" command.
05/04/2016
T h e E XO S V M i n O V B
P a g e | 11
through the Settings GUI within the OVB manager. The remaining adapters/ports
must be configured through "vboxmanage" shell commands.
Here is an example of a configuration for the 5 th adapter (port 4 from the CLI of the
virtual EXOS switch):
vboxmanage
vboxmanage
vboxmanage
vboxmanage
vboxmanage
modifyvm
modifyvm
modifyvm
modifyvm
modifyvm
x201
x201
x201
x201
x201
--nic5 intnet
--macaddress5 000496F201F5
--cableconnected5 on
--intnet5 l14
--nicpromisc5 allow-all
The main settings of an adapter that are of interest are the promiscuous mode (-nicpromisc) which should be set to allow-all, and the internal network name (intnet).
An internal network is basically an isolated segment. Adapters on an internal
network with the same name share that segment. To "connect" a port on one EXOS
VM switch to a port on another EXOS VM switch, simply give the adapters the same
internal network name. Below two switches share the same internal network name
for their 2nd adapter. They are able to detect each other via EDP.
It should be noted, that if one disables a port from the CLI of an EXOS VM, the port
on another VM sharing the same internal network with the disabled port will not
05/04/2016
T h e E XO S V M i n O V B
P a g e | 12
show as "down". Instead, the internal adapters on both switches would need to be
disabled to show both ports as "down" simultaneously.
Shell scripting provides a convenient way configure EXOS VM adapters and possibly
to create virtual networks. The following PERL script creates and/or modifies the 7
non-MGMT ports on a series of EXOS VMs named x201, x202, etc. when its
output is piped into a shell.
$ cat vnic.pl
#!/usr/bin/perl
my $i = 2;
my $j = 1;
my $p = 201;
my $n = $p - 200;
while ($p < 210) {
$i = 2;
while ($i < 9) {
$j = $i - 1;
print "vboxmanage
print "vboxmanage
print "F$i\n";
print "vboxmanage
$n = $p - 200;
print "vboxmanage
print "$j\n";
print "vboxmanage
$i = $i + 1;
}
$p = $p + 1;
}
$ perl vnic.pl | sh
Similar scripting could be used for a group of EXOS VMs whereby their
interconnections are created to form a specific network topology.
6. Caveats
Certain features do not work
well on the EXOS VM due to
their
relation
to
the
capabilities of the underlying
hardware.
For
instance,
while
port
sharing (LAG) works using
LACP, it only can use the
round-robin
load-sharing
05/04/2016
T h e E XO S V M i n O V B
P a g e | 13
algorithm, that is, the address-based algorithms are not available and LACP is
required.
Attempts to get OpenFlow working via the OpenFlow XMOD end badly (i.e. the EXOS
VM crashes immediately with the first installment of a flow).
Lastly, while ACLs and ACL counters appear to work as expected, Clear-Flow does
not work despite being configurable.
05/04/2016