Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4721

How to bind a new IP address into haproxy.cfg?

$
0
0

Hi Guys,

I have a new server and new ip address that I’d like to configure with HAproxy, here is what it looks like in haproxy.cfg:

frontend my-prod-URL-https
bind 10.23.12.15:443
mode tcp
no log
default_backend prod-myserver01_backend_tcp_ssl

backend prod-myserver01_backend_tcp_ssl
mode tcp
no log
server myserver01.test.local 172.26.12.23:443 check #ssl verify none cookie A

Is this the right configuration?
This IP address 10.23.12.15 is available and never assigned to any host but I still can’t ping it after configured (bind 10.23.12.15:443) it in the HAproxy.cfg. Did I miss any step(s) before binded this ip address?
Both subnets 10.23.12.0/24 and 172.26.12.0/24 are routed with OSPF. Any hosts in these 2 subnets are reachable.

Thanks.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>