I apologize if this is a really dumb question.
Objective
Ensure that traffic that is meant to go between nodes in a cluster does not (inefficiently) go outside the cluster and then come back in, but goes directly between nodes.
Background
We are using external IP addresses when making requests that are intended to go between nodes.
The current architecture looks like this:
Verizon FIOS ISP (Business, multiple static IPs) | | Verizon FIOS Router (Actiontec MI424WR) (Configured by forwarding external IPs to internal IPs using Static NAT) | | Managed Swtich (Dlink DGS-1100-24) | | | | | | | | Node1 Node2 ... Node(n)
Each node is running Linux Centos and is configured with an internal IP address (192.168.1.xxx)
The router is configured to route the external IP address that is assigned to each Node to the Node's internal IP address using Static NAT.
Concerns
- Can/Should I configure forwarding from external IP addresses to internal IP addresses in the switch?
- With the current configuration is the traffic between nodes getting directed to the correct node at the level of the switch, the router, or going all the way out to a DNS server or something?
- Considering that the router also converts the signal from the coaxial cable to ethernet, should I be using Static NAT or somehow configuring the Nodes themselves to have their external IP addresses. disregarding the need for internal IP addresses completely?
- Is there something completely different that I should be doing instead, or something else fundamentally wrong with this architecture?
Thanks so much!