From: Igor Solovyov <gosha@zkb.ru> To: community@altlinux.ru Subject: Re: [Comm] KPPP&LAN Date: Mon, 19 May 2003 23:06:27 +0600 Message-ID: <20030519230627.5c5155ad.gosha@zkb.ru> (raw) In-Reply-To: <20030519145133.5d2219d3.sashurik@telecont.ru> Hi! On Mon, 19 May 2003 14:51:33 +0400 Aleksandr Fetininsky <sashurik@telecont.ru> wrote: > А для чего тогда в /etc/sysconfig/network-scripts/ifup-ppp > прописано следующее: > > if [ "$DEFROUTE" != no ] ; then > # pppd will no longer delete an existing default > # so we have to help it out a little here. > route del default >/dev/null 2>&1 Вот этого делать нельзя! Это неправильно! To ALT: Обратите на это внимание! Если в силу каких-либо причин в сети был default gw, его сносить при подьеме ppp нельзя! А если его не было, то эта строка вызовет сообщение об шибке. > opts="$opts defaultroute" > > Или при одновременном наличии и eth0 и ppp0 будут > какие-то нюансы? Да никаких нюансов нет. Просто нужно себе четко представить для чего вам нужен default gw, в то время, когда нет выхода "наружу". Когда Вы это осознаете, тогда и не будет таких вопросов. -- Best regards! Igor Solovyov System/network administrator JSC CB "Zlatkombank"
prev parent reply other threads:[~2003-05-19 17:06 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-05-16 8:44 Красавин Андрей 2003-05-16 10:18 ` Красавин Андрей 2003-05-16 17:43 ` Aleksandr Fetininsky 2003-05-17 1:57 ` Arcady V. Ivanov 2003-05-16 15:25 ` Sergey V Turchin 2003-05-18 5:02 ` Amodeus 2003-05-18 14:49 ` Anton Farygin 2003-05-19 3:29 ` Gosha 2003-05-19 5:12 ` Красавин Андрей 2003-05-19 6:00 ` Борис Ревякин 2003-05-19 10:51 ` Aleksandr Fetininsky 2003-05-19 17:06 ` Igor Solovyov [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=20030519230627.5c5155ad.gosha@zkb.ru \ --to=gosha@zkb.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