Hi all!
I am in the process of migrating from a Windows/Hyper-V host to a Debian/KVM host, and have a specific challenge with one of the VMs.
The VM is my firewall. In Hyper-V, there's a checkbox on the virtual switch properties that can turn off host access to the network adapter:
This makes it possible for the NIC attached to the public internet to only be accessible to the VMs that have virtual adapters connected to that virtual switch. And that's just the firewall VM.
Researching how to do this on Debian seemed to indicate the way to proceed would be to set up a bridge, and have the properties on it set to manual as opposed to dhcp to prevent it from acquiring an IP address... But when trying to turn on that NIC inside a vm, dhcp never succeeds.
From interfaces:
KVM Virtual Network Configuration:
VM Virtual Network Interface:
Any ideas on how to make this work?
I am in the process of migrating from a Windows/Hyper-V host to a Debian/KVM host, and have a specific challenge with one of the VMs.
The VM is my firewall. In Hyper-V, there's a checkbox on the virtual switch properties that can turn off host access to the network adapter:
This makes it possible for the NIC attached to the public internet to only be accessible to the VMs that have virtual adapters connected to that virtual switch. And that's just the firewall VM.
Researching how to do this on Debian seemed to indicate the way to proceed would be to set up a bridge, and have the properties on it set to manual as opposed to dhcp to prevent it from acquiring an IP address... But when trying to turn on that NIC inside a vm, dhcp never succeeds.
From interfaces:
KVM Virtual Network Configuration:
VM Virtual Network Interface:
Any ideas on how to make this work?
Statistics: Posted by renbo — 2024-02-09 18:14 — Replies 1 — Views 47