Hi everyone,
I have trouble getting internet access to my VM's inside of proxmoxVE.
I have Contabo Dedicated server with one main and one additional IP.
I want to use one IP to access my proxmox host, and other one for pfsense, and then put all VM's behind pfSense.
Problem is my IP's do not have same gateway, and I can only configure one gateway.
HOST IP: 5.189.xx.xx/24
HOST GW: 5.189.xx.1
ADDITIONAL IP: 173.249.xx.xx/24
ADDITIONAL GW: 173.249.XX.1
--------------------------------------------------------------
This is my current configuration:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 5.189.xx.xx/24
gateway 5.189.xx.1
auto eth1
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address 173.249.xx.xx/24
bridge-ports none
bridge-stp off
bridge-fd 0
up route add -net 173.249.xx.xx netmask 255.255.255.0 dev vmbr0
up ip route add 5.189.xx.xx/24 dev vmbr0
## I use vmbr1 as LAN network and attach it to pfSense as LAN interface, and later on every VM as LAN
auto vmbr1
iface vmbr1 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
I cant figure out correct configuration , and if I change anything on eth0, or even assing bridge to that interface, I lose access to my host.
Where am I making a mistake, do I need to add MAC address to vmbr0 maybe.
On pfSense I choose for the wan interface, static ipv4 configuration with gateway, but no internet on pfSense.
Thank you
I have trouble getting internet access to my VM's inside of proxmoxVE.
I have Contabo Dedicated server with one main and one additional IP.
I want to use one IP to access my proxmox host, and other one for pfsense, and then put all VM's behind pfSense.
Problem is my IP's do not have same gateway, and I can only configure one gateway.
HOST IP: 5.189.xx.xx/24
HOST GW: 5.189.xx.1
ADDITIONAL IP: 173.249.xx.xx/24
ADDITIONAL GW: 173.249.XX.1
--------------------------------------------------------------
This is my current configuration:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 5.189.xx.xx/24
gateway 5.189.xx.1
auto eth1
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address 173.249.xx.xx/24
bridge-ports none
bridge-stp off
bridge-fd 0
up route add -net 173.249.xx.xx netmask 255.255.255.0 dev vmbr0
up ip route add 5.189.xx.xx/24 dev vmbr0
## I use vmbr1 as LAN network and attach it to pfSense as LAN interface, and later on every VM as LAN
auto vmbr1
iface vmbr1 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
I cant figure out correct configuration , and if I change anything on eth0, or even assing bridge to that interface, I lose access to my host.
Where am I making a mistake, do I need to add MAC address to vmbr0 maybe.
On pfSense I choose for the wan interface, static ipv4 configuration with gateway, but no internet on pfSense.
Thank you