Proxmox VM cannot connect to the internet

mmc01

New Member
Jan 24, 2024
1
0
1
I connect 2 LAN port to my server and config file /etc/network/interfaces like this.

Code:
auto lo
iface lo inet loopback

iface eno8303 inet manual

auto eno8403
iface eno8403 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.25.22/24
        gateway 192.168.25.1
        bridge-ports eno8303
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet dhcp
        bridge-ports eno8403
        bridge-stp off
        bridge-fd 0

source /etc/network/interfaces.d/*

The interface vmbr0 is ip address of proxmox. I set vmbr1 to ubuntu and config ip address in ubuntu as 192.168.25.15.

when I ping from ubuntu it show like this.
Code:
From 192.168.25.15 icmp_seq=40 Destination Host Unreachable
From 192.168.25.15 icmp_seq=41 Destination Host Unreachable
From 192.168.25.15 icmp_seq=42 Destination Host Unreachable


I also cannot SSH to 192.168.25.15. It look like vm cannot get ip address or connect to the internet. How to fix it?
 
hi, you don't need vmbr1, just use vmbr0 for ubuntu - it's a bridge, you can use it for your vms and cts, too...
 

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!