This is a discussion on binding to network interface ? within the Linux Networking forums, part of the Linux Forums category; Hi all : I have two interfaces on my redhat 7.3 system, eth0 and eth1, eth0 is for general stuff ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all :
I have two interfaces on my redhat 7.3 system, eth0 and eth1, eth0 is for general stuff and eth1:0 , eth1:1 eth1:2 ... is for the web traffic, using apache makes apache send the web traffic from eth0 instead of eth1, what should i do to get the web traffic routed through only the eth1 interface ? asking on the apache news group, tells me it is A OS specific question any suggestions will be appreciated thanks -Jay |
|
|||
|
Jay Krishnan wrote:
> Hi all : > > I have two interfaces on my redhat 7.3 system, eth0 and eth1, eth0 is for general stuff and eth1:0 , eth1:1 eth1:2 ... is for the web traffic, using apache > makes apache send the web traffic from eth0 instead of eth1, > > what should i do to get the web traffic routed through only the eth1 > interface ? > > asking on the apache news group, tells me it is A OS specific question It sounds like you want to set the "Listen" option in your apache httpd.conf file. There may be other parameters as well, though. -- Lew Pitcher, IT Consultant, Application Architecture Enterprise Technology Solutions, TD Bank Financial Group (Opinions expressed here are my own, not my employer's) |
|
|||
|
On Thu, 23 Oct 2003 17:59:13 +0000 (UTC), Jay Krishnan
<krishnan@bayou.uh.edu> wrote: >Hi all : > >I have two interfaces on my redhat 7.3 system, eth0 and eth1, > eth0 is for general stuff and eth1:0 , > eth1:1 eth1:2 ... is for the web traffic, using apache >makes apache send the web traffic from eth0 instead of eth1, > >what should i do to get the web traffic routed through only the eth1 >interface ? > >asking on the apache news group, tells me it is A OS specific question You have not fully explained what you are trying to do here with the 2 cards, so I will propose a WAG: Look up references to the iproute2 commands. With these commands, you can force packets to go out of the appropriate interface according to their source IP address and many other things. This may provide your solution. Check out this web page: http://www.ssi.bg/~ja/nano.txt Like I said, I'm just taking a WAG at what the problem is. What I have written may be totally irrelevent to your problem! |
|
|||
|
"Jay Krishnan" <krishnan@bayou.uh.edu> wrote in message news:bn94th$4us7$1@masala.cc.uh.edu... > Hi all : > > I have two interfaces on my redhat 7.3 system, eth0 and eth1, eth0 is for general stuff and eth1:0 , eth1:1 eth1:2 ... is for the web traffic, using apache > makes apache send the web traffic from eth0 instead of eth1, > > what should i do to get the web traffic routed through only the eth1 > interface ? Routing and binging are different things. If your default route is via eth0, and you have no other routes, than that is why the packets go out through eth0. Why didnt you make the eth1:1 eth1:2 etc, actually be eth0:1 ? eth0:2 ???? You can try finding out how to add routes that specfiy the source address (port) and route out to the gateway via eth1. This is routing by source. |