Questions tagged as ['virtual-network']
Short: Get two VM's to talk to each other running on same hypervisor.
I have two VMs running under KVM and I am trying to manage them via Cockpit.
The hypervisor, and the vm's are running Ubuntu 20.04.
VM's are configured using br0 (192.168.1.248/24) which points to enp2s0.
They get their own local lan IPs such as: 192.168.1.152 192.168.1.220
These can been seen and pinged on the local lan. They howev ...

I'm looking to create a test environment for STP / RSTP. I eventually came by this post that suggested using namespaces. It seemed like that was exactly what I'd wanted to create the simplest STP environment. I ended up writing a script like this:
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
# First case: Try a single veth pair
ip netns add blue
ip link add ve ...
The differences in documentation between KVM docs and virtualbox docs make it difficult to find what I'm looking for
My goal is to do something like https://resources.infosecinstitute.com/topic/setting-pentest-lab-pfsense-virtualbox/ where all guests have IPs assigned by the pfSense guest, which also acts like a firewall between them and can itself be accessed by the host network. In this way I can practi ...