in reply to How to modify source ip address during connection to DB via DBI

DBI has no concept of "IP address". If your database driver has such a parameter, maybe it is documented in the documentation of the DBD.

If you want to connect to a host from a multihomed machine and want to specify the source address that is used in a general way, you will have to look at the routing table of the multihomed machine and configure it properly.

  • Comment on Re: How to modify source ip address during connection to DB via DBI