ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: ABATAPA <sisyphus@murmansk.net>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] и снова VPN :)
Date: Tue, 25 Oct 2005 11:48:06 +0400
Message-ID: <200510251148.06657.sisyphus@murmansk.net> (raw)
In-Reply-To: <20051025073548.GB21504@dennis.td.tascom.ru>

Вторник 25 Октябрь 2005 11:35, Alexander Vasiliev написал:
> Нужно после поднятия ррр0 интерфейса править таблицу
> маршрутизации. Для этого я использую скрипты /etc/ppp/ip-up.local
> для поднятия маршрутов, и /etc/ppp/ip-down.local для
> восстановления таблицы маршрутизации после окончания
> ррр соединения.
Зачем?! Для этого есть стандартные пути! Зачем городить-то!?
> Вам нужно прописать маршрут на ррр-сервер 10.0.0.8,
> например
> ip route add 10.0.0.8/32 via 10.1.0.3
Для этого есть
/etc/sysconfig/static-routes (net-scripts)
/etc/net/ifaces/eth0/ipv4route (etcnet)
> А маршрут по умолчанию направить на ррр
> ip route add default via 1.1.1.1
Зачем?! Для этого есть опция defaultroute для pppd.


Не нужно городить лишнего там, где все уже и так давно есть.
-- 
ABATAPA


      reply	other threads:[~2005-10-25  7:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-24 18:35 Николай
2005-10-25  7:33 ` ABATAPA
2005-10-25  8:30   ` [sisyphus] " Michael Shigorin
2005-10-25  9:33     ` ABATAPA
2005-10-27 14:50     ` [sisyphus] " ABATAPA
2005-10-25  7:35 ` Alexander Vasiliev
2005-10-25  7:48   ` ABATAPA [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=200510251148.06657.sisyphus@murmansk.net \
    --to=sisyphus@murmansk.net \
    --cc=sisyphus@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git