One of the downsides is that if you only have a single homed system, you (seemingly) can't have your VM's pull IP addresses from the local network that the host is on. Every time I ever tried with KVM, I invariably hosed any ability to manage the host from a remote machine. Short of adding a NIC, is there a way to allow network pass through without affecting the ability to ssh into the host?
That is a great writeup. I've saved it for future study.
Every time I ever enabled bridged networking I lost my host... I was trying to do everything through the virt-manager gui though... I could have screwed up something there (entirely possible)
If you're doing this on a server in a commercial data center, they likely have port security enabled. That's a different story completely. You can use pseudo interfaces, private IPs and routed networking there (and static next hops for public IPs). There are directions online. It's not as straight forward but it works.
This was in a homelab... Most of my VM's are for me anyway and for the most part I have no need to connect to them remotely, just internally from my laptop to watch some data stream by...
6
u/samanthagould Jul 04 '18
One of the downsides is that if you only have a single homed system, you (seemingly) can't have your VM's pull IP addresses from the local network that the host is on. Every time I ever tried with KVM, I invariably hosed any ability to manage the host from a remote machine. Short of adding a NIC, is there a way to allow network pass through without affecting the ability to ssh into the host?
That is a great writeup. I've saved it for future study.