Not getting routed setup with three single IPs plus one Subnet on hetzner dedicated

I only meant that I got a VNC or SPICE or so, from within the host, the proxmox and this way could only reach the inside the VM (like using windos, etc)
Sure sure, vnc or spice from proxmox hypervisor don't use network to connect to the vm (It's more like you display the monitor/screen of the vm).
it'll work if you don't have any network interfaces in your vm.
 
  • Like
Reactions: ssldn
Sure sure, vnc or spice from proxmox hypervisor don't use network to connect to the vm (It's more like you display the monitor/screen of the vm).
it'll work if you don't have any network interfaces in your vm.
Yeah, and in 2016 I had 3 of such dedicated root servers where dozens of teams worked on, but I think I can remember it was eitehr a bridged setup and we had them reaching it from outside. Or it was some solution to give them a login as User of proxmox, then they could only see their machine after they ve logged in the host like I do now for configs. Then they opened it and worked over a VNC thing.
 
please think about, what your goal is and then tell us what you exactly want to do...
Hi, I think its made clear. Can you confirm this here?
And why does something like "setting same IP for the interface and the vmbr0" in the GUI not work, but it sould in the console?
Up there I wrote about it. Already.

Am gonna also try to use a firewall in front of the VMs, so the VMs get internal IPs, that should be the bestter way, shouldnt it be?

the only way to reach multiple vm with 1 public ip from outside, is to do port direction + nat
like

client--->internet---->1.1.1.1:80 (proxmoxhost)---nat+port rediction----->vm: 192.168.0.1:80
1.1.1.1:81(proxmoxhost)---nat+port rediction----->vm: 192.168.0.2:80
can I put a OPNsense in front with my IP set?
 
Sure sure, vnc or spice from proxmox hypervisor don't use network to connect to the vm (It's more like you display the monitor/screen of the vm).
it'll work if you don't have any network interfaces in your vm.
Hi, I texted you on message channel.
Can you kindly take a look and we shortly get this clear to me, if my setup is correct, then? I dont want to start and then lose an access again...
 
your config is a bit confused

please try like described here
https://dominicpratt.de/hetzner-proxmox-network-configuration/

why are you creating vmbr1...5 with an IP assigned out of the subnet ??
I was hinking about your question a while. I am noob in network terms, at least in deeper stuff. I would like to be that impolite and ask the counter question at you: "Why does it seem to not make sense to you?" this could apparently help me and readers, maybe.
 
Sure sure, vnc or spice from proxmox hypervisor don't use network to connect to the vm (It's more like you display the monitor/screen of the vm).
it'll work if you don't have any network interfaces in your vm.
Hi,
I wanted to do as Ive been reading from you and tutorials, but in the GUI.
The tool did NOT ALLOW that I use the same IP 23.546.210.99 in the networkcard of server wiht enp0s31f6 also in the Gateway...
your config is a bit confused

please try like described here
https://dominicpratt.de/hetzner-proxmox-network-configuration/

why are you creating vmbr1...5 with an IP assigned out of the subnet ??

Hi,
I wanted to do as Ive been reading from you and tutorials, but in the GUI the proxmox interface did ALLOW that I use the same IP 23.546.210.99 in the networkcard of server with enp0s31f6 also in the vmbr0,...
but I was NOT allowed to use the same gateway... on enp0s31f6 and on vmbr0...
Makes me worried a bit, if I will set the network config to work , all will be not reachable....
I mean beacuse there is a field for the gateway to use, but nothing is submitted inside.

An this is the output BEFORE applying the changes:
Bash:
--- /etc/network/interfaces    2020-08-14 09:34:26.492987171 +0200
+++ /etc/network/interfaces.new    2020-08-20 16:48:42.125240472 +0200
@@ -2,7 +2,7 @@
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
-# If you want to manage parts of the network configuration staticly,
+# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
@@ -24,19 +24,21 @@
     up route add -net 23.456.210.64 netmask 255.255.255.192 gw 23.456.210.65 dev enp0s31f6
# route 23.456.210.64/26 via 23.456.210.65

+iface enp0s31f6 inet6 static
+    address 2a01:jk8:10a:3b5a::2/64
+    gateway fe80::1
+
auto vmbr0
iface vmbr0 inet static
-    address 34.567.197.208/29
+    address 23.456.210.91/26
     bridge-ports none
     bridge-stp off
     bridge-fd 0
     up ip route add 23.456.210.117/32 dev vmbr0
     up ip route add 23.456.210.123/32 dev vmbr0

-#iface vmbr0 inet static
-#    address 23.456.210.91/26
-#    up ip route add 23.456.210.117/32 dev vmbr0
-#    up ip route add 23.456.210.123/32 dev vmbr0
+iface vmbr0 inet6 static
+    address 2a01:jk8:10a:3b5a::2/64

-auto vmbr1
-iface vmbr1 inet static
-@@ -45,35 +47,30 @@
 -    bridge-stp off
 -    bridge-fd 0

-auto vmbr2
-iface vmbr2 inet static
 -    address 34.567.197.210/29
 -    bridge-ports none
 -    bridge-stp off
 -    bridge-fd 0

-auto vmbr3
-iface vmbr3 inet static
 -    address 34.567.197.211/29
 -    bridge-ports none
 -    bridge-stp off
 -    bridge-fd 0

-auto vmbr4
-iface vmbr4 inet static
-     address 34.567.197.212/29
-     bridge-ports none
-     bridge-stp off
-     bridge-fd 0

-auto vmbr5
-iface vmbr5 inet static
-         address 34.567.197.213/29
-         bridge-ports none
-         bridge-stp off
-         bridge-fd 0

-auto vmbr6
-iface vmbr6 inet static
-         address 34.567.197.214/29
-         bridge-ports none
Have also taken the vmbr1-- vmbr6 out
Shall I apply these changes or change all manually in console?
 
Last edited:
Sure sure, vnc or spice from proxmox hypervisor don't use network to connect to the vm (It's more like you display the monitor/screen of the vm).
it'll work if you don't have any network interfaces in your vm.
Hi,
I wanted to do as Ive been reading from you and tutorials, but in the GUI.
The tool did NOT ALLOW that I use the same IP 23.546.210.99 in the networkcard of server wiht enp0s31f6 also in the Gateway...
your config is a bit confused

please try like described here
https://dominicpratt.de/hetzner-proxmox-network-configuration/

why are you creating vmbr1...5 with an IP assigned out of the subnet ??
Bash:
--- /etc/network/interfaces    2020-08-14 09:34:26.492987171 +0200
+++ /etc/network/interfaces.new    2020-08-19 11:11:38.910875312 +0200
@@ -2,7 +2,7 @@
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
-# If you want to manage parts of the network configuration staticly,
+# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
@@ -24,20 +24,19 @@
     up route add -net 23.456.210.64 netmask 255.255.255.192 gw 23.456.210.65 dev enp0s31f6
# route 23.456.210.64/26 via 23.456.210.65

+iface enp0s31f6 inet6 static
+    address 2a01:4f8:10a:3b5a::2/64
+    gateway fe80::1
+
auto vmbr0
iface vmbr0 inet static
-    address 34.567.197.208/29
+    address 23.456.210.91/26
     bridge-ports none
     bridge-stp off
     bridge-fd 0
     up ip route add 23.456.210.117/32 dev vmbr0
     up ip route add 23.456.210.123/32 dev vmbr0

-#iface vmbr0 inet static
-#    address 23.456.210.91/26
-#    up ip route add 23.456.210.117/32 dev vmbr0
-#    up ip route add 23.456.210.123/32 dev vmbr0
-
auto vmbr1
iface vmbr1 inet static
     address 34.567.197.209/29
@@ -45,35 +44,30 @@
     bridge-stp off
     bridge-fd 0

-auto vmbr2
iface vmbr2 inet static
     address 34.567.197.210/29
     bridge-ports none
     bridge-stp off
     bridge-fd 0

-auto vmbr3
iface vmbr3 inet static
     address 34.567.197.211/29
     bridge-ports none
     bridge-stp off
     bridge-fd 0

-auto vmbr4
iface vmbr4 inet static
     address 34.567.197.212/29
     bridge-ports none
     bridge-stp off
     bridge-fd 0

-auto vmbr5
iface vmbr5 inet static
         address 34.567.197.213/29
         bridge-ports none
         bridge-stp off
         bridge-fd 0

-auto vmbr6
iface vmbr6 inet static
         address 34.567.197.214/29
         bridge-ports none

Logs
 
About number of ip, you need 1 ip by vm if you want to reach them from outside (internet-->vm).
but if you want vm--->internet, you can do nat with only 1 ip.
Hm, I thought more about it. Because ideal would be to reach each VM via any kind of RDP because that is what my goal was also described like, I expected that someone experienced maybe read it and see, there can be a good solution, to deploy IP addresses internally from inside my structure to EACH VM so the VM can be used like a real world PC. They can go out to the net, like surfing, email etc, while that access onto the VM can be done VIA the RDP maybe.
But I think I will then use it like I did in the past (though back then I 've used a bridged way I think), set each PC owner (our employees) as user in Proxmox and let them go over the QEMU. Or?
Any best practices about this method on mind maybe?
I have no time also anymore.
Thanks for all the help!

And @spirit I did write messages you, thought you ignored it till now, while youve asked me to send it... but kay
 
...

If you want, I can help you to configure your node (if you are not yet in production). you can send me a pm on this forum.
Hi. A question: Why did you write this? Which problem occured, that you couldnt , do as told?
 
@ssldn Hi, sorry, I had email notifications problem and didn't see your pm.
I'll respond in your pm
Hi, You've helped me really a lot so far, but the routed setup can become really complicated and I have no more time available.
I will look to post this or that here in the open, in case it can be useful, but I had no final working solution.
Ok, still it can be helpful.

So, I've also listened to your advice and am gonna change to OVH.

Many many thanks so far.
 

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!