Hi
I’m trying to create a virtual network to my VMs, but I can’t access the internet from VMs. I’ve checked some tutorials and documentation, but I don’t know exactly what I have to do. My host is running on Debian 11.
- I need to manually create a bridge on node-kvm?
- I need to set my physical device (enp33s0f0)?
Here is my node-kvm interfaces:
root@d01:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp33s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether d0:50:99:ff:ef:b0 brd ff:ff:ff:ff:ff:ff
inet xx.xxx.xxx.xx/24 brd xx.xxx.xxx.xxx scope global dynamic enp33s0f0
valid_lft 56691sec preferred_lft 56691sec
inet6 xxxx::xxxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
3: enp33s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether d0:50:99:ff:ef:b1 brd ff:ff:ff:ff:ff:ff
4: enx0eeea98fe43e: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 0e:ee:a9:8f:e4:3e brd ff:ff:ff:ff:ff:ff
root@d01:~#
And here is my /etc/network/interfaces.d/50-cloud-init:
auto lo
iface lo inet loopback
auto enp33s0f0
iface enp33s0f0 inet dhcp
enp33s0f0 is the main interface, where I have a public IP.
Thank you for any docs, tips or tutorials.