[SOLVED] Network Config for VMs not working, but Container!

dougles1112

Member
Nov 3, 2021
13
0
6
32
Hi Guys!

Got a little issue, my VMs Inet - connection is not working, but for Container it works fine!

Here are my Settings:
1635978147815.png

For Containers i use the vmbr99 Bridge - still working fine!
Here is my interfacec.d from proxmox:

1635978411276.png


When i start my VM with ubuntu with the config as shown in the next picture i only get an "Temporary failure in name resolution"

1635978536296.png

Also tested with vmbr0 and virtIO on all two bridges...the Local-VM-Windows is reachable on the 10.10.10.200 like u see in that next picture:

1635978785418.png

Can u see the fail?

If some more information is needed, i can post it!


Thanks a lot guys!
Greetings
 
hi,

Temporary failure in name resolution means you're not resolving the domain names.

does the VM reach the public internet, e.g. can you ping 8.8.8.8 and receive response? if yes then you might just have to adjust the DNS settings inside your VM.

if there's no internet connectivity in the VM then most likely there's another issue
 
does the windows VM in the same network have internet connectivity?

what do you get from route -n inside the linux VM? can it reach the gateway IP?
 
Hi!

Yes the win-VM has I-Net connection!

Route gives me that result:

Dest: 10.10.10.0
GW: 0.0.0.0
Genmask: 255.255.255.0
Flags: U
Metric: 0
Ref: 0
Use: 0
Iface: ens18
 
can you try setting your gateway to the same IP (ending with 182.75) inside the linux VM?
 
Now i installed a brand new ubuntu 20.04 with that settings in the yaml file 01-netcfg.yaml

1636047080967.png

after that i used the command "sudo netplan apply" - to apply the config

Also i can ping the other Containers with the "local" ips of 10.10.10.200 or 10.10.10.201 thats working, but cant ping the Windows VM XD

The internet won't work -.-
 
Last edited:
At the Debian 11 installation, when i set-up the Gateway, with the x.x.182.75 address, i get a Error-Message:

Gateway not reachable...
 
1636163727024.png
I tried it with Virt-IO Network Adapter and with the E1000....

Why does my installer cant grab the DHCP address?

No internet also not with manual config...

Did now a fresh install with proxmox - Windows VM already running with Internet without problems, but VM with Linux is actually killing my head XD - I dont know what i can try ....
 

Attachments

  • 1636163601091.png
    1636163601091.png
    57.5 KB · Views: 7
Last edited:
Hi Bois!

I did now a fresh install of all Components - Proxmox and all Container/VMs now it is everything working.

I think i had a mistake on the network vbmrs somewhere...finally it works.!!

Thanks for help & reply to this topic!

-Greets doug