SD-WAN+ POC & WAN Emulator

SD-WAN+ POC & WAN Emulator

Hi everyone , 

 

Sharing a small project I did couple months ago. I was tasked to present how could the licence SD-WAN+ help our organization to improve user experience with VOIP issues.

 

Current challenge :  Most of our sites have 2 internet links. Most of the time these links are on fiber and are very reliable. However , we do have some challenges with ADSL and Coax. These links can experience loss and latency at any moment and are not as reliable as fiber.

 

What if we could create a WAN policy that would steer traffic to the best uplink possible ? This is possible with the licence SD-WAN+ and SD-Internet polices.

 

But how can you test this in a lab would you say ? In fact this is pretty easy with a Raspberry PI. You have to install and configure TC and a bridge between 2 interfaces on the Raspberry Pi. There is a great guy named Nathan Wiens that works for Cisco/Meraki that has done all the hard work and provides a repo of his work : https://github.com/nathanwiens/merakiwanemulator ( there is also a cradlepoint version of this code that is newer and probably bug-free )

 

 

The testing setup is pretty simple. MX68CW connected to the SAME ISP, but on WAN2 there is a Raspberry Pi intercepting the traffic ( Man in the Middle kind of )

RaphaelL_0-1755270191042.png

 

I was able to quickly adjust the latency/loss/jitter via a nice Web interface that runs on the RaspberryPi. You could also do these changes via the cli of the RPI.

RaphaelL_1-1755270245470.png

Teams calls were horrible with that latency and loss as shown with this picture :

RaphaelL_2-1755270287117.png

 

 

After creating the SD-Internet policies everything was perfect :

RaphaelL_3-1755270327663.png

RaphaelL_4-1755270338996.png

 

 

In conclusion, I was able to prove that SD-Internet policies were crucial to our users. Complaints about VOIP issues related to loss and latency are almost down to 0.

 

Big big big thanks to @NathanW for the github repo.

Comments
Inderdeep
Kind of a big deal

Awesome 

PhilipDAth
Kind of a big deal

Great post @RaphaelL .

 

I have done something similar in the past, but not so elegantly.  The Linux kernel has a built-in module for WAN emulation called "NetEm".  Pretty much every Linux box with two NICs can do this.

 

https://srtlab.github.io/srt-cookbook/how-to-articles/using-netem-to-emulate-networks.html