Score:0

Wrong External IP for Real Server Behind Load Balancer

ss flag

I have a hardware load balancer with multiple Virtual IPs. ie (3.3.3.3, 3.3.3.4).

Behind Virtual IP 3.3.3.3 I am load balancing several web servers.

Behind VIP 3.3.3.4 I have a mail server running CentOS.

Unfortunately, when I send out mail, it appears to be coming from VIP 3.3.3.3 rather than 3.3.3.4. Similarly, if I use the dig +short txt ch whoami.cloudflare @1.0.0.1 command, it returns 3.3.3.3.

How can I specify that the server behind VIP 3.3.3.4 actually shows to the world as 3.3.3.4?

Thank you!

Jaromanda X avatar
ru flag
my first thought is that it is some configuration in *a hardware load balancer* - unfortunately it's difficult to get the specs for *a hardware load balancer*
paladin avatar
id flag
It seems your mail server is listening at VIP 3.3.3.4 but sending via the default gateway at VIP 3.3.3.3. At least that's what I understand from your post. Maybe you could enhance your question.
slevytam avatar
ss flag
the mail server gateway is the lan ip of the barracuda load balancer. unfortunately, i can't see any route configuration options in the gui to correct this.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.