From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Alexander Bokovoy To: mandrake-russian@linuxteam.iplabs.ru Subject: Re: Re[4]: [mdk-re] NAT??? Message-ID: <20010109161946.C2515@avilink.net> Mail-Followup-To: mandrake-russian@linuxteam.iplabs.ru References: <1004926243.20010103143831@mail.ru> <1601663211.20010104151432@mail.ru> <20010104150320.C2150@avilink.net> <1113473814.20010109162336@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <1113473814.20010109162336@mail.ru>; from lenyak@mail.ru on Tue, Jan 09, 2001 at 04:23:36PM +0300 Sender: mandrake-russian-admin@linuxteam.iplabs.ru Errors-To: mandrake-russian-admin@linuxteam.iplabs.ru X-BeenThere: mandrake-russian@linuxteam.iplabs.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@linuxteam.iplabs.ru List-Help: List-Post: List-Subscribe: , List-Id: Mandrake/RE discussion list List-Unsubscribe: , List-Archive: Date: Tue Jan 9 17:18:00 2001 X-Original-Date: Tue, 9 Jan 2001 16:19:46 +0200 Archived-At: List-Archive: On Tue, Jan 09, 2001 at 04:23:36PM +0300, Lenya Khachaturov wrote: > Hello Alexander, > > Thursday, January 04, 2001, 4:03:20 PM, you wrote: > > AB> И читать, читать, читать про утилиты ip и tc. > > Так-с... Advanced Routing включен, доки почитал, пробую следующее: > Поднимаю ppp0, получаю ip x.x.x.x, делаю > ip rule add from 192.168.0.2 nat x.x.x.x > ip route add nat x.x.x.x via 192.168.0.2 > > 192.168.0.2 это адрес клиента > ip отвечает: RTNETLINK: No such device > > Что это значит? Не верьте документации, в которой написано, что dev ppp0 можно опускать при указании команд в ip -- неправда, нужно обязательно писать. -- Sincerely yours, Alexander Bokovoy The Midgard Project | www.midgard-project.org | Aurora R&D team Minsk Linux Users Group | www.minsk-lug.net | www.aurora-linux.com IPLabs Linux Team | linux.iplabs.ru | Architecte Open Source -- Try to be the best of whatever you are, even if what you are is no good.