When a database client host have more than one ethernet interface, we must be sure that we use the correct one in pg_hba.conf An idee is to set a variable lan_ipv4_addr with internal network ip address. After we can use ip route get on this ip to discover wich interface was used.
When a database client host have more than one ethernet interface, we must be sure that we use the correct one in pg_hba.conf
An idee is to set a variable lan_ipv4_addr with internal network ip address.
After we can use ip route get on this ip to discover wich interface was used.