No connection on VMclients + need to add multiple IP address on same interface

anaskhallouqi

New Member
May 6, 2024
3
0
1
Hello guys,

I would need help configuring my Proxmox server.

I currently have the system installed on a dedicated server with public ip address on port vmbr0. The network interface where there is internet connection is eno1.

I installed Windows Server where I have no internet access despite having configured the vmbr0 card. This is the first problem.

The second problem is that I have several public IPs that I want to associate to each vm.. I tried several configurations, also editing the file /etc/network/interfaces without success.

Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

iface eno2 inet manual

auto vmbr0
iface vmbr0 inet static
        address 95.xxx.xxx.xxx/24
        gateway 95.xxx.xxx.xxx
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

Screenshot_3.png

Screenshot_4.png

Do you have any news or info about how to solve problems?

Thank you!
 
Update:

I try this configuration:

/etc/network/interfaces
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eno1
iface eno1 inet dhcp

/etc/network/interfaces.d/*
Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static
        address  95.xxx.xxx.xxx/24
        gateway  95.xxx.xxx.1
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp


auto vmbr0
iface vmbr0:0 inet static
        address  45.xxx.xxx.xxx/24
        bridge-ports none
        bridge-stp off
        bridge-fd 0

auto vmbr0
iface vmbr0:1 inet static
        address  92.xxx.xxx.xxx/24
        bridge-ports none
        bridge-stp off
        bridge-fd 0

auto vmbr0
iface vmbr0:2 inet static
        address  92.xxx.xxx.xxx/24
        bridge-ports none
        bridge-stp off
        bridge-fd 0

I also try to put different name on iface vmbr[i]
Code:
...

auto vmbr0
iface vmbr0 inet static
...

auto vmbr1
iface vmbr1 inet static
...

auto vmbr2
iface vmbr2 inet static
...

And in the end when i lunch the command ifreload -a it popup me this message:
Code:
warning: duplicate interface lo found
error: main exception: [Errno 2] No such file or directory: '/sys/class/net/vmbr1/brif/'

I hope with that additional info can someone understand me and help to solve that issues.

PS: no vm connected to the internet right now.
 

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!