virtual networking with KVM
I want to know if it is possible to build a virtual LAN on my computer using KVM to install guest OS's. I have debian wheezy i386 installed as the host OS on my computer and it does have virtualization extensions enabled. I also have 4 debian jessie virtualizations installed via KVM, I know how to launch them using NAT networking or bridged to a br0 interface that I made, but what I really want to do is launch all 4 guests at the same time and have them all connected to the same virtual switch or bridge, and have one of those functioning as a dhcp server/router for the other three guests. I want my guests to exclusively access the network through my virtual router only. I have launched one with an external usb wifi adapter attached to it, I would like for that to be the interface that accesses the internet for the other guests on my virtual network and use the interface that shows up on the guest as eth0 to pass out IP addresses to the clients. I also prefer to do everything from the command line please no virt-manager instructions. I just want to use a virtual network to learn more about linux style networking.
|