Gentoo Archives: gentoo-server

From: Xavier Neys <neysx@g.o>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] how to route outgoing emails through a specific network card or ip
Date: Thu, 17 May 2007 12:48:00
Message-Id: 464C4DFB.60504@gentoo.org
In Reply to: Re: [gentoo-server] how to route outgoing emails through a specific network card or ip by Alex Efros
1 Alex Efros wrote:
2 > Hi!
3 >
4 > On Thu, May 17, 2007 at 02:28:37PM +0200, Xavier Neys wrote:
5 >> ip rule add fwmark 2 table adsl
6 >> ip rule add fwmark 1 table cable
7 >
8 > Your forget to note what names of these tables 'adsl' and 'cable' must be
9 > added to /etc/iproute2/rt_tables, for example:
10 >
11 > echo '1 adsl' >> /etc/iproute2/rt_tables
12 > echo '2 cable' >> /etc/iproute2/rt_tables
13
14 Right.
15
16 Thanks for the reminder,
17 --
18 / Xavier Neys
19 \_ Gentoo Documentation Project
20 /
21 /\ http://www.gentoo.org/doc/en/

Attachments

File name MIME type
signature.asc application/pgp-signature