LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-22-2005, 10:43 AM   #1
vinnypie
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
Question 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.
 
Old 11-22-2005, 02:26 PM   #2
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15
what is your default route?
 
Old 11-22-2005, 02:44 PM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
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.
 
Old 11-22-2005, 11:17 PM   #4
anuragsha
LQ Newbie
 
Registered: Nov 2005
Location: INDIA
Distribution: Fedora Core 4
Posts: 9

Rep: Reputation: 0
and how to do that ?
 
Old 11-23-2005, 03:21 PM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Read the documentation for the JK connector (ie mod_jk).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 12:23 PM
assigning multiple ip's to nic ? pingu_penguin Linux - Networking 2 05-14-2005 09:00 PM
Access Mandrake box from Fedora Core 1 box btexpress Linux - Networking 0 05-30-2004 07:50 PM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - General 1 06-19-2003 10:55 AM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 09:50 AM


All times are GMT -5. The time now is 06:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration