Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-22-2005, 11:43 AM
|
#1
|
LQ Newbie
Registered: Nov 2005
Posts: 1
Rep:
|
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.
|
|
|
11-22-2005, 03:26 PM
|
#2
|
Member
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140
Rep:
|
what is your default route?
|
|
|
11-22-2005, 03:44 PM
|
#3
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
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.
|
|
|
11-23-2005, 12:17 AM
|
#4
|
LQ Newbie
Registered: Nov 2005
Location: INDIA
Distribution: Fedora Core 4
Posts: 9
Rep:
|
and how to do that ?
|
|
|
11-23-2005, 04:21 PM
|
#5
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
Read the documentation for the JK connector (ie mod_jk).
|
|
|
All times are GMT -5. The time now is 03:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|