LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-28-2009, 10:55 AM   #1
BoarderX
LQ Newbie
 
Registered: Jul 2004
Posts: 25

Rep: Reputation: 15
Preventing asynchronous routing on multi-homed server


Good day!

I've run into a hurdle I'm trying to get over, hoping someone can provide some extra insight.

Scenario//

Ubuntu server is multi-homed on two networks
eth0: 10.1.1.0/24
eth1: 10.1.2.0/24

A client on the 10.1.2.0/24 network connects to the server on its eth0 interface, 10.1.1.0/24, but the server replies back on its eth1 interface directly to the client since it is the best route path.

There is a hardware firewall between the two networks that deny's this traffic as a non-stateful connection, as it should.

How can you define a route statement that says any traffic destined for the eth0 interface, is replied back by the eth0 gateway, rather than directly to the client by the eth1 interface.

The challenge is there are also cases where the client needs to be able to reach the server by it's eth1 interface, where it should be replied to directly from its eth1 interface. Provided that, a default route to the eth0 gateway will not work as it causes a asynchronous routing condition in the opposite direction when the client connects to the eth1 interface.

Any help would be greatly appreciated. I'm hoping this is much more simple than it has been made out to be on this end.


Regards,
 
Old 01-29-2009, 12:56 PM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,094
Blog Entries: 2

Rep: Reputation: 111Reputation: 111
http://lartc.org/howto/ You'll need to use iproute2.
 
  


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
Private web server for multi-homed machine smithsa Linux - Networking 1 06-04-2006 03:05 AM
Multi homed gateway nukenstien Linux - Networking 4 02-10-2005 10:07 AM
Linux Routing to Multi-Homed Host MightyCranium Linux - Networking 0 03-16-2004 05:14 PM
how do multi routing for email server? masroor Linux - Networking 1 12-02-2003 08:37 AM
Proper Solution for Multi-Homed IP ytene Mandriva 0 08-25-2003 06:14 AM


All times are GMT -5. The time now is 02:48 AM.

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