For those who don’t know - Mininet is a tool that allows for the automated creation of multiple OVS switches, chroot linux ‘containers’ as hosts and links them all together to prototype OVS powered networks.
I’m trying to create a slightly out of the box mininet environment and stuck with how mininet handles containers and networking. I understand that when you create a new host in mininet, a veth pair is created between the mininet instance and the ‘host’.
In this diagram, I’ve outlined the standard mininet behaviour in blue - the veth pair between the mininet instance and the host. I’m trying to create link inscribed in red, a veth pair between the mininet ‘host’ and the linux networking stack on the mininet server.
This scenario would allow me to run a controller on the host and communicate with the host mininet machine and the rest of the virtual network.
How would I go about creating a new veth pair between a chroot ‘container’ and the host machine?