Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-28-2009, 10:55 AM   #1
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.


Ubuntu server is multi-homed on two networks

A client on the network connects to the server on its eth0 interface,, 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.

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

Rep: Reputation: 124Reputation: 124 You'll need to use iproute2.


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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:10 PM.

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