SRv6 - Linux Kernel implementation

Using SRv6



Software Resolved Networks


edit SideBar


Filed in: Implementation.UsingTheVirtualMachine · Modified on : Fri, 04 Mar 16

We provide a VM to easily discover and play with the SR-IPv6 framework. The VM contains the SR-IPv6 kernel, the modified iproute2 as well as the Nanonet framework, which allows to easily create virtual networks within the VM in order to test various network setups with SR.

Installation with QEMU

We consider that you already have a proper version of qemu-kvm installed on your machine.

Download the qcow2 image, uncompressed (2.4GB) or compressed (673MB).

If you downloaded the compressed image, uncompress it with the following command:

$ unxz sr6-qcow2.img.xz

Then, launch the VM with the following command:

# qemu-system-x86_64 -enable-kvm -cpu host -drive file=sr6-qcow2.img,if=virtio -net nic -net user -m 2G -monitor stdio -smp 4

Feel free to modify the -m 2G and -smp 4 to respectively change the allocated memory and CPUs.

Installation with VirtualBox

Download the VBOX image, uncompressed (2.3GB) or compressed (660MB).

Create a new VM in VirtualBox, and select the vbox image when prompted.

Using the VM

Once the system has booted, you will be automatically logged in as the sr6 user. You can switch to root by typing the sudo su command. The default passwords are sr6 for sr6 and root for root.

You might want to update the kernel to the latest SR-IPv6 nightly build:

# wget -O - > /boot/vmlinuz-sr6
# wget -O - > /boot/
# wget -O - > /boot/config-sr6
# reboot

The home directory of the user contains the sources of the modified iproute2 tool (which is already installed in the system), and the Nanonet framework. See the page Nanonet for more information about the framework.

Powered by PmWiki