VDEv2: Virtual Distributed Ethernet
github.com
github.com
Anyone knows where the API docs for hyper-v virtual switch is?
slirp/slirp4net is not worked on for a while. I think all the effort now goes to the worse name project in history: pasta.
There was once a "VMware Virtual Network SDK" or something, but I couldn't find anything that made any use of that (and now with VMware being part of Broadcom I think it's getting more and more impossible)
https://learn.microsoft.com/en-us/windows-server/networking/...
I use one VDE switch per network with each network having a single tap interface to my OS bridges. It has been a feature of QEMU since 0.15 and the performance is just as good as taps or OVS.
VDE can be used with wirefilter to introduce programmable, non-ideal characteristics (latency, packet loss, data corruption, etc) into a network link. Obviously you wouldn't want this in a production system, but it's useful for testing.
This let you play with a network lab based on UML or other technologies without needing to set up a physical network.
This was before hardware virtualisation that we now take for granted. UML was actually the first technology that Linode used for virtualisation, then Xen came along and was a far better option.
The motivation was I wanted to use more easily customized dockerized services to test bare-metal system images boot process - which required a bunch of stuff (like DHCP, config management etc.) to be "available" on the network but more easily swapped out.
This actually worked great! You could use QEMU to spin up a machine, have a DHCP container assign it an ethernet address but then reserve an IP range on the docker network for docker to launch containers into.
It also meant you could bridge into the virtual network easily and without any host IP stack interactions - just launch an interactive container onto the network (or launch it with two interfaces, one on the "real" network so you could provide internet connectivity).
I wanted to get around to testing failure states, but it never ultimately came up.
All that was out of fashion during the brief period everyone fired sysadmins and all devs got a "devops" tshirt, and then everyone just run Docker as root with bridge mode network.
Notice: Virtual Distributed Ethernet is not related in any way with
www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
i.e. the German "Association for Electrical, Electronic & Information
Technologies").
I wonder how many times that came up, that they had to put it in the README.If you ever work on anything electrical in Germany, you see the acronym VDE everywhere on standards etc.
Why is it that we all use VDE ratings for high voltage insulated screwdrivers, but (as far as I'm aware/can think of) nothing else?!
I suppose DIN is similar: to most people it's just the rail. (Not to mention I wouldn't be surprised if the common one is just one of many DIN rail specifications or size variants.)
Or the paper sizes, if you're not American.