From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS autolearn=no version=3.2.5 X-Injected-Via-Gmane: http://gmane.org/ To: community@lists.altlinux.org From: "Alexei V. Mezin" Date: Thu, 25 Dec 2008 23:42:25 +0300 Message-ID: References: <4950E918.6000800@rambler.ru> <4951FD9B.40605@zaz.zp.ua> <200812242350.42996.jay4mail@gmail.com> <20081225100636.593a2fda@batyrshin.kzn.ieml.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: home-pool4-10.com2com.ru User-Agent: Thunderbird 2.0.0.18 (X11/20081105) In-Reply-To: <20081225100636.593a2fda@batyrshin.kzn.ieml.ru> Sender: news Subject: Re: [Comm] =?koi8-r?b?+sHQ1dPUydTYINTP0tLFztQg3sXSxdogz9DSxcTFzMXO?= =?koi8-r?b?ztnKIMnO1MXSxsXK0z8=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: alexei-mezin@rambler.ru, ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2008 20:42:28 -0000 Archived-At: List-Archive: List-Post: Timur Batyrshin пишет: > On Thu, 25 Dec 2008 00:05:12 +0300 > Alexei V. Mezin wrote: > >> ip rule add from 10.4.181.11 iff akado >> >> где IP -- это адрес медленного интерфейса, а akado его имя >> >> недостаточно? > > У меня (правда на suse, а не на ALT) работает примерно так: > > ip rule add from 192.168.1.1 to 0/0 table 100 > ip route add table 100 default via 192.168.1.254 Нда... не работает. [root@threebears ~]# ip rule add from 10.4.181.11 to 0/0 table 500 Error: an inet prefix is expected rather than "0/0". [root@threebears ~]# ip rule add from 10.4.181.11 to all table 500 [root@threebears ~]# ip route add table 500 default dev akado Но эффекта не оказало.