in reply to Re^3: How to modify source ip address during connection to DB via DBI ( LocalAddr bind address)
in thread How to modify source ip address during connection to DB via DBI

Actually it lo:1 is already set. How we can dynamically change outbound traffic for that process.
example: have one perl program, using dbi->connect() method for connection to RDBMS. once connection gets established if check incoming connection on db host,it always sees real host ip address. my requirement is to change the routing via lo:1 dynamically in program so that it will see vip ip address. any possibility ?
  • Comment on Re^4: How to modify source ip address during connection to DB via DBI ( LocalAddr bind address)

Replies are listed 'Best First'.
Re^5: How to modify source ip address during connection to DB via DBI ( LocalAddr bind address)
by Anonymous Monk on Apr 25, 2014 at 09:10 UTC
    through the magic that is systems programming :) translated, I don't know (ie google it)