Bridge Network not working out of the box for VM

runningoutoftime

New Member
Aug 21, 2020
1
0
1
34
Having issues just getting any network connectivity from my VMs out of the box. This is what I did:

1. Install Proxmox 6.1 with the default settings
2. Confirm Proxmox could reach the internet and other network devices
3. Upload an ISO to my local storage and install an Ubuntu 20.04 LTS version

However during installation it says it cannot get DHCP and trying to set a static IP doesn't give it network connectivity. I've noticed that if i do set a static IP it can ping my proxmox host, but it can't ping any other devices on my network.

Proxmox is currently installed a consumer grade motherboard and cpu, not too sure if it makes a difference.

if it helps this is the /etc/network/interface file on my proxmox host, haven't messed with any other settings.

Code:
auto lo
iface lo inet loopback

iface enp6s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.30
        netmask 255.255.255.0
        gateway 192.168.1.1
        bridge_ports enp6s0
        bridge_stp off
        bridge_fd 0
root@proxmox:~#
 
Hi,

I guess the network config is not correct in the VM.
PVE does not alter the traffic in your setup.
 
Hello, I'm also having this same problem.

Specifically: my guest (a single Linux Mint VM) are unable to obtain a DHCP address from my dhcp server - which sits on a Raspberry PI on 1.2
My Proxmox server sits on 1.26, gateway 1.1

Output of cat /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback

auto enp0s3
iface enp0s3 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.26/24
        gateway 192.168.1.1
        bridge-ports enp0s3
        bridge-stp off
        bridge-fd 0

I tried setting a static IP (including gateway) on the guest of 1.30. With the static IP set, the guest could ping the host, but not the router (1.1), the pi (1.2), the gateway or hostnames, which implied the guest could not reach the DNS server for name resolution.

The firewall is set to accept IN and OUT.

Edit: attached guest vm Hardware summary and Host bridge network.


All pointers gratefully received - I am using PVE 6.2-11.
 

Attachments

  • Screenshot 2020-08-27 at 22.08.08.png
    Screenshot 2020-08-27 at 22.08.08.png
    137.6 KB · Views: 97
  • Screenshot 2020-08-27 at 22.07.59.png
    Screenshot 2020-08-27 at 22.07.59.png
    48.5 KB · Views: 96
Last edited:
  • Like
Reactions: venanx
Same here, no DHCP, VM with static IP can ping host, but can't ping the gate.
On the router I can see VMs MAC and static IP.
I have changed the Router - no luck, same issue.
Please advise what else can I try?

[SOLVED]
Thank you venanx! , I have replaced my Lan card and VMs can access internet right after fresh install !
 
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!