Difference between revisions of "Tutorial-icn17"

From fd.io
Jump to: navigation, search
(Setup Virtualbox to ssh into the vm)
(Setup Virtualbox to simulate a link between two dpdk-compatible nics)
Line 36: Line 36:
 
=== 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.

Revision as of 14:57, 15 September 2017

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 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 ....

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.