Difference between revisions of "Tutorial-icn17"

From fd.io
Jump to: navigation, search
(Setup Virtualbox to ssh into the vm)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= VirtualBox configuration for FD.io Cicn tutorial at ACM ICN 17 =
 
= VirtualBox configuration for FD.io Cicn tutorial at ACM ICN 17 =
  
In oder to follow the tutorial and replicate what the trainers will show, you need to import the <code>FD.io cicn.ova</code> into your VirtualBox (the vm has been tested with VirtualBox 5.1.26).   
+
In order to follow the tutorial and replicate what the trainers will show, you need to import the <code>FD.io cicn.ova</code> into your VirtualBox (the vm has been tested with VirtualBox 5.1.26).   
  
 
The virtual machine specifications are the following:
 
The virtual machine specifications are the following:
Line 15: Line 15:
 
== Import the VM in VirtualBox ==
 
== Import the VM in VirtualBox ==
  
Donwload the <code>FD.io cicn.ova</code> from ....
+
Donwload the <code>FD.io cicn.ova</code> from [https://drive.google.com/open?id=0B_Km3hao20ZybTF5ajhwckNENkU this link]
 +
 
 +
'''WARNING: Do not use Google Chrome to download the image, it will fail at import. It should work fine with Firefox or Safari'''
  
 
To import the vm select ''File->Import Appliance'', choose the file <code>FD.io cicn.ova</code> and press the import button.
 
To import the vm select ''File->Import Appliance'', choose the file <code>FD.io cicn.ova</code> and press the import button.
Line 36: Line 38:
 
=== Setup Virtualbox to simulate a link between two dpdk-compatible nics ===  
 
=== Setup Virtualbox to simulate a link between two dpdk-compatible nics ===  
  
# Open the VirtualBox preference window, move to the Network section and then to the Host-only networks tab ('File->Preferences->Network->Host-only Networks')
+
# Open the VirtualBox preference window, move to the Network section and then to the Host-only networks tab (''File->Preferences->Network->Host-only Networks'').
# click on the '''Adds new host-only network''' icon
+
# click on the '''Adds new host-only network''' icon.
# Select the new adapter anc click on the '''Edits selected host-only network'''.
+
# Select the new adapter and click on the '''Edits selected host-only network'''.
# Set as IPv4 address 192.168.57.1, subnet 255.255.255.0 and press ok (twice)
+
# Set as IPv4 address 192.168.57.1, subnet 255.255.255.0 and press ok (twice).
# Select the FD.io cicn vm and press settings
+
# Select the FD.io cicn vm and press settings.
# Move to the Netwok section, then click on '''Adapter 3''' tab
+
# Move to the Netwok section, then click on '''Adapter 3''' tab.
 
# Attach the adapter to the host-only adapter created at step 1.
 
# Attach the adapter to the host-only adapter created at step 1.
# Move to the Netwok section, then click on '''Adapter 4''' tab
+
# Move to the Netwok section, then click on '''Adapter 4''' tab.
 
# Attach the adapter to the host-only adapter created at step 1.
 
# Attach the adapter to the host-only adapter created at step 1.

Latest revision as of 16:58, 11 October 2017

VirtualBox configuration for FD.io Cicn tutorial at ACM ICN 17

In order to follow the tutorial and replicate what the trainers will show, you need to import the FD.io cicn.ova into your VirtualBox (the vm has been tested with VirtualBox 5.1.26).

The virtual machine specifications are the following:

  • Cores: 4
  • RAM: 4GB
  • Hard Drive: 20GB
  • Network: 4 Adapters (1 NAT, 3 host-only)
Username: cicn
Password: cicn17

Import the VM in VirtualBox

Donwload the FD.io cicn.ova from this link

WARNING: Do not use Google Chrome to download the image, it will fail at import. It should work fine with Firefox or Safari

To import the vm select File->Import Appliance, choose the file FD.io cicn.ova and press the import button.

Before starting the vm, you need to setup the host-only networks in your VirtualBox. The vm requires two different host-only networks. One to ssh into the machine, and the other to simulate a direct connection between two dpdk-compatible nics.

Setup Virtualbox to ssh into the vm

  1. Open the VirtualBox preference window, move to the Network section and then to the Host-only networks tab (File->Preferences->Network->Host-only Networks).
  2. Click on the Adds new host-only network icon.
  3. Select the new adapter and click on the Edits selected host-only network.
  4. Set as IPv4 address 192.168.56.1, subnet 255.255.255.0 and press ok (twice).
  5. Select the FD.io cicn vm and press settings.
  6. Move to the Netwok section, then click on Adapter 2 tab.
  7. Attach the adapter to the host-only adapter created at step 1.

To ssh into the vm using:

$ ssh cicn@192.168.56.2

Setup Virtualbox to simulate a link between two dpdk-compatible nics

  1. Open the VirtualBox preference window, move to the Network section and then to the Host-only networks tab (File->Preferences->Network->Host-only Networks).
  2. click on the Adds new host-only network icon.
  3. Select the new adapter and click on the Edits selected host-only network.
  4. Set as IPv4 address 192.168.57.1, subnet 255.255.255.0 and press ok (twice).
  5. Select the FD.io cicn vm and press settings.
  6. Move to the Netwok section, then click on Adapter 3 tab.
  7. Attach the adapter to the host-only adapter created at step 1.
  8. Move to the Netwok section, then click on Adapter 4 tab.
  9. Attach the adapter to the host-only adapter created at step 1.