Sudo ip netns exec right ifconfig enp0s8 10.0.0.2/24 up # - # same as above, with different name and IP for the namespace Sudo ip netns exec left ifconfig enp0s8 10.0.0.1/24 up # configure that interface inside the namespace Sudo ip netns add left # reset enp0s8 interface and assign it to the namespace Let's start ! On each of the vagrant box, I create a network namespace ( left and right) and assign the first Host-Only Adapter ( enp0s8) to them, thus achieving a direct connection. In the end, I summarized the iperf results for all the tests performed. In this case, I assigned the Host-Only adapter to the each of the network namespace so that they can reach each other directly.Īfter measuring the baseline, I followed the instructions in my previous post to create tunnels and re-do the performance measuring each time. These tests were not performed between physical machines over physical wires, but instead they were carried between virtual elements in a fully virtualized environment (OS, networking, connection, etc).Īs always when trying to measure performance, you need a baseline that gives you a rough idea about the total capacity you have. The tests presented in this post do not follow a typical network performance procedure, but are more just iperf tests (mostly with the default options) intended to give the reader a simple overview.
0 Comments
Leave a Reply. |