Proxmox 2VMs and 2 IPs, config help request

jermaine150

New Member
Jun 1, 2022
5
1
3
Hi guys,

I’m fairly new to Proxmox networking and could use some help with my setup. Let me breakdown my desired goal and what I’ve tried.

I have a VPS on Hetzner, (including an additional IP) on which I basically would like to run two VMs (with flux nodes) which should both be accessible through on of the IPs.

What I tried:
I’m following this guide (https://medium.com/@oGGoldie/flux-multi-node-server-setup-7cd8887fe268)

I’ve installed ProxMox 7.2-3 and created a vm with Opnsense router. I used al network config from the above link. However when I create a new Ubuntu VM and use Opnsense as gateway I have internet speeds of 1 mb/s download speed which basically fails most of the tasks that I want to perform.
If I test the speed on the router or the bare VPS they are both around 960 mb/s download speed.

So maybe this is a opnsense issue, but I’m kinda stuck. I’m also wondering if It wouldn’t be better to skip the Opnsense router and just create two VMs within Proxmox and somehow configure them to use the IPS I have.

Any help / guidance on this would be greatly appreciated
 
Hi,

can you post you /etc/network/interfaces config? Did you check the load on the opensense VM? It sounds like it might be the bottleneck here.
 
Hey, so this the output of my /etc/network/interfaces config, from the main server that is also running proxmox. Speeds are fine on this server.


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

iface enp7s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 65.xxx.xxx.xxx/26 (redacted ip of the main server)
gateway 65.xxx.xxx.xxx (redacted gateway ip)
bridge-ports enp7s0
bridge-stp off
bridge-fd 1
hwaddress 04:xx:xx:xx:xx:xx (redacted main server mac)
pointopoint 65.xxx.xxx.xx  (redacted gateway ip)
auto vmbr100
iface vmbr100 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0

Speedtest on the opensense VM reports download speeds of close to 0

Hope this adds some info
 
This looks pretty normal to me. Can you please post your opensense VM config: qm config <VMID>
 
Yes, here's the opensense config:

Code:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
boot: order=scsi0;ide2;net0
cores: 1
ide2: local:iso/OPNsense-22.1.2-OpenSSL-dvd-amd64.iso,media=cdrom,size=1351724K
memory: 2048
meta: creation-qemu=6.2.0,ctime=1653774222
name: ROUTER
net0: virtio=00:xx:xx:xx:xx:xx,bridge=vmbr0,firewall=1
net1: virtio=B6:xx:xx:xx:xx:xx,bridge=vmbr100,firewall=1
numa: 0
ostype: l26
scsi0: local:999/vm-999-disk-0.qcow2,size=8G
scsihw: virtio-scsi-pci
smbios1: uuid=adb3a34e-9068-4e2e-a736-bf597547b3cc
sockets: 2
vmgenid: 6cf0c5e8-76aa-4f45-a67c-bd9cf53959d3
 

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!