[ale] ip address on br0 but not on eth0
DJPfulio at jdpfu.com
DJPfulio at jdpfu.com
Thu Feb 2 19:09:18 EST 2023
>
> Debian using wicked network setting
>
> auto vmbr0
> iface vmbr0 inet static
> address 192.168.1.2/24 <http://192.168.1.2/24>
> gateway 192.168.1.1
> bridge-ports enp8s0 <-- The physical Device being used.
> bridge-stp off
> bridge-fd 0
>
Ubuntu doesn't use the interfaces file since around 2018 (it actually worked sometime in 2020 for non-trivial needs). Canonical switched to netplan, which uses a YAML config file.
For examples of netplan, https://netplan.io/examples
Besides that, I didn't see anything wrong in Chuck's post.
The key for VM networking is that inside the VM, you'll need to setup networking just like on a physical machine.
You can use DHCP or static settings, if you like. If you setup bridging, then the DHCP server on the host's LAN will be used, unless you setup a static IP inside the VM, which will need to be on a network the host is attached into. All the normal rules for IP addressing and DHCP apply to the VM.
More information about the Ale
mailing list