No internet connection on CT's or VM's

Nic_

Member
Jan 5, 2022
37
2
13
18
Austria
So basically yesterday I tried to activate IOMMU with the help of this guide to use my GPU on my Windows 10 VM... It didn't work but besides that now all of my CT's and VM's have no working internet connection, but the proxmox node still works fine...

I have 1x ubuntu 22 CT and 1x Windows10 VM and I'm in no way a expert with proxmox and linux

Proxmox Node: /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp8s0
iface enp8s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 142.132.203.146/32
gateway 142.132.203.129
bridge-ports enp8s0
bridge-stp off
bridge-fd 1
pointtopoint 142.132.203.129
bridge_hello 2
bridge_maxage 12

auto vmbr100
iface vmbr100 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
###############################

Proxmox Node: /etc/resolv.conf
### Hetzner Online GmbH installimage
# nameserver config
nameserver 185.12.64.1
nameserver 2a01:4ff:ff00::add:2
nameserver 185.12.64.2
nameserver 2a01:4ff:ff00::add:1

Ubuntu 22 CT: /etc/network/interfaces --> No file

Ubuntu 22 CT: /etc/resolv.conf
# --- BEGIN PVE ---
nameserver 185.12.64.1
nameserver 2a01:4ff:ff00::add:2
nameserver 185.12.64.2
# --- END PVE ---

Windows 10 VM also no internet connection; It says ethernet connected but no internet


These are the log files I think could be usefull, if you need more just tell me which.
Thanks for your help :)
 
@perry
Ubuntu ct:
arch: amd64
cores: 4
features: nesting=1
hostname: pyserv
memory: 16384
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=00:50:56:00:9E:85,ip=dhcp,ip6=dhcp,type=veth
ostype: ubuntu
rootfs: local:101/vm-101-disk-0.raw,size=500G
swap: 512
unprivileged: 1
Windows VM
bios: ovmf
boot: order=ide0;ide2;net0
cores: 4
efidisk0: local:100/vm-100-disk-1.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
ide0: local:100/vm-100-disk-0.qcow2,size=500G
ide2: local:iso/Win10_21H2_English_x64.iso,media=cdrom,size=5745798K
machine: pc-q35-6.2
memory: 16384
meta: creation-qemu=6.2.0,ctime=1657800826
name: win16
net0: e1000=6E:09:16:9A:08:AE,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsihw: virtio-scsi-pci
smbios1: uuid=f391f2fb-47c8-4243-92dd-fb9ea061b0cd
sockets: 1
vmgenid: 2bddbd90-7a20-4e95-9fdb-7f58f59ddeee
 
Last edited:
Ubuntu:
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: eth0@if87: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:50:56:00:9e:85 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::250:56ff:fe00:9e85/64 scope link
valid_lft forever preferred_lft forever

Windows
1657877146815.png
 
For LXCs you get the config with pct config <VMID>.
Okey thanks
got it:
arch: amd64
cores: 4
features: nesting=1
hostname: pyserv
memory: 16384
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=00:50:56:00:9E:85,ip=dhcp,ip6=dhcp,type=veth
ostype: ubuntu
rootfs: local:101/vm-101-disk-0.raw,size=500G
swap: 512
unprivileged: 1
 
You have chosen to use DHCP for IPv4 and IPv6. Are there really DHCP-Server available for IPv4
+ IPv6? If not there is no one who will tell the LXC what IP and gateway to use.
 
You have chosen to use DHCP for IPv4 and IPv6. Are there really DHCP-Server available for IPv4
+ IPv6? If not there is no one who will tell the LXC what IP and gateway to use.
It always worked with DHCP.. Also my server is hosted by hetzner and you have to set the given mac adress for a VPS in order for it to get an IP adress via DHCP and i did that
I just regenerated the MAC adresses and restartet the server but still not working.. but there are currently also no issues with hetzner so I think its a problem with my proxmox installation...
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!