Last edited:
vmbr1
and cannot leave it.Ok, I got a connection to the internet now, but simple features in the vm like apt update and upgrade do not work. The pings I have done have been successfulHi,
you still need to configure routing/NATing between those two bridges. Otherwise, all traffic stays onvmbr1
and cannot leave it.
Have a look at our Masquerading (NAT) with iptables guide, that should explain what's needed here.
Hope this helps!
That sounds like you haven't set up DNS correctly. But you need to share some more information.Ok, I got a connection to the internet now, but simple features in the vm like apt update and upgrade do not work. The pings I have done have been successful
ip a
, ip r
and apt update
from inside the VM?iptables -L -t nat
, to confirm the NAT rules are in place.Host:Hi,
can you please post the output ofip a
,ip r
andapt update
from inside the VM?
They should provide some valuable information, as the contain the currently used configuration. The netplan e.g. might not get applied (correctly).
Further, please provide the output from the host ofiptables -L -t nat
, to confirm the NAT rules are in place.
Ok, I actually fixed it. Just reset the iptable and reloaded the interface and now it works.Hi,
can you please post the output ofip a
,ip r
andapt update
from inside the VM?
They should provide some valuable information, as the contain the currently used configuration. The netplan e.g. might not get applied (correctly).
Further, please provide the output from the host ofiptables -L -t nat
, to confirm the NAT rules are in place.
Nevermind I figured it out, thx for the helpHi,
can you please post the output ofip a
,ip r
andapt update
from inside the VM?
They should provide some valuable information, as the contain the currently used configuration. The netplan e.g. might not get applied (correctly).
Further, please provide the output from the host ofiptables -L -t nat
, to confirm the NAT rules are in place.