Re: virt-manager and networking
Marco Moock wrote:
> On 06.06.2025 20:20 Uhr Charles Curley wrote:
>
> > Is it possible to set things up so that the virtual machines are on
> > the same network as the host machine? The host is on
> > 192.168.100.0/24. Can I have the virtual machines also on
> > 192.168.100.0?
>
> This is called bridge. IIRC you have to set up a bridge on the system
> and then attach it. I've never managed to make that work, so I kept
> using virtualbox.
# The primary (real) network interface
allow-hotplug enx3
iface enx3 inet manual
auto br0
iface br0 inet static
address 192.168.100.2/24
gateway 192.168.100.1
bridge_ports enx3
bridge_maxwait 1
bridge_stp off
bridge_fd 0
---
after a reboot, the br0 interface has eaten your enx3 NIC and
anything that you thought you should do to enx3 at an IP level,
do for br0 instead.
-dsr-
Reply to: