Hi,
We've a 3 server Proxmox 4.4 cluster, with one network with public IP's and one with a private IP class.
We have no problem reaching VM's on public IP through vmbr0 on PVE, but one the private IP we can only reach PVE web interfaces and not VM's.
We have added, with the PVE GUI, a second network device (net1) to a VM, bridged to vmbr1, and added on interfaces file of VM a eth1 with the private conf, but without success.
Maybe we have to indicate on iproute table the PVe as gateway instead of the gateway of the network? Or there is some additional configuration to put on interfaces file of PVE to obtain the bridging also on private IP's?
Here below the network config on one of PVE's
Thank's for any help,
Michele
We've a 3 server Proxmox 4.4 cluster, with one network with public IP's and one with a private IP class.
We have no problem reaching VM's on public IP through vmbr0 on PVE, but one the private IP we can only reach PVE web interfaces and not VM's.
We have added, with the PVE GUI, a second network device (net1) to a VM, bridged to vmbr1, and added on interfaces file of VM a eth1 with the private conf, but without success.
Maybe we have to indicate on iproute table the PVe as gateway instead of the gateway of the network? Or there is some additional configuration to put on interfaces file of PVE to obtain the bridging also on private IP's?
Here below the network config on one of PVE's
Code:
auto vmbr0
iface vmbr0 inet static
address XX.85.27.135
netmask 255.255.255.XXX
gateway XX.85.27.129
bridge_ports bond0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.68.135
netmask 255.255.255.0
bridge_ports bond1
bridge_stp off
bridge_fd 0
post-up ip route add 192.168.68.0/24 dev vmbr1 src 192.168.68.135 table rt2
post-up ip route add default via 192.168.68.254 dev vmbr1 table rt2
post-up ip rule add from 192.168.68.135/32 table rt2
post-up ip rule add to 192.168.68.135/32 table rt2
Thank's for any help,
Michele