LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Routing.

[ILUG] Routing.

Nick Murtagh murtaghn at tcd.ie
Wed Jan 16 15:12:08 GMT 2002


On Wednesday 16 January 2002 14:54, Paul Jakma wrote:
> On Wed, 16 Jan 2002, Nick Murtagh wrote:
> > You need to set up two routing tables, one for each ISP, and then find
> > some way, using netfilter perhaps, to direct packets to the right
> > routing table.
>
> if you can find out how to do that, let me know, cause i'm dealing
> with a very similar (nay identical) setup.

Say we have routers for ISPX and ISPY with IP addresses X and Y.

We source NAT incoming packets to either X or Y. Then return packets
have destination X or Y. What happens when those packets hit the 
firewall?

Scenario A (good)
----------
* Packets forwarded to correct interface because of destination
  address X or Y.
* Source NAT changes X or Y to the original source (and now destination)
  address.

Scenario B (bad)
----------
* Source NAT changes X or Y to the original source (and now destination)
  address.
* Packets forwarded to the incorrect interface because of default root.

In other words, what is the relative order of choosing the interface and
undoing the source NAT?




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell