Hi,
first, I am new to Proxmox and hassle with the networking stuff.
I know, this - or similiar problems - are discussed all over the net but I checked out a lot of tutorials and forum posts like
debianforum.de/forum/viewtopic.php?f=30&t=149440 or
wiki.hetzner.de/index.php/Proxmox_VE#Netzwerkkonfiguration_Gastsystem_OpenVZ or this one:
https://pve.proxmox.com/wiki/Network_Model#Routed_Configuration .
Unfortunately, none of the configurations discussed are working for me or I didn't get it. I think, it's the second reason.... :/
Goal: I want to make all of my VMs and CTs accessible from the internet. Every VM/CT should have its own IP. These IPs are in another net than the main IP of the server.
PVE host has 62.xxx.xxx.99
Netmask 255.255.255.0
Gateway 62.xxx.xxx.1
Additional IPs are from 82.xxx.xxx.10 to 82.xxx.xxx.20
Netmask 255.255.254.0
Gateway 82.xxx.yyy.1
This is my current config of
/etc/network/interfaces (host):
(taken from https://forum.proxmox.com/threads/i...cannot-access-the-internet.36061/#post-176699)
Here, the contetnt of "interfaces" at my test VM (Ubuntu 16.04):
Result: VM can't be reached from the outside nor is the gateway (or any other address) reachable by the VM.
Can someone push me in the right direction, pls?
Thanks a lot.
Edit: To make it more visual, this is what I need to setup:
Isn't that possible?
first, I am new to Proxmox and hassle with the networking stuff.
I know, this - or similiar problems - are discussed all over the net but I checked out a lot of tutorials and forum posts like
debianforum.de/forum/viewtopic.php?f=30&t=149440 or
wiki.hetzner.de/index.php/Proxmox_VE#Netzwerkkonfiguration_Gastsystem_OpenVZ or this one:
https://pve.proxmox.com/wiki/Network_Model#Routed_Configuration .
Unfortunately, none of the configurations discussed are working for me or I didn't get it. I think, it's the second reason.... :/
Goal: I want to make all of my VMs and CTs accessible from the internet. Every VM/CT should have its own IP. These IPs are in another net than the main IP of the server.
PVE host has 62.xxx.xxx.99
Netmask 255.255.255.0
Gateway 62.xxx.xxx.1
Additional IPs are from 82.xxx.xxx.10 to 82.xxx.xxx.20
Netmask 255.255.254.0
Gateway 82.xxx.yyy.1
This is my current config of
/etc/network/interfaces (host):
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto eno2
iface eno2 inet static
address 62.xxx.xxx.99
netmask 255.255.255.0
gateway 62.xxx.xxx.1
post-up echo 1 > /proc/sys/net/ipv4/conf/eno2/proxy_arp
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
auto vmbr0
iface vmbr0 inet static
address 192.168.0.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
Here, the contetnt of "interfaces" at my test VM (Ubuntu 16.04):
Code:
auto lo
iface lo inet loopback
auto ens18
iface ens18 inet static
address 82.xxx.xxx.10
netmask 255.255.254.0
gateway 192.168.0.1
dns-nameservers 4.4.4.4 8.8.8.8
Result: VM can't be reached from the outside nor is the gateway (or any other address) reachable by the VM.
Can someone push me in the right direction, pls?
Thanks a lot.
Edit: To make it more visual, this is what I need to setup:
Code:
Uplink
^
|
|
P V E
IP 62.xxx.xxx.99
|
-------------------
| |
CT VM
82.xxx.xxx.10 82.xxx.xxxx11
Isn't that possible?
Last edited: