Basic PVE 6.2 setup - guest have no internet accress

rykr

Member
Aug 22, 2020
35
1
8
55
I'm read the docs regarding bridged mode. My interfaces file is essentially right from install.

auto lo
iface lo inet loopback
iface enp4s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.130/24
gateway 192.168.1.1
bridge_maxwait 10
bridge-ports enp4s0
bridge-stp off
bridge-fd 0

network on the host works well. Guest boots up nicely and can ping the host but has no internet access at all.

Any idea what I'm doing wrong?
 
  • Like
Reactions: zaptrem
ip link shows this:

root@pve:~# ip link


1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000


link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00


2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP mode DEFAULT group default qlen 1000


link/ether d4:5d:64:af:e5:5b brd ff:ff:ff:ff:ff:ff


3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000


link/ether d4:5d:64:af:e5:5b brd ff:ff:ff:ff:ff:ff


4: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr100i0 state UNKNOWN mode DEFAULT group default qlen 1000


link/ether ce:f9:74:45:d6:d8 brd ff:ff:ff:ff:ff:ff


5: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000


link/ether 76:8c:4f:1a:c7:6a brd ff:ff:ff:ff:ff:ff


6: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP mode DEFAULT group default qlen 1000


link/ether 92:9c:10:18:e7:ee brd ff:ff:ff:ff:ff:ff


7: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i0 state UP mode DEFAULT group default qlen 1000


link/ether 76:8c:4f:1a:c7:6a brd ff:ff:ff:ff:ff:ff
 
root@pve:~# brctl show


bridge name bridge id STP enabled interfaces


fwbr100i0 8000.768c4f1ac76a no fwln100i0


tap100i0


vmbr0 8000.d45d64afe55b no enp4s0


fwpr100p0
 
Anyone have any ideas on this? This seems so basic I have to believe it's something simple.
 
ok. It's pretty basic. Machine has a single nic. Private server in my home. out of the box install. Had to add bridge_maxwait 10 to my /etc/network/interfaces file in order to get the network to work at boot.

Using bridge of vmbr0 (the one the installer setup).
no vlan tag
model is E1000
firewall is disabled.
all other options are default.

the vm can ping the host and, after disabling the Windows firewall on the guest, the host can ping the guest. However, the guest has zero internet connectivity. My home router sees the vm and lists it's ip as 192.168.1.160 and the windows vm shows it's ip as 192.168.1.160 but it lists "preferred" by it. Not sure if that means it asked for 160 but not response back.

Windows is the guest and is set to use DHCP for everything. This is a physical hard disk. I can boot the windows disk natively or boot it under Proxmox.

I tried installing a different os under a Proxmox vm and it didn't have internet either so I think it's like packet fwding two the gateway is not happening
 
No. I can ping host only from vm
I’m having the exact same issue with an identical setup. I also have an i225-v NIC (I just posted in another thread of yours as well). Any chance that could be related?
 
Does your VM have the correct gateway IP set?
So does mine, I double checked by comparing to other PCs on the network. The VM seems to successfully acquire a new local IP and the network’s suggested DNS servers despite me not explicitly setting them (I didn’t even set those DNS servers on the host). Does this mean it was able to communicate with the DHCP server, then lost that ability after setting its IP? Or did it grab this info from the host somehow?
 

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!