Re: libvirt guest bridge configuration
On 9/19/2020 12:08 AM, Lucio Crusca wrote:
I'm trying to bridge a network interface between host and guest (both
Debian Buster+Bullseye+Sid) so that NAT is not needed.
If you don't incist on using /etc/network/interfaces you could also use
systemd-network:
/etc/systemd/network$ tail -n +1 *
==> br0.netdev <==
[NetDev]
Name=br0
Kind=bridge
MACAddress=<MAC-OF-INT-TO-BRIDGE>
==> br0.network <==
[Match]
Name=br0
[Network]
DHCP=yes
==> uplink.network <==
[Match]
Name=<INT-TO-BRIDGE>
[Network]
Bridge=br0
This assumes that the bridge will reseave an IP from a DHCP server.
HTH.
--
John Doe
Reply to: