perlCrazy has asked for the wisdom of the Perl Monks concerning the following question:
want to change the ip address(basically want to use vip) when using DBI connect method. Is there any way to set vip forcibly or set some variable so that on destination side when we check incoming connection, it should see vip(PIP which is not same to real host ip) what we are passing via connect method.
Any help will be appreciated. Thanks.
lo:1 is already configured on hosts. How we can dynamically change outbound traffic for a process from eth -> lo:1.
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 ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to modify source ip address during connection to DB via DBI
by Corion (Patriarch) on Apr 25, 2014 at 06:36 UTC | |
|
Re: How to modify source ip address during connection to DB via DBI ( LocalAddr bind address)
by Anonymous Monk on Apr 25, 2014 at 06:56 UTC | |
by perlCrazy (Monk) on Apr 25, 2014 at 07:41 UTC | |
by Anonymous Monk on Apr 25, 2014 at 07:46 UTC | |
by perlCrazy (Monk) on Apr 25, 2014 at 08:09 UTC | |
by Anonymous Monk on Apr 25, 2014 at 09:10 UTC |