in reply to Re^2: 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

Yeah, this enters the realm of system programming ... firewalls and things like that ... its frequently common for linux and alikes to restrict socket operations for regular users

Also IO::Interface tells you the new/better interface is IO::Interface::Simple

  • Comment on Re^3: How to modify source ip address during connection to DB via DBI ( LocalAddr bind address)

Replies are listed 'Best First'.
Re^4: How to modify source ip address during connection to DB via DBI ( LocalAddr bind address)
by perlCrazy (Monk) on Apr 25, 2014 at 08:09 UTC
    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 ?
      through the magic that is systems programming :) translated, I don't know (ie google it)