Hi
Please consider the following configuration:
Server_1
- Public IP: X.X.X.X
- Local IP: 192.168.150.1 (location A)
Server_2
- Public IP: Y.Y.Y.Y
- Local IP: 192.168.1.1 (location B)
-> Server_1 and Server_2 are not connected through a local network
-> The two IP have no dedicated domain name (and so no named ssl certificated).
So far the /ect/network/interfaces is :
Could you please advice on how to create a cluster with the following configuration ?
Could this work with the current /etc/network/interfaces or do I need to add an interface that uses the public IP ?
Will the two node be able to "see each other" otherwise ?
Thanks for the help
Please consider the following configuration:
Server_1
- Public IP: X.X.X.X
- Local IP: 192.168.150.1 (location A)
Server_2
- Public IP: Y.Y.Y.Y
- Local IP: 192.168.1.1 (location B)
-> Server_1 and Server_2 are not connected through a local network
-> The two IP have no dedicated domain name (and so no named ssl certificated).
So far the /ect/network/interfaces is :
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface enp0s20f0u8u2 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.150.1/24
gateway 192.198.150.254
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vmbr2
iface vmbr2 inet static
address 11.11.11.254
netmask 255.255.255.0
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 '11.11.11.254/24' -o vmbr0 -j MASQUERADE
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t nat -D POSTROUTING -s '11.11.11.254/24' -o vmbr0 -j MASQUERADE
Could you please advice on how to create a cluster with the following configuration ?
Could this work with the current /etc/network/interfaces or do I need to add an interface that uses the public IP ?
Will the two node be able to "see each other" otherwise ?
Thanks for the help
Last edited: