Re: [LARTC] 3 nic -s, 1 lan, 2 internet connections, ip based routing and gateway problems.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey, Mart:  Please do not post HTML messages.  This is common
            etiquette on mailing lists.  Thank you.

 : Using Multiple Connections to the Internet for Inbound and Outbound
 : Connections and for Outbound traffic Using Multiple Connections to the
 : Internet and seems i need the second one, and this is almost not
 : documented, or maybe i just didn't find examples.

If you read through the outbound traffic section, and digest it, I imagine
that you will see the solution.

 : >Note, that routing and iptables must be synchronized in order for you to
 : >attain the desired result.
 : Synchronized? What You mean?

There are two matters you need to have aligned in order to get the desired
result:

  - routing needs to work correctly, "ip rule" and "ip route" will do this
    for you
  - iptables needs to masquerade/SNAT the IPs to the correct IP addresses

These two have to be synchronized....I'm using the word in its dictionary
definition, not as jargon.

 : Do i need to use MARK in iptables rules?

No.  You should not need this.

 : And can i use iptables route patch
 : http://www.netfilter.org/documentation/pomlist/pom-extra.html#ROUTE ?.

I don't know this patch-o-matic, but I don't believe you will need this.

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@xxxxxxxxxxxxxx



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux