[SOLVED] Unable to get internet on VM

Janjiro

New Member
Jan 7, 2022
4
0
1
50
I have been trying to get a windows 10 VM working, but alas I can't figure out how to setup networking. I have tried various configurations of /etc/network/interfaces but most times end up messing up so badly the server needs rescuing. Could anyone take a look at my config and give some advice?

GXPd2gI.png

PMrLcgR.png
HWNaucJ.png
 
Hi,

Why did you set the vmbr0 as DHCP?


The vmbr1 bridge should point to the vmb0 bridge, I mean in the below two lines:

Code:
post-up iptables -t nat -A POSTROUTING -s '10.3.5.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.3.5.0/24' -o vmbr0 -j MASQUERADE

Not to the eth0 NIC
 
Hi, thanks for the response.

I'm using a server from Kimsufi and it comes with vmbr0 set with DHCP. I've tried a few different configurations but it seems everytime I change anything with vmbr0 I can't access the proxmox GUI anymore. Going to try the new configuration and let you know how it works.
 
Glad that you solved the issue yourself!

I will set your thread as [SOLVED] to help other people who have the same issue

Have a nice day :)