From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sysadmin Date: Thu, 10 Apr 2003 19:53:10 +0000 Subject: Re: [LARTC] 3 nic -s, 1 lan, 2 internet connections, ip based Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/