From: Dima <dmitry@sakhalin.ru> To: community@altlinux.ru Subject: Re: Re[2]: [Comm] eth0:0 в /etc/sysconfig/network Date: Tue, 1 Jul 2003 08:57:35 +1100 Message-ID: <20030701085735.233e4aa4.dmitry@sakhalin.ru> (raw) In-Reply-To: <20030630225038.4e925451.gosha@zkb.ru> On Mon, 30 Jun 2003 22:50:38 +0600 Igor Solovyov <gosha@zkb.ru> wrote: > Hi! > On Mon, 30 Jun 2003 22:11:33 +0600 > Igor Solovyov <gosha@zkb.ru> wrote: > > > > В моем случае GATEWAYDEV как раз и нужен, если я его > > > уберу то исходящие пакеты будут не от левого адреса > > > (eth0:0) а от адреса eth0, потому что GATEWAY из той-же > > > подсетки что и eth0. > > > > Вы не поняли. Я предлагаю убрать GATEWAYDEV, но оставить > > GATEWAY, т.е. адрес. Попробуйте. Может помочь. > > Звиняюсь. Это я слекга тормознул. :-( > Действительно так не получится. > Тады остается только куда-нибудь прописать > route add default gw.. Если необходимо прописать дополнительные маршруты, пишите в /etc/sysconfig/static-routes WBR, Dmitry Plotnikov >From rcc-of@penza.com.ru Tue Jul 1 05:06:50 2003 Return-Path: <rcc-of@penza.com.ru> Delivered-To: community@lrn.ru Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235]) by lrn.ru (Postfix) with ESMTP id 6908349426 for <community@lrn.ru>; Tue, 1 Jul 2003 05:06:50 +0400 (MSD) Received: from rcc.penza.com.ru (unknown [81.85.14.37]) by master.altlinux.ru (Postfix) with ESMTP id E4F35E31CF for <community@altlinux.ru>; Tue, 1 Jul 2003 05:06:49 +0400 (MSD) Received: from crazy.local (crazy.local [192.168.1.112]) by rcc.penza.com.ru (Postfix) with ESMTP id DBC5AEACA1 for <community@altlinux.ru>; Tue, 1 Jul 2003 05:06:44 +0400 (MSD) Date: Tue, 1 Jul 2003 05:06:55 +0400 From: Oleg Frolkov <rcc-of@penza.com.ru> X-Mailer: The Bat! (v1.53bis) Organization: =?koi8-r?B?7+/vICLyxcfJz87BzNjO2cog68/N0NjA1MXSztnKIOPFztTSIg==?= X-Priority: 3 (Normal) Message-ID: <3662246746.20030701050655@penza.com.ru> To: Dima <community@altlinux.ru> Subject: =?koi8-r?B?UmVbNF06IFtDb21tXSAgZXRoMDowINcgL2V0Yy9zeXNjb25maWcvbmV0d29y?= =?koi8-r?B?aw==?= In-Reply-To: <20030701085735.233e4aa4.dmitry@sakhalin.ru> References: <97118861944.20030628165349@penza.com.ru> <1015008702.20030630131257@penza.com.ru> <20030630225038.4e925451.gosha@zkb.ru> <20030701085735.233e4aa4.dmitry@sakhalin.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.1 Precedence: list Reply-To: community@altlinux.ru List-Id: <community.altlinux.ru> List-Unsubscribe: <http://www.altlinux.ru/mailman/listinfo/community>, <mailto:community-request@altlinux.ru?subject=unsubscribe> List-Archive: </pipermail/community> List-Post: <mailto:community@altlinux.ru> List-Help: <mailto:community-request@altlinux.ru?subject=help> List-Subscribe: <http://www.altlinux.ru/mailman/listinfo/community>, <mailto:community-request@altlinux.ru?subject=subscribe> X-List-Received-Date: Tue, 01 Jul 2003 01:06:50 -0000 Hello Dima, Tuesday, July 01, 2003, 1:57:35 AM, you wrote: >> > > В моем случае GATEWAYDEV как раз и нужен, если я его >> > > уберу то исходящие пакеты будут не от левого адреса >> > > (eth0:0) а от адреса eth0, потому что GATEWAY из той-же >> > > подсетки что и eth0. >> > >> > Вы не поняли. Я предлагаю убрать GATEWAYDEV, но оставить >> > GATEWAY, т.е. адрес. Попробуйте. Может помочь. >> >> Звиняюсь. Это я слекга тормознул. :-( >> Действительно так не получится. >> Тады остается только куда-нибудь прописать >> route add default gw.. D> Если необходимо прописать дополнительные маршруты, пишите в /etc/sysconfig/static-routes Хм.... а Вы пробовали? Я не слишком силен в скриптах поднятия сети - но если в /etc/sysconfig/static-routes написать: eth0 host 192.168.222.222 gw 192.168.1.1 - то оно появляется в роутингах А вот если просто eth0 поменять на eth0:0 то не появляется. Далее. Если например сделать: /etc/sysconfig/network-scripts/ifup-routes eth0:0 то запись в таблице появится. В общем в скриптах сознательно обходится поднятие роутинга на виртуальных интерфейсах. Так что штатными средствами у меня пока не получилось забороть.... только запуском route add default.... в самописном скрипте. -- Best regards, Oleg mailto:rcc-of@penza.com.ru
prev parent reply other threads:[~2003-06-30 21:57 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-06-30 16:11 ` Igor Solovyov 2003-06-30 16:50 ` Igor Solovyov 2003-06-30 21:57 ` Dima [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030701085735.233e4aa4.dmitry@sakhalin.ru \ --to=dmitry@sakhalin.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git