Hello! My idea was to create home lab with OpenShift but I found issues with Proxmox Networking and Routing.
Setup looks following:
-----------
Home network: 10.10.10.[x]
Proxmox Server: 10.10.10.122
Home PC: 10.10.10.108
TP Link Router: 10.10.10.1
-----------
bastion: (jump host in two networks) 192.168.70.4 and 10.10.10.111
services: (DNS bind, haproxy) 192.168.70.5
master0: 192.168.70.11
master1: 192.168.70.12
master2: 192.168.70.13
worker1: 192.168.70.14
-----------
Goal: Access OpenShift Console Web Page from Home PC. How to achieve that?
What I tried so far?
Routing on the TP Link Router level.
With the following routing setup I was able to ping only bastion. When I tried to ping other VMs like services or master0 I received timeout.
My network setup from proxmox server:
Any ideas?
Setup looks following:
-----------
Home network: 10.10.10.[x]
Proxmox Server: 10.10.10.122
Home PC: 10.10.10.108
TP Link Router: 10.10.10.1
-----------
bastion: (jump host in two networks) 192.168.70.4 and 10.10.10.111
services: (DNS bind, haproxy) 192.168.70.5
master0: 192.168.70.11
master1: 192.168.70.12
master2: 192.168.70.13
worker1: 192.168.70.14
-----------
Goal: Access OpenShift Console Web Page from Home PC. How to achieve that?
What I tried so far?
Routing on the TP Link Router level.
Destination IP Address | Subnet Mask | Gateway | Status |
---|
192.168.70.0 | 255.255.255.0 | 10.10.10.111 | Enabled | Edit |
My network setup from proxmox server:
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto eno2
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.10.10.122/24
gateway 10.10.10.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.70.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.70.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.70.0/24' -o vmbr0 -j MASQUERADE
Any ideas?