Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using Solaris 10.
I want to change the out going traffic.
Say
Server IP 10.10.10.1
App/DB server IP 10.10.20.1.
New IP of App/DB server 10.10.30.1.
The traffic flow should be like
10.10.10.1 -> 10.10.20.1 -> 10.10.30.1
10.10.20.1 IP is going to change and the Application which is hosted on 10.10.10.1 is pointing to 10.10.20.1 and Apps team do not have the source code.
I am just guessing that you are running an Apache web front-end and that Apache should forward requests to the app-DB server on the back-end. If so, there may be changes that you need to make to your httpd.conf and maybe your tomcat config files.
You can get some idea of what your Apache server is doing by reading the httpd.conf.
Quote:
find / -name httpd.conf
When you find httpd.conf, edit it with vi or nano.
say X is the server ip which sends traffic to another server which has Y IP.
Now we are going to change Y IP with Z.
Application team do not have the source code to update the new Z ip in their code.
Can we do something at OS level so that traffic can be redirected to Z instead of Y ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.