Networking Forums

Networking Forums > Computer Networking > Linux Networking > binding to network interface ?

Reply
Thread Tools Display Modes

binding to network interface ?

 
 
Jay Krishnan
Guest
Posts: n/a

 
      10-23-2003, 05:59 PM
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
 
Reply With Quote
 
 
 
 
Lew Pitcher
Guest
Posts: n/a

 
      10-23-2003, 06:17 PM
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)

 
Reply With Quote
 
Joe Dunning
Guest
Posts: n/a

 
      10-23-2003, 07:25 PM
On Thu, 23 Oct 2003 17:59:13 +0000 (UTC), Jay Krishnan
<(E-Mail Removed)> 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!

 
Reply With Quote
 
Leon The Peon
Guest
Posts: n/a

 
      10-23-2003, 08:18 PM

"Jay Krishnan" <(E-Mail Removed)> wrote in message
news:bn94th$4us7$(E-Mail Removed)...
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SNMP Interface Binding Skispcs Windows Networking 6 08-17-2007 06:18 AM
Binding DHCP Scope to Network Will Windows Networking 7 06-29-2006 01:11 PM
service binding to wrong interface epicwinter@hotmail.com Linux Networking 0 03-12-2006 12:14 AM
Binding RIS to an IP/Interface Stian Øvrevåge Windows Networking 0 05-11-2005 08:18 AM
Network Binding server error Sharryn Wireless Networks 0 01-17-2005 08:11 PM



1 2 3 4 5 6 7 8 9 10 11