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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-22-2005, 10: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, 02: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, 02: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-22-2005, 11:17 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2005
Location: INDIA
Distribution: Fedora Core 4
Posts: 9
Rep:
|
and how to do that ?
|
|
|
|
11-23-2005, 03: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).
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:37 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
|
|