From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 3 May 2005 15:21:38 +0400 From: Denis Kirienko To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] static route Message-Id: <20050503152138.05faa6cf.dk_for_lists@lmsh.edu.ru> In-Reply-To: <20050503110303.GG12009@regiongarant.ru> References: <20050503100131.GD12009@regiongarant.ru> <20050503140819.47d0f048.dk_for_lists@lmsh.edu.ru> <20050503103312.GE12009@regiongarant.ru> <20050503145442.23cc4a11.dk_for_lists@lmsh.edu.ru> <20050503110303.GG12009@regiongarant.ru> X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Authenticated-Sender: kirienko@lmsh.edu.ru X-Spam-Processed: lmsh.edu.ru, Tue, 03 May 2005 15:24:17 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 83.237.52.143 X-Return-Path: dk_for_lists@lmsh.edu.ru X-MDaemon-Deliver-To: sisyphus@altlinux.ru X-MDAV-Processed: lmsh.edu.ru, Tue, 03 May 2005 15:24:20 +0400 X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 11:22:12 -0000 Archived-At: List-Archive: > > > > > Подскажите, где прописать статические маршруты? Чтобы > > > > > после перезагрузки не писать route add.... > > > > /etc/sysconfig/static-routes > > > нет у меня такого файла :( синтаксис не подскажите? > > $ less /etc/sysconfig/network-scripts/README > sorry, никак не пойму как записать подобную строку: > # route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.2.4 > any net 192.168.0.0 netmask 255.255.255.0 192.168.2.4 eth0 net 192.168.0.0 netmask 255.255.255.0 gw 192.168.2.4 -- Денис