So, this is something that I have struggled to wrap my brain around for years now. I just can’t get the hang of networking my VMs properly.
I just spent the last hour and a half trying to follow this guide: https://fedoramagazine.org/build-network-bridge-fedora/ I was informed as I pasted that link that I already posted this link in October of last year. Yeah.
But it just won’t work. I can’t create a bridge. I have no Idea what I am doing wrong. At this point everything is back to stock.
So. Here is what I have:
Some network interfaces:
The network interface ‘enp4s0’ is considered the primary, and is assigned a static IP address from my pfSense box. This is my file and plex server, so it is important that this IP stays the same.
The network interface ‘enp34s0’ is the add-in NIC, and is currently DHCP. I want to use this to share to my VMs. If there is a way to do it with the primary while keeping the primary’s IP, then that’d be cool too.
The important bit is each VM needs its own IP address, statically assigned by my pfSense box. Each VM gets a randomly generated MAC address, and I have assigned IPs to VMs before, so I know it works.
Right now, since I did a fresh install of my file server, none of this is working. I don’t remember what I did with the old install, and this time I’m writing shit down. Also, the second NIC borks VNC for some reason. That sucks, but I can still SSH in.
If someone would be so kind, I’d greatly appreciate some knowledge on the subject.
I found this spectacular guide that does exactly what I want:
It doesn’t quite work, though. I can assign the VM to use the host-bridge network, but when I hit the play button it switches to specify shared device and the VM doesn’t get an IP address. So close.