Hello,
We downloaded Opennop in order to perform some tests. We followed the steps provided in the web page http://www.opennop.org/manual.php. Our topology is provided as an attachment. We added static routes for each network on both Opennop Virtual Appliances and to the WAN emulator. We requested a file (SMB) from server 192.168.0.50 but unfortunately we did not see any sessions on any of the Opennop Virtual Appliances (file transfer was successful though).
As you will see in the attached image we did not use policy based routing. We just use 2 different network interfaces on each Opennop Virtual Appliance and we want to accelarate traffic passing by them.
Question 1: How do you setup inline mode (described in http://www.opennop.org/manual.php) ? Is it necessary to setup static routes as we did or you have another approach?
Question 2: The manual does not refer any requirement for setting up static routes. Do we expect inline mode to work without setting any static routes or creating a bridge interface on the Opennop Virtual Appliances?
Thanks,
Vili
Hello,
Based on your network diagram it looks like you are using inline (routed) mode. So the OpenNOP appliance needs to know where to route traffic because its acting just like any other router in your network. A simple way to define inline (routed) mode would be any OpenNOP appliance connected to two or more unique networks.
In inline (routed) mode you must have routes loaded onto the OpenNOP appliances. You can load the routes using any method you like (static routers, RIP, OSPF, BGP) Linux has daemons for all these routing protocols.
Inline (bridge) mode would require a single network where OpenNOP is placed between your clients and the router. After creating the bridged interface you start the kernel module with the option mode=bridged.
The exact command is:
Some additional commands that might be helpful:
Hello,
We think it worked. It seems that we rebooted the VMs and we did not start the driver again. We use routed mode and next week we will try the bridged one also. I will try to provide a document to you with results and setup scenarios. By the way have you tried this on ARM appliances (eg Raspberry pi)? Is there any way we can try to do so?
Regards,
Vili
Glad you got it working again and I would love to have some feedback.
You would have to compile from source to see if it would run on ARM. I would be worried about performance on the Pi but it might work OK.
Hello,
Thank you for your prompt response.
Where I can find the source code of Opennop?
Is it implemented as kernel modules? If yes I suppose I will have to follow the same procedure as any regular kernel module but perform this on Rapsberry Pi, beaglebone or whatever. Correct? (if you have any guide for this would it be possible to share?)
Thankx
The source code is hosted here in SourceForge at least for now.
https://sourceforge.net/p/opennop/_list/git
I put together some info on building from source.
[Development Build - Source]
It looks like there are some issues for building kernel modules that work with Pi.
http://bchavez.bitarmory.com/archive/2013/01/16/compiling-kernel-modules-for-raspberry-pi.aspx
Related
Wiki: Development Build - Source