assigning ip's to multiple NIC's in a Fedora Core 4 box
Good day. I would like to describe what we are trying to accomplish and get your opinion.
We have one of our servers that has two network connectors. It is running Linux (Fedora Core 4). This is what we are trying to do. - Have IP (example 212.212.212.212) going to one of the NIC’s (which it currently is) running one Tomcat program - Have IP (example 212.212.212.213) going to the other NIC and running a different Tomcat program As formatted above, all the traffic seems to be going over the .12 and nothing going over the .13 address From what we were able to find out on the internet, in order to do this, one of the first three octets of the IP need to be different from each other. We would like to accomplish the following: A – Have both NIC’s operating independent of each other running their respective programs B – Be able to control the flow of data to each IP We set the .13 address using the ifconfig command, but apparently there is more to it than that. If possible, any assistance on this it would be appreciated. |
what is your default route?
|
Why not just run each Tomcat instance on a different port and use Apache w/ JK connector to pass the connections to the appropriate instance based on path prefix? It's relatively easy to setup.
|
and how to do that ?
|
Read the documentation for the JK connector (ie mod_jk).
|
All times are GMT -5. The time now is 12:46 AM. |