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]

 



Hello

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

Sorry, I usually use Netscape newsreader, but this is mail based group, so I did set Eudora to use plain text.


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

Good to know that its possible, so I give a try.


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.

Ok, my english is not so good, thanks for explaining. Seems I understand the all thing wrong, I tried to make rules for both interfaces, but I need to let main eth0 as it is (default route) and make routing & iptables rules according to new eth2 interface and second group internal eth1 selected ip -s only.






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